Skip to contentSkip to conversation

chrpath: fix SRC_URI

PATCH Superseded Oleksandr Kravchuk 2 participants 9 messages Jun 1, 2018 – Jun 2, 2018

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 chrpath: fix SRC_URI

---
 meta/recipes-devtools/chrpath/chrpath_0.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/chrpath/chrpath_0.16.bb +1 -1
index b61eef9c8b..0428210567 100644
@@ -7,7 +7,7 @@ BUGTRACKER = "http://alioth.debian.org/tracker/?atid=412807&group_id=31052"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 
-SRC_URI = "https://alioth.debian.org/frs/download.php/file/3979/chrpath-0.16.tar.gz \
+SRC_URI = "https://src.fedoraproject.org/lookaside/extras/chrpath/chrpath-0.16.tar.gz/2bf8d1d1ee345fc8a7915576f5649982/chrpath-0.16.tar.gz \
            file://standarddoc.patch"
 
 SRC_URI[md5sum] = "2bf8d1d1ee345fc8a7915576f5649982"
Signature · 1 line
2.17.0
#1 lore raw

PATCH 2/2 iso-codes: fix SRC_URI

---
 meta/recipes-support/iso-codes/iso-codes_3.77.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/iso-codes/iso-codes_3.77.bb +1 -0
index bd613ac573..d899a7fa82 100644
@@ -3,6 +3,7 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz"
+SRC_URI = "https://ftp.osuosl.org/pub/blfs/conglomeration/iso-codes/iso-codes-${PV}.tar.xz"
 SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
 SRC_URI[sha256sum] = "21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90"
 
Signature · 1 line
2.17.0
#3 lore raw

Re: [meta-oe][PATCH 2/2] iso-codes: fix SRC_URI

Quoted 9 lines · Alexander Kanavin

2018-06-02 1:14 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 2 lines

SRC_URI = "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz"
+SRC_URI = "https://ftp.osuosl.org/pub/blfs/conglomeration/iso-codes/iso-codes-${PV}.tar.xz"

The correct new URI is
https://salsa.debian.org/iso-codes-team/iso-codes, don't grab a random ftp from google search results please.

Alex

It is not always easy to find "the new" official URI. I took the one that was around for a long time, not "a random ftp from google search results".

I will fix and resend the patch.

#4 lore raw

Re: [meta-oe][PATCH 2/2] iso-codes: fix SRC_URI

I'm sorry for being terse. Reviewing patches before morning coffee is not always a great idea.

When changing SRC_URI, you still need to explain in the commit message what's wrong with the old URI and how the new URI was chosen.

Specifically here, alioth is not temporarily down, it has been deliberately taken offline:

https://wiki.debian.org/Alioth

and the same wiki page lists salsa.debian.org as the successor. Any debian-driven projects are likely to have been moved there, and so that's the first place I had checked.

Alex

2018-06-02 16:35 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 20 lines · Alexander Kanavin
Quoted 9 lines

2018-06-02 1:14 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 5 lines

SRC_URI =
"https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz" +SRC_URI = "https://ftp.osuosl.org/pub/blfs/conglomeration/iso-codes/iso-codes-${PV}.tar.xz"

Quoted 5 lines

The correct new URI is
https://salsa.debian.org/iso-codes-team/iso-codes, don't grab a random ftp from google search results please.

Alex

It is not always easy to find "the new" official URI. I took the one that was around for a long time, not "a random ftp from google search results".

I will fix and resend the patch.

#5 lore raw

Re: [meta-oe][PATCH 2/2] iso-codes: fix SRC_URI

No feelings were touched. I should have indeed explained why the SRC_URI was changed.

I'll update the patch. Cheers.

Quoted 35 lines · Alexander Kanavin

I'm sorry for being terse. Reviewing patches before morning coffee is not always a great idea.

When changing SRC_URI, you still need to explain in the commit message what's wrong with the old URI and how the new URI was chosen.

Specifically here, alioth is not temporarily down, it has been deliberately taken offline:

