From 74febb7121d5e54cd388ab4e8176c8774ffcd438 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 28 Feb 2022 14:15:53 +0530 Subject: 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)[]: Document that the repository-branch field is unused. --- doc/forge.skb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') 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" ' (record-field "name" [Name of the job]) -- cgit v1.2.3