5800d2aae2
Fixes <https://issues.guix.gnu.org/43893>. This changes the 'update-guix-package' tool so that it: 1. Always uses a clean checkout to compute the hash of the updated 'guix' package. 2. Ensures the commit used in the updated 'guix' package definition has already been pushed upstream. * build-aux/update-guix-package.scm (%savannah-guix-git-repo-push-url): New variable. (with-input-pipe-to-string, with-temporary-git-worktree): New syntaxes. (find-origin-remote, git-add-worktree): New procedures. (commit-already-pushed?): New predicate. (main): Check the commit used has already been pushed upstream and compute the hash from a clean checkout. * doc/contributing.texi (Updating the Guix Package): Document it. * .dir-locals.el (scheme-mode): Fix indentation of with-temporary-git-worktree. |
||
---|---|---|
.. | ||
cuirass | ||
hydra | ||
build-self.scm | ||
check-channel-news.scm | ||
check-final-inputs-self-contained.scm | ||
compile-all.scm | ||
compile-as-derivation.scm | ||
generate-authors.scm | ||
git-version-gen | ||
gitlog-to-changelog | ||
pre-inst-env.in | ||
test-driver.scm | ||
test-env.in | ||
update-guix-package.scm | ||
update-NEWS.scm |