https://wiki.debian.org/Alioth

and the same wiki page lists salsa.debian.org as the successor. Any debian-driven projects are likely to have been moved there, and so that's the first place I had checked.

Alex

2018-06-02 16:35 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 16 lines · Alexander Kanavin
Quoted 11 lines

2018-06-02 1:14 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 4 lines

SRC_URI =
"https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz" +SRC_URI = "https://ftp.osuosl.org/pub/blfs/conglomeration/iso-codes/iso-codes-${PV}.tar.xz"

The correct new URI is
https://salsa.debian.org/iso-codes-team/iso-codes, don't grab a random ftp from google search results please.

Alex

It is not always easy to find "the new" official URI. I took the one that was around for a long time, not "a random ftp from google search results".

I will fix and resend the patch.

#6 lore raw
In reply to Oleksandr Kravchuk

2018-06-02 1:14 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

meta/recipes-devtools/chrpath/chrpath_0.16.bb BUGTRACKER = "http://alioth.debian.org/tracker/?atid=412807&group_id=31052" · line 11

Quoted 3 lines
meta/recipes-devtools/chrpath/chrpath_0.16.bb +1 -1
-SRC_URI = "https://alioth.debian.org/frs/download.php/file/3979/chrpath-0.16.tar.gz \
+SRC_URI = "https://src.fedoraproject.org/lookaside/extras/chrpath/chrpath-0.16.tar.gz/2bf8d1d1ee345fc8a7915576f5649982/chrpath-0.16.tar.gz \
            file://standarddoc.patch"

It's better to stick with debian, the tarball is still available through ${DEBIAN_MIRROR}:
http://http.debian.net/debian/pool/main/c/chrpath/chrpath_0.16.orig.tar.gz

Can you also investigate the other instances of alioth, namely shadow and minicom please?

Alex

#7 lore raw
Quoted 9 lines · Alexander Kanavin

2018-06-02 1:14 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

meta/recipes-devtools/chrpath/chrpath_0.16.bb BUGTRACKER = "http://alioth.debian.org/tracker/?atid=412807&group_id=31052" · line 11

Quoted 3 lines
meta/recipes-devtools/chrpath/chrpath_0.16.bb +1 -1
-SRC_URI = "https://alioth.debian.org/frs/download.php/file/3979/chrpath-0.16.tar.gz \
+SRC_URI = "https://src.fedoraproject.org/lookaside/extras/chrpath/chrpath-0.16.tar.gz/2bf8d1d1ee345fc8a7915576f5649982/chrpath-0.16.tar.gz \
             file://standarddoc.patch"

It's better to stick with debian, the tarball is still available through ${DEBIAN_MIRROR}:
http://http.debian.net/debian/pool/main/c/chrpath/chrpath_0.16.orig.tar.gz

Quoted 4 lines

Can you also investigate the other instances of alioth, namely shadow and minicom please?

Alex

This is a subjective statement. Having mirrors is great, but having a working SRC_URI in the recipe and mirrors five times great: I have seen both original source and the mirror being inaccessible for a period of time multiple times.

#8 lore raw

2018-06-02 16:45 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 7 lines
Quoted 7 lines

It's better to stick with debian, the tarball is still available through ${DEBIAN_MIRROR}:
http://http.debian.net/debian/pool/main/c/chrpath/chrpath_0.16.orig.tar.gz

Can you also investigate the other instances of alioth, namely shadow and minicom please?

Quoted 7 lines
Quoted 1 line

Alex

This is a subjective statement. Having mirrors is great, but having a working SRC_URI in the recipe and mirrors five times great: I have seen both original source and the mirror being inaccessible for a period of time multiple times.

${DEBIAN_MIRROR} is not a mirror for alioth, it's a mirror for debian packages repository and their original tarballs. The place where apt-get looks for .deb packages in Debian. So it's unlikely to go offline.

As chrpath is a debian project, we should prefer taking it from Debian rather than other sources. That way it is more likely that it will be kept up to date.

Alex