diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-07-28 17:38:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-08-02 00:04:00 +0200 |
commit | 59a16275189f55ddd692b0ea5b415c706fa1fd69 (patch) | |
tree | a4df38ed0673dc57da7cd168092b2f25feb7492f /guix/tests.scm | |
parent | 7441f1dbd77b09f6170858795bc7deea6280b972 (diff) |
pull: Fetch source code from Git.
* guix/scripts/pull.scm (%snapshot-url, with-environment-variable)
(with-PATH): Remove.
(ensure-guile-git!): New procedure.
(%repository-url): New variable.
(%default-options): Add 'repository-url' and 'ref'.
(show-help, %options): Add '--commit' and '--url'.
(temporary-directory, first-directory, interned-then-deleted)
(unpack): Remove.
(build-from-source): Rename 'tarball' to 'source'. Remove call to
'unpack'.
(build-and-install): Rename 'tarball' to 'source'.
(honor-lets-encrypt-certificates!, report-git-error): New procedures.
(with-git-error-handling): New macro.
(guix-pull)[fetch-tarball]: Remove.
Wrap body in 'with-git-error-handling'. Rewrite to use
'latest-repository-commit'.
* build-aux/build-self.scm (build): Print an error message and exit when
GUILE-GIT is #f.
* doc/guix.texi (Invoking guix pull): Mention Git. Document '--commit'
and '--branch'.
Diffstat (limited to 'guix/tests.scm')
0 files changed, 0 insertions, 0 deletions