Skip to content
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

Deprecate Go < 1.14 #1323

Merged
merged 1 commit into from Feb 1, 2021
Merged

Conversation

jharshman
Copy link
Collaborator

In accordance with our adopted best practices, the main branch and the
next major release of Cobra will deprecate older and un-maintained
versions of Golang.

fix #1322

@jharshman jharshman self-assigned this Jan 29, 2021
@jharshman
Copy link
Collaborator Author

@umarcor I would actually like to incorporate some of the changes from #1044. Namely the addition of golangci-lint and the fixes to the issues the linters surface.

Let me know how you would like to proceed with that PR.

@jharshman jharshman added this to the Next milestone Jan 29, 2021
Copy link
Collaborator

@jpmcb jpmcb left a comment

Choose a reason for hiding this comment

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

Does this also need changes in go.mod? I see

 go 1.12

Will this need to be updated to 1.14?

@jharshman
Copy link
Collaborator Author

@jpmcb good catch, yes that should be updated as well.

@umarcor
Copy link
Contributor

umarcor commented Jan 29, 2021

@jharshman, please, go ahead with this. I will then rebase and cleanup on top of master. Adding golangci-lint and so is not strictly related to this, but it will make it easier if I can focus on >1.11 features only. FTR, I did split the initial golangci-lint into two PRs for keeping >1.11 features isolated. Now, both can be merged again, so I will close one of them.

Copy link
Collaborator

@jpmcb jpmcb left a comment

Choose a reason for hiding this comment

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

Sweet - Thanks @jharshman looks good to me! 👍

In accordance with our adopted best practices, the main branch and the
next major release of Cobra will deprecate older and un-maintained
versions of Golang.

fix spf13#1322
@jharshman
Copy link
Collaborator Author

Merging w/o latest CI run. TravisCI still queuing and takes forever. Seems to be related to their switch from .org to .com.

@jharshman jharshman merged commit 1d71ff0 into spf13:master Feb 1, 2021
@umarcor
Copy link
Contributor

umarcor commented Feb 2, 2021

@jharshman, unfortunately, I don't think it's a transitory issue. The switch from .org to .com has been going on for 2-3 years. However, they recently changed their pricing model. Free resources for open source projects were significantly reduced, and maintainers need to periodically request additional "credits". Since this projects is in spf13's namespace, I guess that only he can see the state of the credits.

In practice, most open source projects are migrating from Travis CI to somewhere else, mostly GitHub Actions.

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.

Deprecate Go Versions < 1.14
3 participants