Skip to content

Extract version + URL for non-rubygem components + add update script#166

Open
bastelfreak wants to merge 7 commits intoOpenVoxProject:mainfrom
bastelfreak:json
Open

Extract version + URL for non-rubygem components + add update script#166
bastelfreak wants to merge 7 commits intoOpenVoxProject:mainfrom
bastelfreak:json

Conversation

@bastelfreak
Copy link
Copy Markdown
Contributor

@bastelfreak bastelfreak commented May 8, 2026

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:

  • read the CONTRIBUTING.md document
  • read and accepted the Developer Certificate of Origin document and added a Signed-off-by annotation to each of my commits
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

@bastelfreak bastelfreak self-assigned this May 8, 2026
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>
Copy link
Copy Markdown

@tuxmea tuxmea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@bastelfreak bastelfreak changed the title Extract version + URL for non-rubygem components Extract version + URL for non-rubygem components + add update script May 8, 2026
@bastelfreak
Copy link
Copy Markdown
Contributor Author

bastelfreak commented May 8, 2026

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 PINNED string to ignore components. That's not implemented yet for the github updater. Because of that, I didn't add the autocommit stuff we use for update_gems.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants