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
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-NEWS.scm
update-guix-package.scm maint: update-guix-package: Optionally add sources to store. 2020-11-12 09:23:27 -05:00