[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
170/172: build/go: fix-embed-files: Adjust procedure docstring.
From: |
guix-commits |
Subject: |
170/172: build/go: fix-embed-files: Adjust procedure docstring. |
Date: |
Sat, 9 Nov 2024 16:45:15 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 07c00e13eb910ea746cb52696227b1f97d4aafe4
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Sep 26 19:57:23 2024 +0100
build/go: fix-embed-files: Adjust procedure docstring.
This is a follow up adjustment, proposed by Maxim Cournoyer
<maxim.cournoyer@gmail.com> in <https://issues.guix.gnu.org/73299>.
* guix/build/go-build-system.scm (fix-embed-files): Improve the grammar
and style, and provide a URL to the raw source file for reference.
Change-Id: I78824b92d70a2431f61d11e8737bca6a2ddea3fa
---
guix/build/go-build-system.scm | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/guix/build/go-build-system.scm b/guix/build/go-build-system.scm
index 14cb5ae687..e53d8cb53c 100644
--- a/guix/build/go-build-system.scm
+++ b/guix/build/go-build-system.scm
@@ -205,16 +205,18 @@ dependencies, so it should be self-contained."
#t)
(define* (fix-embed-files #:key embed-files #:allow-other-keys)
- "Golang can't determine the valid directory of the module of embed file
-which is symlinked during setup environment phase, but easy resolved after
-coping file from the store to the build directory of the current package. Take
-a list of files or regexps matching files from EMBED-FILES paramter, failover
-to 'editions_defaults.binpb' which is a part of <github.com/golang/protobuf>."
- ;; see details in Golang source:
+ "Golang cannot determine the valid directory of the module of an embed file
+which is symlinked during setup environment phase, but easily resolved after
+copying the file from the store to the build directory of the current package.
+Take a list of files or regexps matching files from EMBED-FILES parameter,
+fail over to 'editions_defaults.binpb' which is a part of
+<github.com/golang/protobuf>."
+ ;; For the details, consult the Golang source:
;;
- ;; - URL: <https://github.com/golang/go/blob/>
+ ;; - URL: <https://raw.githubusercontent.com/golang/go/>
;; - commit: 82c14346d89ec0eeca114f9ca0e88516b2cda454
- ;; - file: src/cmd/go/internal/load/pkg.go#L2059
+ ;; - file: src/cmd/go/internal/load/pkg.go
+ ;; - line: 2059
(let ((embed-files (format #f "^(~{~a|~}~a)$"
embed-files
"editions_defaults.binpb")))
- 124/172: gnu: go-github-com-matttproud-golang-protobuf-extensions-v2: Fix build., (continued)
- 124/172: gnu: go-github-com-matttproud-golang-protobuf-extensions-v2: Fix build., guix-commits, 2024/11/09
- 130/172: gnu: Add go-github-com-aead-ecdh., guix-commits, 2024/11/09
- 132/172: gnu: go-github-com-aead-chacha20: Fix indentation., guix-commits, 2024/11/09
- 116/172: gnu: Add go-msgp., guix-commits, 2024/11/09
- 125/172: build/go: Replace symlinks with a copy of the file., guix-commits, 2024/11/09
- 122/172: gnu: go-github-com-nbrownus-go-metrics-prometheus: Fix build., guix-commits, 2024/11/09
- 131/172: gnu: go-github-com-aead-chacha20: Update to 0.0.0-20180709150244-8b13a72661da., guix-commits, 2024/11/09
- 128/172: gnu: go-github-com-deckarep-golang-set-v2: Update to 2.6.0., guix-commits, 2024/11/09
- 134/172: gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all tests., guix-commits, 2024/11/09
- 111/172: gnu: Add go-github-com-ryanuber-columnize., guix-commits, 2024/11/09
- 170/172: build/go: fix-embed-files: Adjust procedure docstring.,
guix-commits <=
- 171/172: gnu: go-1.22: Update to 1.22.7., guix-commits, 2024/11/09
- 148/172: gnu: trezord: Refresh package style., guix-commits, 2024/11/09
- 146/172: gnu: Add go-github-com-prometheus-community-pro-bing., guix-commits, 2024/11/09
- 145/172: gnu: go-github-com-sevlyar-go-daemon: Move to golang-xyz., guix-commits, 2024/11/09
- 141/172: gnu: go-github-com-smartystreets-goconvey: Update to v1.8.1., guix-commits, 2024/11/09
- 150/172: gnu: go-github-com-emersion-go-autostart: Update to 0.0.0-20210130080809-00ed301c8e9a., guix-commits, 2024/11/09
- 155/172: gnu: Add go-rsc-io-binaryregexp., guix-commits, 2024/11/09
- 165/172: gnu: go-github-com-tekwizely-go-parsing: Adjust description., guix-commits, 2024/11/09
- 162/172: gnu: Add go-github-com-matryer-is., guix-commits, 2024/11/09
- 139/172: gnu: Add go-github-com-smarty-assertions., guix-commits, 2024/11/09