GNU bug report logs - #25997
mirror: Add sourceforge variant with 'projects'.

Previous Next

Package: guix-patches;

Reported by: ng0 <contact.ng0 <at> cryptolab.net>

Date: Mon, 6 Mar 2017 11:39:01 UTC

Severity: normal

Done: ng0 <contact.ng0 <at> cryptolab.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25997 in the body.
You can then email your comments to 25997 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#25997; Package guix-patches. (Mon, 06 Mar 2017 11:39:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to ng0 <contact.ng0 <at> cryptolab.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 06 Mar 2017 11:39:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: guix-patches <at> gnu.org
Subject: mirror: Add sourceforge variant with 'projects'.
Date: Mon, 6 Mar 2017 12:47:13 +0000
[Message part 1 (text/plain, inline)]
This adds a variant of sourceforge mirrors to cover downloads where the path includes projects instead of project.

Patch appended as file, rebased on master.
[0001-download-Add-Sourceforge-variant-including-projects.patch (text/plain, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#25997; Package guix-patches. (Sat, 11 Mar 2017 21:01:01 GMT) Full text and rfc822 format available.

Message #8 received at 25997 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 25997 <at> debbugs.gnu.org
Subject: Re: bug#25997: mirror: Add sourceforge variant with 'projects'.
Date: Sat, 11 Mar 2017 22:00:04 +0100
Hi,

ng0 <contact.ng0 <at> cryptolab.net> skribis:

> This adds a variant of sourceforge mirrors to cover downloads where the path includes projects instead of project.

Does that really happen?  Do you have an example?

I thought that when they changed the URL scheme a few months ago they
chose one and dismissed the other.

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#25997; Package guix-patches. (Sat, 11 Mar 2017 21:41:01 GMT) Full text and rfc822 format available.

Message #11 received at 25997 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 25997 <at> debbugs.gnu.org
Subject: Re: bug#25997: mirror: Add sourceforge variant with 'projects'.
Date: Sat, 11 Mar 2017 22:48:25 +0000
Ludovic Courtès transcribed 0.3K bytes:
> Hi,
> 
> ng0 <contact.ng0 <at> cryptolab.net> skribis:
> 
> > This adds a variant of sourceforge mirrors to cover downloads where the path includes projects instead of project.
> 
> Does that really happen?  Do you have an example?
> 
> I thought that when they changed the URL scheme a few months ago they
> chose one and dismissed the other.
> 
> Thanks,
> Ludo’.
> 
> 

No, I run into this regulary. One example we have in the tree: tintin++.

(define-public tintin++
  (package
    (name "tintin++")
    (version "2.01.2")
    (source (origin
              (method url-fetch)
              (uri (string-append
                                  "https://sourceforge.net/projects/tintin"
                                  "/files/TinTin++ Source Code/" version
                                  "/tintin" "-" version ".tar.gz"))

I have tried to use the (current) mirror format when I contributed it, and there
are some more packages for which it happened that the mirror format was
useless.




Information forwarded to guix-patches <at> gnu.org:
bug#25997; Package guix-patches. (Sun, 12 Mar 2017 13:38:02 GMT) Full text and rfc822 format available.

Message #14 received at 25997 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 25997 <at> debbugs.gnu.org
Subject: Re: bug#25997: mirror: Add sourceforge variant with 'projects'.
Date: Sun, 12 Mar 2017 14:36:56 +0100
[Message part 1 (text/plain, inline)]
ng0 <contact.ng0 <at> cryptolab.net> skribis:

> Ludovic Courtès transcribed 0.3K bytes:
>> Hi,
>> 
>> ng0 <contact.ng0 <at> cryptolab.net> skribis:
>> 
>> > This adds a variant of sourceforge mirrors to cover downloads where the path includes projects instead of project.
>> 
>> Does that really happen?  Do you have an example?
>> 
>> I thought that when they changed the URL scheme a few months ago they
>> chose one and dismissed the other.
>> 
>> Thanks,
>> Ludo’.
>> 
>> 
>
> No, I run into this regulary. One example we have in the tree: tintin++.

This particular case is fixed with this patch (that I’ll push soon):

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 550652eef..efa904f7d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2880,8 +2880,8 @@ the GNU GPL.")
     (version "2.01.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://sourceforge.net/projects/tintin"
-                                  "/files/TinTin++ Source Code/" version
+              (uri (string-append "mirror://sourceforge/tintin"
+                                  "/TinTin++ Source Code/" version
                                   "/tintin" "-" version ".tar.gz"))
               (sha256
                (base32
[Message part 3 (text/plain, inline)]
I suspect that if there are other such cases, they can be addressed
similarly?

Thanks,
Ludo’.

Reply sent to ng0 <contact.ng0 <at> cryptolab.net>:
You have taken responsibility. (Sun, 12 Mar 2017 15:16:03 GMT) Full text and rfc822 format available.

Notification sent to ng0 <contact.ng0 <at> cryptolab.net>:
bug acknowledged by developer. (Sun, 12 Mar 2017 15:16:03 GMT) Full text and rfc822 format available.

Message #19 received at 25997-done <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 25997-done <at> debbugs.gnu.org
Subject: Re: bug#25997: mirror: Add sourceforge variant with 'projects'.
Date: Sun, 12 Mar 2017 16:24:01 +0000
Ludovic Courtès transcribed 1.7K bytes:
> ng0 <contact.ng0 <at> cryptolab.net> skribis:
> 
> > Ludovic Courtès transcribed 0.3K bytes:
> >> Hi,
> >> 
> >> ng0 <contact.ng0 <at> cryptolab.net> skribis:
> >> 
> >> > This adds a variant of sourceforge mirrors to cover downloads where the path includes projects instead of project.
> >> 
> >> Does that really happen?  Do you have an example?
> >> 
> >> I thought that when they changed the URL scheme a few months ago they
> >> chose one and dismissed the other.
> >> 
> >> Thanks,
> >> Ludo’.
> >> 
> >> 
> >
> > No, I run into this regulary. One example we have in the tree: tintin++.
> 
> This particular case is fixed with this patch (that I’ll push soon):
> 

> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 550652eef..efa904f7d 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -2880,8 +2880,8 @@ the GNU GPL.")
>      (version "2.01.2")
>      (source (origin
>                (method url-fetch)
> -              (uri (string-append "https://sourceforge.net/projects/tintin"
> -                                  "/files/TinTin++ Source Code/" version
> +              (uri (string-append "mirror://sourceforge/tintin"
> +                                  "/TinTin++ Source Code/" version
>                                    "/tintin" "-" version ".tar.gz"))
>                (sha256
>                 (base32

> 
> I suspect that if there are other such cases, they can be addressed
> similarly?
> 
> Thanks,
> Ludo’.

Maybe… It's been a while since I had to use sourceforge. It could be
that the change in url from projects -> project just took a while to be
applied to all projectS.

My patch is small enough that I'll close it now, problem seems to no
longer exist and if it still does, it's just a one line change which can
be added easy enough.

Thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Apr 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.