The help output of percona-release is very difficult to read and digest and would benefit from some formatting / cleanup (e.g. introducing line breaks and white space/idendation, removing "arrows").
Also, it should accept help or --help as valid options to print out this message.
Well, it's totally up to us to change and automate that. Having a proper API in the version service would allow us to make such repo information available to other services as well, and would also enable us to gather some stats (see for info).
Evgeniy Patlan August 16, 2022 at 7:56 AM
this html was initially created in order to be the source of truth for percona-release. Version service would know nothing about repos that are only prepared for release but not released
Lenz Grimmer August 15, 2022 at 12:35 PM
Note that this issue is about the format and layout of the help output in general, not just the list of repos. But I agree it would be much better if percona-release had a way to query the list of available repos from somewhere instead of maintaining a separate hard-coded list. I was wondering if the version service would be a suitable resource for that? To me, this sounds more reliable than parsing an HTML page.
Evgeniy Patlan August 9, 2022 at 1:44 PM
Hi. It is better to improve the situation and not use the hard-coded list of repos in script We should download index.html from repo.percona.com and parse it.
The help output of
percona-release
is very difficult to read and digest and would benefit from some formatting / cleanup (e.g. introducing line breaks and white space/idendation, removing "arrows").Also, it should accept
help
or--help
as valid options to print out this message.