aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArun Isaac2022-02-28 14:15:53 +0530
committerArun Isaac2022-02-28 18:10:05 +0530
commit74febb7121d5e54cd388ab4e8176c8774ffcd438 (patch)
treeb1327a7de10e9e554fa178e20bb6cc73e55f2e01 /doc
parent8b900587e7e4334170191aec22b117034f4c39ed (diff)
downloadguix-forge-74febb7121d5e54cd388ab4e8176c8774ffcd438.tar.gz
guix-forge-74febb7121d5e54cd388ab4e8176c8774ffcd438.tar.lz
guix-forge-74febb7121d5e54cd388ab4e8176c8774ffcd438.zip
forge: Clone the default branch, not any specific branch.
* forge/build/git.scm (download-git-to-store): Demote branch to optional keyword argument. * forge/forge.scm (derivation-job-gexp): Do not pass the branch argument to download-git-to-store. * doc/forge.skb (Reference)[<forge-project>]: Document that the repository-branch field is unused.
Diffstat (limited to 'doc')
-rw-r--r--doc/forge.skb3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/forge.skb b/doc/forge.skb
index 59640a6..aaf74f3 100644
--- a/doc/forge.skb
+++ b/doc/forge.skb
@@ -98,7 +98,8 @@ specified ,a cron job triggers the CI jobs once a day.]))]
:default [,(code ['post-receive-hook]) for local repositories
and ,(code ['cron]) for remote repositories])
(record-field "repository-branch"
- [Main branch of the repository]))
+ [Main branch of the repository. This field is currently
+unused unused, and may be deprecated in the future.]))
(record-documentation "forge/laminar.scm" '<forge-laminar-job>
(record-field "name"
[Name of the job])