guix/build-aux
Maxim Cournoyer 3de898b43c
maint: update-guix-package: Optionally add sources to store.
Following discussions in <https://issues.guix.gnu.org/43893>, keeping a copy
of the updated package source is desirable when generating a release.

* build-aux/update-guix-package.scm (version-controlled?): Remove variable.
(call-with-temporary-git-worktree): Renamed from
'with-temporary-git-worktree'.  Update doc.  Do not change directory
implicitly.  Define as a procedure, not a syntax.
(keep-source-in-store): New procedure.
(main): Adjust to use with call-with-temporary-git-worktree.  Add the sources
to the store when GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT is set.  Exit gracefully
when FIND-ORIGIN-REMOTE returns #f.
(%savannah-guix-git-repo-push-url-regexp): Adjust match for a potential colon
separator.
* Makefile.am (GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT): Adjust.
* .dir-locals.el (scheme-mode): Remove entry for with-temporary-git-worktree.
* doc/contributing.texi (Updating the Guix Package): Update doc.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-11-12 09:23:27 -05: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
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: Optionally add sources to store. 2020-11-12 09:23:27 -05:00
update-NEWS.scm