New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packaging: fix errors during install-requred-packages #8606
packaging: fix errors during install-requred-packages #8606
Conversation
…ist of known OSes of get_os_release func and sort the list alphabetically
Manage this branch in SquashTest this branch here: https://ilyam8add-manjaro-install-requ-ibxwp.squash.io |
Probably it is expected netdata/packaging/installer/install-required-packages.sh Lines 70 to 72 in a851701
Feel free to I did it because i saw |
manjaro
to the install-requred-packages.sh get_os_release func
I see we have only netdata/packaging/installer/install-required-packages.sh Lines 1318 to 1319 in a851701
It is not clear why we have netdata/packaging/installer/install-required-packages.sh Lines 1049 to 1051 in a851701
and use it |
Ci is only enough if you actually modify the appropriate workflow and add Manjaro to it :) |
@ilyam8 |
I am not sure this was needed, but take a look we set distribution in netdata/packaging/installer/install-required-packages.sh Lines 1850 to 1854 in a851701
Then we execute netdata/packaging/installer/install-required-packages.sh Lines 1856 to 1859 in a851701
And there we expect netdata/packaging/installer/install-required-packages.sh Lines 341 to 344 in a851701
|
Fine if you don't want/need it tested regularly in CI that's okay :) I assume this is the correct upstream Docker image to use if we change our minds later? |
manjaro is arch actually. Main difference is delayed updates (1-2 weeks). I was fixing cosmetic error to be honest 😄 |
i guess yes, that jonathonf guy is from the manjaro team edit: Updated 9 months ago 🤔 |
Its fine. Get another approval from @Ferroin and merge it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does need to be verified. Current approach does not work, as 'manjaro' isn't a recognized distribution name to match on later for selecting the package manager.
netdata/packaging/installer/install-required-packages.sh Lines 341 to 344 in a851701
|
Sorry, missed that somehow. |
if it was the case, ci would fail, right? i am asking because i did no tests, i rely on ci checks |
Manjaro isn't in our CI checks at all. There appear to be no up-to-date Docker images for it at the moment AFAICT. Long term we should probably tr and get it added, but It's mostly just old Arch with a fancy installer and some slightly different default behavior, so it's not exactly high priority. |
🙈 ok, i understood |
* packaging: update install-requred-packages.sh: add `manjaro` to the list of known OSes of get_os_release func and sort the list alphabetically * packaging: fix `validate_package_trees` func exists before executing it
Summary
My system:
There are two errors during execution of
install-requred-packages.sh
.Unknown distribution ID: manjaro
validate_tree_arch: command not found
First one is minor and is likely expected but it makes me thingking that something is going wrong.
This PR fixed both errors.
Component Name
packaging
Test Plan
I did no tests, i think ci should be enough.
Additional Information