mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-26 19:11:46 +02:00
transformations: Git tags and 'git describe' style IDs are used as version.
* guix/transformations.scm (commit->version-string): New procedure. Use git
tags and 'git describe' style identifiers directly.
(transform-package-source-commit): Adjust accordingly.
* tests/transformations.scm
("options->transformation, with-commit, version transformation"): New test.
* doc/guix.texi (Package Transformation Options): Mention the 'git describe'
style.
This commit is contained in:
+2
-1
@@ -10652,7 +10652,8 @@ guix build --with-branch=guile-sqlite3=master cuirass
|
||||
@item --with-commit=@var{package}=@var{commit}
|
||||
This is similar to @option{--with-branch}, except that it builds from
|
||||
@var{commit} rather than the tip of a branch. @var{commit} must be a valid
|
||||
Git commit SHA1 identifier or a tag.
|
||||
Git commit SHA1 identifier, a tag, or a @command{git describe} style
|
||||
identifier such as @code{1.0-3-gabc123}.
|
||||
|
||||
@item --with-patch=@var{package}=@var{file}
|
||||
Add @var{file} to the list of patches applied to @var{package}, where
|
||||
|
||||
Reference in New Issue
Block a user