We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6921fb commit 8410604Copy full SHA for 8410604
content/notes/Ebuild_Snapshots.md
@@ -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