me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
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 maint: Add "make check-channel-news". 2020-05-22 00:35:23 +02:00
check-final-inputs-self-contained.scm Remove most references to hydra.gnu.org. 2018-12-04 10:57:56 +01:00
compile-all.scm build: Cap build parallelism on i686. 2020-04-12 00:00:59 +02:00
compile-as-derivation.scm compile-as-derivation: Adjust %load-compiled-path. 2018-09-02 15:43:51 +02:00
generate-authors.scm build: Generate 'AUTHORS'. 2015-07-06 19:00:19 +03:00
git-version-gen build: Use Gnulib's 'git-version-gen'. 2017-05-04 23:51:45 +02:00
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 build: 'test-driver.scm' prints Scheme values with 'write'. 2017-03-22 15:02:33 +01:00
test-env.in build: Remove references to 'NIX_LOCALSTATE_DIR'. 2019-10-16 22:53:40 +02:00
update-NEWS.scm maint: update-NEWS: Track "gcc-toolchain", not "gcc". 2019-05-20 11:50:21 +02:00
update-guix-package.scm maint: update-guix-package: Prevent accidentally breaking guix pull. 2020-10-19 14:02:53 -04:00