-
Notifications
You must be signed in to change notification settings - Fork 120
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
GH Action does not work with Alpine #769
Comments
As far as I can tell, |
I cannot install regular |
It was added for #714.
Could you give more details? I thought its available within Alpine Linux? What I'm needing to understand with this is why a non-conformant polyfills for the canonical implementation of a tool should be supported. |
AFAK the package /wo preogress option is regular Alpine package - https://pkgs.alpinelinux.org/package/v3.18/main/x86_64/wget - compiling or downloading a non-standard/"full" wget would be very complicated. I think some Alpine cond can be added like: Where is |
Looking at the |
Well, the version is in the releases https://github.com/crate-ci/typos/blob/v1.15.7/action/entrypoint.sh#L37 hardcoded anyway, what about commiting the build in the release itself /wo any download? Then the GH Action downloaded will handle the download in the most robust way by itself. |
Here is what non-native/Alpine default wget prints for help (
Are you ok to match the support based on the 1st line/version? |
Could you clarify what you mean?
Not quite a fan of programmatically processing human output |
Me neither, but it should be not a problem, as long as the "standard" alternative represents a fallback. In order to use this tool without too much CI code, I need to be able to use it out of the box on Alpine. So what is the best way to fix it /wo requiring to install GNU |
Could you clarify why installing GNU wget is insufficient? That seems like the natural workaround but no reason has been given for why it doesn't apply in your situation. |
Because we want to have out CI setup clean as possible. When we will install The same question, why this tool should not work with Alpine wget? |
|
We however have full curl installed. What about checking if curl is installed first and using it instead of wget? The check of curl binary will be clean and in theory, this will help also non-Alpine users. |
Alpine Linux is very common in CIs so I think a check as I introduced in #772 would spare typos users from this pitfall. I think checking |
@epage wdyt about this solution, ie. try to use curl when available first? |
We could possibly switch completely curl, depending on how the output is seeing as we made the change to intentionally improve output for some of our users. However, I've still not seen an explanation justifying a change. Why can't the actual wget be installed instead of the knock off version or alternative tools? |
Any extra install requirement is degrading the UX, it costs an extra bandwidth, config LoC and possibly requires cleanup if they are additional CI steps. From your words, it seems you are worried about mainly about additional LoC in this project. Would you accept a PR if the PR will contain CI testing for both like in my ccache hendrikmuhs/ccache-action#145? |
Can you quantify this? As an outsider to this problem, this feels like over-optimizing something that doesn't matter
That isn't what I said. Frankly, this makes me tempted to close this issue due to a lack of being productive because I feel like participants have not been engaging with good faith but just repeatedly push what they want without communicating the motivations. |
repro:
CI result: https://github.com/atk4/ui/actions/runs/5378282318/jobs/9757872912#step:10:19
it seems you use non-POSIX
wget
progress
option.The text was updated successfully, but these errors were encountered: