mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu-maintenance: Simplify latest-kernel.org-release.
As latest-html-release now produces mirror:// URIs where possible, the additional post-processing is not necessary anymore. As a test, revert the dtc package back to 1.6.0 and try updating 'gash', the mirror:// URI remains. * gnu-maintenance.scm (latest-kernel.org-release): Do not call adjusted-upstream-source on the result. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
60474b5291
commit
d9b8169a9f
1 changed files with 5 additions and 8 deletions
|
@ -791,14 +791,11 @@ (define (file->signature file)
|
|||
((? string? uri) uri)
|
||||
((uri mirrors ...) uri))))
|
||||
(package (package-upstream-name package))
|
||||
(directory (dirname (uri-path uri)))
|
||||
(rewrite (url-prefix-rewrite %kernel.org-base
|
||||
"mirror://kernel.org")))
|
||||
(and=> (latest-html-release package
|
||||
#:base-url %kernel.org-base
|
||||
#:directory directory
|
||||
#:file->signature file->signature)
|
||||
(cut adjusted-upstream-source <> rewrite))))
|
||||
(directory (dirname (uri-path uri))))
|
||||
(latest-html-release package
|
||||
#:base-url %kernel.org-base
|
||||
#:directory directory
|
||||
#:file->signature file->signature)))
|
||||
|
||||
(define html-updatable-package?
|
||||
;; Return true if the given package may be handled by the generic HTML
|
||||
|
|
Loading…
Reference in a new issue