summaryrefslogtreecommitdiff
path: root/guix/build/git.scm
Commit message (Collapse)AuthorAge
* git-download: Use 'invoke'.Ludovic Courtès2019-01-06
| | | | | * guix/build/git.scm (git-fetch): Use 'invoke' instead of 'system*' for "git submodule update".
* git-download: 'git-fetch' really returns #f upon error.Ludovic Courtès2019-01-06
| | | | | | | | | | | This allows the fallback code in (guix git-download) to actually run. Regression introduced in commit 329dabe13bf98b899b907b45565434c5140804f5. Fixes <https://bugs.gnu.org/33911>. Reported by Björn Höfling <bjoern.hoefling@bjoernhoefling.de>. * guix/build/git.scm (git-fetch): Guard against 'invoke-error?' and really return #f upon failure.
* git-download: Print a message when falling back to a full fetch.Maxim Cournoyer2018-10-28
| | | | | | | | | Otherwise the user might believe that git-fetch stalled, observing the lack of output following a 'fatal' git error message (see: https://debbugs.gnu.org/33100). * guix/build/git.scm (git-fetch): Print message when falling back to a full fetch.
* git-download: Fetch only the required commit, if possible.Danny Milosavljevic2018-03-04
| | | | * guix/build/git.scm (git-fetch): Fetch only the required commit, if possible.
* git-download: Correctly implement recursive checkouts.Ludovic Courtès2016-01-05
| | | | | | | | | Previously, the 'git checkout' invocation would remove sub-modules that had been initialized by 'git clone --recursive'. * guix/build/git.scm (git-fetch): Never use "git clone --recursive". Invoke "git submodule update --init --recursive" after "git checkout". Remove '.git' directories as the last step.
* git-download: Support recursive clones.Ludovic Courtès2014-06-27
| | | | | | | | | | * guix/git-download.scm (<git-reference>)[recursive?]: New field. (git-fetch): Add 'inputs' variable. Add it to the #:inputs argument of 'build-expression->derivation'. Augment builder with call to 'set-path-environment-variable', and pass #:recursive? to 'git-fetch'. * guix/build/git.scm (git-fetch): Add #:recursive? parameter. Pass --recursive when RECURSIVE? is true, and delete all the '.git' files.
* git-download: Disable TLS certificate verification.Ludovic Courtès2014-05-08
| | | | * guix/build/git.scm (git-fetch): Add 'setenv' call.
* Add (guix git-download).Ludovic Courtès2014-02-21
* guix/git-download.scm, guix/build/git.scm: New files. * Makefile.am (MODULES): Add them. * guix/packages.scm (<origin>): Fix comment for 'method' field.