Skip to content

Add Wget dependency #248

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

Merged
merged 2 commits into from
Aug 20, 2020
Merged

Add Wget dependency #248

merged 2 commits into from
Aug 20, 2020

Conversation

dtoki
Copy link
Contributor

@dtoki dtoki commented Aug 19, 2020

Adds Wget as a zero dependency

closes #227

@dtoki dtoki requested a review from davidcheung August 19, 2020 21:07
@dtoki dtoki self-assigned this Aug 19, 2020
cmd/check.go Outdated
command: "wget",
args: []string{"--version"},
regexStr: `^GNU Wget (0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)`,
minVersion: "1.20.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like 1.20.3 is the latest one, people may not update their wget often
might be safer to go with some older versions as I doubt there's many breaking changes on wget

do you think it'll be good to allow some older versions too?

https://ftp.gnu.org/gnu/wget/?C=M;O=D

Copy link
Contributor Author

@dtoki dtoki Aug 19, 2020

Choose a reason for hiding this comment

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

Right! We're all probably using and testing on1.20.3 but I'm comfortable supporting a few minor version back 1.14.0 released in 2012. or further back?

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah 2012 definitely seems far back enough, I think as long as it covers most people's new computer cycle then its good 👍

@@ -143,6 +143,14 @@ var checkCmd = &cobra.Command{
minVersion: "2.17.1",
docsURL: "https://git-scm.com/book/en/v2/Getting-Started-Installing-Git",
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you also bump the terraform to 0.13 please, the EKS stack's terraforms are now using some 0.13 features

@bmonkman
Copy link
Contributor

Can you also please add it as a dependency for brew in .goreleaser.yml?

* change wget min version

* add wget to goreleaser config
@dtoki dtoki merged commit d53d483 into master Aug 20, 2020
@bmonkman bmonkman deleted the 227-wget-dependency branch August 28, 2020 18:57
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.

Wget should be a zero dependency
3 participants