guix-play/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 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 build: Add `gitlog-to-changelog'. 2013-05-12 22:41:11 +02:00
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-guix-package.scm maint: update-guix-package: Optionally add sources to store. 2020-11-12 09:23:27 -05:00
update-NEWS.scm maint: update-NEWS: Track "gcc-toolchain", not "gcc". 2019-05-20 11:50:21 +02:00