[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55242] [PATCH 09/10] guix: import: go: module-name -> module-path t
From: |
Attila Lendvai |
Subject: |
[bug#55242] [PATCH 09/10] guix: import: go: module-name -> module-path to be consistent |
Date: |
Tue, 3 May 2022 13:43:00 +0200 |
* guix/import/go.scm (go-package-description): Renamed first parameter.
---
guix/import/go.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/guix/import/go.scm b/guix/import/go.scm
index ce6463cc51..25d424c1ac 100644
--- a/guix/import/go.scm
+++ b/guix/import/go.scm
@@ -340,14 +340,14 @@ (define (go-package-description name)
((p elements ...)
(apply string-append (filter string? (map sxml->texi elements)))))))
-(define (go-package-synopsis module-name)
- "Retrieve a short synopsis for a Go module named MODULE-NAME,
+(define (go-package-synopsis module-path)
+ "Retrieve a short synopsis for a Go module named MODULE-PATH,
e.g. \"google.golang.org/protobuf\". The data is scraped from
the https://pkg.go.dev/ web site."
;; Note: Only the *module* (rather than package) page has the README title
;; used as a synopsis on the https://pkg.go.dev web site.
- (log.debug "Getting synopsis for ~S" module-name)
- (let* ((body (pkg.go.dev-info module-name))
+ (log.debug "Getting synopsis for ~S" module-path)
+ (let* ((body (pkg.go.dev-info module-path))
;; Extract the text contained in a h2 child node of any
;; element marked with a "License" class attribute.
(select-title (sxpath
--
2.35.1
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., (continued)
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/03
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Attila Lendvai, 2022/05/03
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/03
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Attila Lendvai, 2022/05/09
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/09
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Attila Lendvai, 2022/05/09
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/09
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/03
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/03
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/03
[bug#55242] [PATCH 09/10] guix: import: go: module-name -> module-path to be consistent,
Attila Lendvai <=
[bug#55242] [PATCH 10/10] guix: import: go: Better handling of /v2 in the module path., Attila Lendvai, 2022/05/03
[bug#55242] [PATCH 04/10] guix: import: go: Fix the interpretation of the replace directive., Attila Lendvai, 2022/05/03
[bug#55242] [PATCH 08/10] guix: import: go: Modules in a subdir and prefixed tags., Attila Lendvai, 2022/05/03