guix/build-aux
Maxim Cournoyer 5800d2aae2
maint: update-guix-package: Prevent accidentally breaking guix pull.
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.
2020-10-19 14:02:53 -04:00
..
cuirass cuirass: Add hurd-manifest. 2020-10-04 14:04:14 +02:00
hydra ci: Add log and outputs keys. 2020-10-01 18:39:41 +02:00
build-self.scm Use "guile-zlib" and "guile-lzlib" instead of (guix config). 2020-08-24 13:35:24 +02:00
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 build: Remove references to the 'nix-hash' program. 2020-08-29 16:24:17 +02:00
test-driver.scm
test-env.in
update-guix-package.scm maint: update-guix-package: Prevent accidentally breaking guix pull. 2020-10-19 14:02:53 -04:00
update-NEWS.scm