package/babeld: update URL site
PATCH v3 1/2 package/babeld: update URL site
As reported in [1], version 1.9.2 has been moved to another archive, and it is recommended to use https://github.com/jech/babeld as the official repository.
It was also necessary to change the sha of the downloaded tar.gz.
Fixes:
- http://autobuild.buildroot.org/results/2447060c86acf1bd8d6ee0bcf8f9b6adcdfc50c9
[1] https://alioth-lists.debian.net/pipermail/babel-users/2024-August/004187.html
---
Changes v2 -> v3:
- Fix the way the github macro is called.
Changes v1 -> v2:
- Don't bump to 1.10.0 but update the URL site.
package/babeld/babeld.hash | 2 +- package/babeld/babeld.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/babeld/babeld.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 154f00e0a8bf35d6ea9028886c3dc5c3c342dd1a367df55ef29a547b75867f07 babeld-1.9.2.tar.gz +sha256 c8c8c3698afb00caa5a5c9bbbb0a22b56d79ad3f9775382915ba979ac88c4e8f babeld-1.9.2.tar.gz sha256 b415c41292cedef6c97b243609e50552887c29343566c639f23282d31efd2afd LICENCE
package/babeld/babeld.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ BABELD_VERSION = 1.9.2 -BABELD_SITE = http://www.pps.univ-paris-diderot.fr/~jch/software/files +BABELD_SITE = $(call github,jech,babeld,babeld-$(BABELD_VERSION)) BABELD_LICENSE = MIT BABELD_LICENSE_FILES = LICENCE
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v3 2/2 DEVELOPERS: add Dario Binacchi for babeld
---
no changes since v2
Added in v2
DEVELOPERS | 1 + 1 file changed, 1 insertion(+)
DEVELOPERS +1 -0
@@ -790,6 +790,7 @@ F: configs/imx6ulz_bsh_smm_m2_defconfig F: configs/imx8mn_bsh_smm_s2_defconfig F: configs/imx8mn_bsh_smm_s2_pro_defconfig F: configs/stm32f769_disco_sd_defconfig +F: package/babeld/ F: package/sscep/ F: package/uuu/
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Dario, All,
On 2024-09-01 08:36 +0200, Dario Binacchi spake thusly:
Quoted 5 lines
As reported in [1], version 1.9.2 has been moved to another archive, and it is recommended to use https://github.com/jech/babeld as the official repository.
It was also necessary to change the sha of the downloaded tar.gz.
That is not going to be possible.
Indeed, we already have a tarball cached for babeld-1.9.2, and of course it is the old one, so it has the old hash. Also, people will already have a local archive of babeld, also with the old hash.
If we were to update the hash, then newer version of Buildroot could not use the file cached on s.b.o, and people with a local cache will also have an issue, especially those that do maintenance between various branches, some with older Buildroots, other with newer ones.
In that situation, we need to find a way so that the new archive has a different name. There are a few options:
- use a git hash rather than a version
- use a trick in the version string
- change the download mechanism
The first option is not nice, because then we lose the possibility to have follow releases from release-monitoring.org
The second option is also not very nice, because that also breaks release-monitoring.org, but would otherwise look like:
# When bumping the version, move the babeld- prefix into the github macro call
BABELD_VERSION = babeld-1.9.2
BABELD_SITE = $(call github,jech,babeld,$(BABELD_VERSION))But since we are trying to move away from the github macro (long term goal), I'd even suggest we directly switch to using the git download method:
BABELD_VERSION = 1.9.2
BABELD_SITE = https://github.com/jech/babeld
BABELD_SITE_METHOD = git
which would mean the archive filename would change:
sha256 XX...XX babeld-1.9.2-git4.tar.gz
(yes, I know I suggested having the babeld- prefix in the github nacro call, but I just forgot about the implications with the hash, sorry.)
Regards,
Yann E. MORIN.
Quoted 45 lines
Fixes:
- http://autobuild.buildroot.org/results/2447060c86acf1bd8d6ee0bcf8f9b6adcdfc50c9[1] https://alioth-lists.debian.net/pipermail/babel-users/2024-August/004187.html
Signed-off-by Dario Binacchi <[email protected]>---
Changes v2 -> v3:
- Fix the way the github macro is called.Changes v1 -> v2:
- Don't bump to 1.10.0 but update the URL site.package/babeld/babeld.hash | 2 +- package/babeld/babeld.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/babeld/babeld.hash +1
-1@@ -1,3 +1,3 @@ # Locally computed -sha256 154f00e0a8bf35d6ea9028886c3dc5c3c342dd1a367df55ef29a547b75867f07 babeld-1.9.2.tar.gz +sha256 c8c8c3698afb00caa5a5c9bbbb0a22b56d79ad3f9775382915ba979ac88c4e8f babeld-1.9.2.tar.gz sha256 b415c41292cedef6c97b243609e50552887c29343566c639f23282d31efd2afd LICENCEpackage/babeld/babeld.mk +1
-1@@ -5,7 +5,7 @@ ################################################################################ BABELD_VERSION = 1.9.2 -BABELD_SITE = http://www.pps.univ-paris-diderot.fr/~jch/software/files +BABELD_SITE = $(call github,jech,babeld,babeld-$(BABELD_VERSION)) BABELD_LICENSE = MIT BABELD_LICENSE_FILES = LICENCESignature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Yann,
Quoted 46 lines · Yann E. MORIN
Dario, All,
On 2024-09-01 08:36 +0200, Dario Binacchi spake thusly:
Quoted 5 lines
As reported in [1], version 1.9.2 has been moved to another archive, and it is recommended to use https://github.com/jech/babeld as the official repository.
It was also necessary to change the sha of the downloaded tar.gz.
That is not going to be possible.
Indeed, we already have a tarball cached for babeld-1.9.2, and of course it is the old one, so it has the old hash. Also, people will already have a local archive of babeld, also with the old hash.
If we were to update the hash, then newer version of Buildroot could not use the file cached on s.b.o, and people with a local cache will also have an issue, especially those that do maintenance between various branches, some with older Buildroots, other with newer ones.
In that situation, we need to find a way so that the new archive has a different name. There are a few options:
- use a git hash rather than a version
- use a trick in the version string
- change the download mechanismThe first option is not nice, because then we lose the possibility to have follow releases from release-monitoring.org
The second option is also not very nice, because that also breaks release-monitoring.org, but would otherwise look like:
# When bumping the version, move the babeld- prefix into the github macro call BABELD_VERSION = babeld-1.9.2 BABELD_SITE = $(call github,jech,babeld,$(BABELD_VERSION))But since we are trying to move away from the github macro (long term goal), I'd even suggest we directly switch to using the git download method:
BABELD_VERSION= 1.9.2
BABELD_SITE= https://github.com/jech/babeld
BABELD_SITE_METHOD= git
Quoted 6 lines
which would mean the archive filename would change:
sha256 XX...XX babeld-1.9.2-git4.tar.gz(yes, I know I suggested having the babeld- prefix in the github nacro call, but I just forgot about the implications with the hash, sorry.)
Don't worry.
Thanks again for the detailed explanation.
I will submit v3 ASAP.
Regards,
Dario
Quoted 57 lines
Regards,
Yann E. MORIN.Quoted 41 lines
Fixes:
- http://autobuild.buildroot.org/results/2447060c86acf1bd8d6ee0bcf8f9b6adcdfc50c9[1] https://alioth-lists.debian.net/pipermail/babel-users/2024-August/004187.html
Signed-off-by Dario Binacchi <[email protected]>---
Changes v2 -> v3:
- Fix the way the github macro is called.Changes v1 -> v2:
- Don't bump to 1.10.0 but update the URL site.package/babeld/babeld.hash | 2 +- package/babeld/babeld.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/babeld/babeld.hash +1
-1@@ -1,3 +1,3 @@ # Locally computed -sha256 154f00e0a8bf35d6ea9028886c3dc5c3c342dd1a367df55ef29a547b75867f07 babeld-1.9.2.tar.gz +sha256 c8c8c3698afb00caa5a5c9bbbb0a22b56d79ad3f9775382915ba979ac88c4e8f babeld-1.9.2.tar.gz sha256 b415c41292cedef6c97b243609e50552887c29343566c639f23282d31efd2afd LICENCEpackage/babeld/babeld.mk +1
-2@@ -5,7 +5,7 @@ ################################################################################ BABELD_VERSION = 1.9.2 -BABELD_SITE = http://www.pps.univ-paris-diderot.fr/~jch/software/files +BABELD_SITE = $(call github,jech,babeld,babeld-$(BABELD_VERSION)) BABELD_LICENSE = MIT BABELD_LICENSE_FILES = LICENCE --2.43.0
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot--
.-----------------.--------------------.------------------.--------------------.| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |'------------------------------^-------^------------------^--------------------'
Signature · 21 lines
Dario Binacchi Senior Embedded Linux Developer [email protected] __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 [email protected] www.amarulasolutions.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Dario, All,
On 2024-09-02 19:52 +0200, Dario Binacchi spake thusly:
Quoted 1 line · Yann E. MORIN
[--SNIP--]
Quoted 4 lines
Quoted 4 lines
But since we are trying to move away from the github macro (long term goal), I'd even suggest we directly switch to using the git download method:
BABELD_VERSION = 1.9.2
Of course, here, we'd need to have: BABELD_VERSION = babeld-1.9.2
because that's what the tag is named.
This will also break the release-monitoring, but I am already working, as part of the plan to migrate away from $(call github), on a way to be able to specify a "download version" that is different from the "actual version"...
In the meantime, we'll have to live with that limitation...
(and to be clear: I still suggest using the git download method, not the github macro).
Regards,
Yann E. MORIN.
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot