Skip to content

Commit 8410604

Browse files
committed
Add the "Ebuild: Snapshots" page.
1 parent d6921fb commit 8410604

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

content/notes/Ebuild_Snapshots.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
+++
2+
title = "Ebuild: Snapshots"
3+
+++
4+
5+
There are two ways to name an ebuild which packages a snapshot version of a source repository:
6+
7+
1. `${last_released_version}_pYYYYMMDD`: treat the snapshot as a patch to the last released version.
8+
9+
2. `${upcoming_version}_preYYYYMMDD`: treat the snapshot as a prerelease of an upcoming version.
10+
11+
It's common to assume `$upcoming_version` to be `0` or `0.0.1` for repositories without tags.
12+
13+
See [Gentoo Devmanual: Snapshots and live ebuilds](https://devmanual.gentoo.org/ebuild-writing/file-format/index.html#snapshots-and-live-ebuilds).

0 commit comments

Comments
 (0)