Extract version + URL for non-rubygem components + add update script#166
Extract version + URL for non-rubygem components + add update script#166Sharpie merged 7 commits intoOpenVoxProject:mainfrom
Conversation
This will make it easier in the future to automate version updates. We already have a similar approach in openvox: https://github.com/OpenVoxProject/openvox/tree/main/packaging/configs/components Signed-off-by: Tim Meusel <tim@bastelfreak.de>
``` $ sha256sum ~/Downloads/augeas-1.14.1.tar.gz 368bfdd782e4b9c7163baadd621359c82b162734864b667051ff6bcb57b9edff /home/bastelfreak/Downloads/augeas-1.14.1.tar.gz $ md5sum ~/Downloads/augeas-1.14.1.tar.gz ac31216268b4b64809afd3a25f2515e5 /home/bastelfreak/Downloads/augeas-1.14.1.tar.gz $ ``` Signed-off-by: Tim Meusel <tim@bastelfreak.de>
``` $ sha256sum ~/Downloads/libedit-20150325-3.1.tar.gz c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5 /home/bastelfreak/Downloads/libedit-20150325-3.1.tar.gz $ md5sum ~/Downloads/libedit-20150325-3.1.tar.gz 43cdb5df3061d78b5e9d59109871b4f6 /home/bastelfreak/Downloads/libedit-20150325-3.1.tar.gz $ ``` Signed-off-by: Tim Meusel <tim@bastelfreak.de>
``` $ sha256sum ~/Downloads/yaml-0.2.5.tar.gz c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4 /home/bastelfreak/Downloads/yaml-0.2.5.tar.gz $ md5sum ~/Downloads/yaml-0.2.5.tar.gz bb15429d8fb787e7d3f1c83ae129a999 /home/bastelfreak/Downloads/yaml-0.2.5.tar.gz $ ``` Signed-off-by: Tim Meusel <tim@bastelfreak.de>
``` $ sha256sum ~/Downloads/readline-8.1.2.tar.gz 7589a2381a8419e68654a47623ce7dfcb756815c8fee726b98f90bf668af7bc6 /home/bastelfreak/Downloads/readline-8.1.2.tar.gz $ md5sum ~/Downloads/readline-8.1.2.tar.gz 12819fa739a78a6172400f399ab34f81 /home/bastelfreak/Downloads/readline-8.1.2.tar.gz $ ``` Signed-off-by: Tim Meusel <tim@bastelfreak.de>
we pull most stuff from github.com already. This makes it easier to automatically update versions in the future. Signed-off-by: Tim Meusel <tim@bastelfreak.de>
tuxmea
left a comment
There was a problem hiding this comment.
augeas switches from md5sum to sha256sum
Personally I don't like that one must maintain version numbers twice.
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
|
There is now a simple update script that fetches new releases from GitHub and can update the json files. It's not perfect yet. For example, the update_gems tasks can parse the For people that want to try it: parsing the curl release names isn't implemented yet, that allows us to test the error handling. And our openssl version is currently outdated (on purpose). So the rake task will find it and update. |
Sharpie
left a comment
There was a problem hiding this comment.
Looks good to me 👍
Thanks for automating this, and cleaning up a bunch of the MD5 cruft!
This will make it easier in the future to automate version updates. We already have a similar approach in openvox:
https://github.com/OpenVoxProject/openvox/tree/main/packaging/configs/components. Also where posssible, we switch to github releases and from md5 to sha256.
Short description
Checklist
I have:
Signed-off-byannotation to each of my commits