guix/doc
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
..
images doc: Update 'Bootstrapping' for further binary seed reduction. 2020-05-22 16:11:52 +02:00
build.scm doc: Produce stylable HTML for @deftp, @deffn, etc. 2020-10-19 13:28:38 +02:00
contributing.texi maint: update-guix-package: Prevent accidentally breaking guix pull. 2020-10-19 14:02:53 -04:00
environment-gdb.scm
fdl-1.3.texi doc: Use HTTPS for external links. 2020-03-10 20:26:52 +01:00
guix-cookbook.texi doc: cookbook: Balance parens in custom kernel examples. 2020-10-17 22:40:18 +02:00
guix.texi doc: Fix typo. 2020-10-17 22:40:18 +02:00
htmlxref.cnf doc: Update htmlxref.cnf. 2020-01-12 00:19:10 +01:00
local.mk doc: Update 'Bootstrapping' for further binary seed reduction. 2020-05-22 16:11:52 +02:00
package-hello.json doc: Document building and installing from JSON files. 2020-04-16 23:41:52 +02:00
package-hello.scm