[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/23: sourceforge: not supported, too complicate to implement.
From: |
guix-commits |
Subject: |
11/23: sourceforge: not supported, too complicate to implement. |
Date: |
Mon, 4 Jul 2022 09:49:23 -0400 (EDT) |
htgoebel pushed a commit to branch wip-import-version
in repository guix.
commit 9593ea73e34f9754e08276cf797bf8c5e86d4500
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Wed Jun 29 15:02:07 2022 +0200
sourceforge: not supported, too complicate to implement.
due to directory sructure
---
guix/gnu-maintenance.scm | 10 +++++++++-
guix/import/gnu.scm | 1 +
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index e7edbf6656..1bc653b388 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -34,6 +34,8 @@
#:use-module ((guix http-client) #:hide (open-socket-for-uri))
#:use-module (guix ftp-client)
#:use-module (guix utils)
+ #:use-module (guix diagnostics)
+ #:use-module (guix i18n)
#:use-module (guix memoization)
#:use-module (guix records)
#:use-module (guix upstream)
@@ -683,7 +685,7 @@ GNOME packages; EMMS is included though, because its
releases are on gnu.org."
#:directory directory)
(cut adjusted-upstream-source <> rewrite))))
-(define (latest-sourceforge-release package)
+(define* (latest-sourceforge-release package #:key (version #f))
"Return the latest release of PACKAGE."
(define (uri-append uri extension)
;; Return URI with EXTENSION appended.
@@ -698,6 +700,12 @@ GNOME packages; EMMS is included though, because its
releases are on gnu.org."
((200 302) #t)
(else #f))))
+ (when version
+ (error
+ (formatted-message
+ (G_ "Updating to a specific version is not yet implemented for ~a,
sorry.")
+ "sourceforge")))
+
(let* ((name (package-upstream-name package))
(base (string-append "https://sourceforge.net/projects/"
name "/files"))
diff --git a/guix/import/gnu.scm b/guix/import/gnu.scm
index 2b9b71feb0..698dd48918 100644
--- a/guix/import/gnu.scm
+++ b/guix/import/gnu.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;
- branch wip-import-version created (now 926f9b0809), guix-commits, 2022/07/04
- 03/23: gnu: Add chicken-srfi-37., guix-commits, 2022/07/04
- 08/23: import: cpan: Remove unused exports., guix-commits, 2022/07/04
- 02/23: gnu: Add chicken-srfi-13., guix-commits, 2022/07/04
- 04/23: gnu: Add chicken-args., guix-commits, 2022/07/04
- 01/23: gnu: Add chicken-crypto-tools., guix-commits, 2022/07/04
- 05/23: import: egg: Fix updater., guix-commits, 2022/07/04
- 06/23: import: github: Fix updater., guix-commits, 2022/07/04
- 07/23: import: git: Restrict to non-github origins., guix-commits, 2022/07/04
- 09/23: updaters: issue error-message if version is given:, guix-commits, 2022/07/04
- 11/23: sourceforge: not supported, too complicate to implement.,
guix-commits <=
- 10/23: cran/bioconductor, guix-commits, 2022/07/04
- 12/23: gnu-maintenance (kernel.org, ftp, html, savannah, xorg, gnu), guix-commits, 2022/07/04
- 13/23: pypi:, guix-commits, 2022/07/04
- 15/23: egg, guix-commits, 2022/07/04
- 16/23: hexpm, guix-commits, 2022/07/04
- 14/23: crate, guix-commits, 2022/07/04
- 19/23: kde:, guix-commits, 2022/07/04
- 21/23: generic-git, guix-commits, 2022/07/04
- 23/23: upstream.scm, guix-commits, 2022/07/04
- 17/23: launchpad, guix-commits, 2022/07/04