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

🚨 Project sunsetting 🌆 #98

Open
dnephin opened this issue Nov 20, 2022 · 6 comments
Open

🚨 Project sunsetting 🌆 #98

dnephin opened this issue Nov 20, 2022 · 6 comments

Comments

@dnephin
Copy link
Owner

dnephin commented Nov 20, 2022

Hello everyone,

Unfortunately I no longer have the time or motivation to maintain this project. I have not used pre-commit or these hooks in a few years. I never added tests to the project, so it's difficult for me to review and approve pull requests with any confidence. There have been a number of PRs that have broken things for other people. There are still plenty of bugs to fix, and there are frequent requests to publish new releases.

There are already other projects offering pre-commit hooks for Go. You can find a list here: https://pre-commit.com/hooks.html. Some of those seem to offer a lot more than this project.

If someone is really keen on maintaining these hooks I can link to your fork from the README to redirect people to the new fork. Either way, I will likely be archiving this project sometime in the next year.

I'd like to thank everyone who has contributed to this project. I hope it was a reasonably pleasant experience.

@dnephin dnephin pinned this issue Nov 20, 2022
@dnephin dnephin changed the title Project sunsetting 🚨 Project sunsetting Nov 20, 2022
@dnephin dnephin changed the title 🚨 Project sunsetting 🚨 Project sunsetting 🌆 Nov 20, 2022
@trallnag
Copy link

Did you stop using Git hooks altogether?

@dnephin
Copy link
Owner Author

dnephin commented Nov 22, 2022

Yes, I don't really use git hooks anymore. I'll run tests on every file save, and my IDE mostly takes care of formatting and import order every time a file is save. I might do a full test run and lint before committing, but I run it manually. CI catches anything I missed, but it happens infrequently enough.

@trallnag
Copy link

ok, thanks for the insight

@guettli
Copy link

guettli commented Dec 21, 2022

@dnephin "tests on every save" This sound interesting. Could you please share how you do this?

@dnephin
Copy link
Owner Author

dnephin commented Dec 21, 2022

Ya, I get a ton of value from running tests on every save!

I use gotestsum --watch -ftestname -- -count=1. Sometimes if I'm working in a large project I'll add -short or -run=<name> to that command to run a subset of tests in the package.

More details about that here: https://github.com/gotestyourself/gotestsum#run-tests-when-a-file-is-saved

By default this runs only the tests in the package that changed (because generally those are the relevant tests), but if your test suite is fast enough and you want to run every test, you could also use ./... at the end of the command to run everything.

@tonsV2
Copy link

tonsV2 commented Feb 12, 2023

Maybe archive and refer to this project instead?

amolkahat added a commit to amolkahat/glance-operator that referenced this issue Feb 22, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using unmainted
repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/heat-operator that referenced this issue Feb 22, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/ironic-operator that referenced this issue Feb 22, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/keystone-operator that referenced this issue Feb 22, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/mariadb-operator that referenced this issue Feb 22, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/neutron-operator that referenced this issue Feb 22, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/neutron-operator that referenced this issue Feb 22, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/nova-operator that referenced this issue Feb 22, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/openstack-operator that referenced this issue Feb 22, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/neutron-operator that referenced this issue Feb 23, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/mariadb-operator that referenced this issue Feb 23, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/keystone-operator that referenced this issue Feb 23, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/nova-operator that referenced this issue Feb 27, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/openstack-operator that referenced this issue Feb 27, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/neutron-operator that referenced this issue Feb 28, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/nova-operator that referenced this issue Mar 1, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/openstack-operator that referenced this issue Mar 6, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/nova-operator that referenced this issue Mar 6, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/nova-operator that referenced this issue Mar 9, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/openstack-operator that referenced this issue Mar 9, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
SeanMooney pushed a commit to amolkahat/nova-operator that referenced this issue Mar 14, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/nova-operator that referenced this issue Mar 15, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/openstack-operator that referenced this issue Mar 18, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/nova-operator that referenced this issue Mar 21, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/mariadb-operator that referenced this issue Mar 21, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98

Signed-off-by: Amol Kahat <[email protected]>
amolkahat added a commit to amolkahat/nova-operator that referenced this issue Mar 27, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/openstack-operator that referenced this issue Mar 27, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/nova-operator that referenced this issue Mar 27, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/openstack-operator that referenced this issue Mar 27, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/openstack-operator that referenced this issue Mar 27, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
amolkahat added a commit to amolkahat/openstack-operator that referenced this issue Mar 28, 2023
Updating pre-commit hook with make. pre-commit-golang
repo is no longer maintained[1]. Instead of using
unmaintained repo we can use make to run pre-commit.

[1] dnephin/pre-commit-golang#98
stefanvanburen added a commit to stefanvanburen/small that referenced this issue Sep 24, 2023
I still think pre-commit is a good idea (for certain things and certain
projects), but don't feel strong enough to maintain this right now, and
dnephin has [sunsetted the project][1].

[1]: dnephin/pre-commit-golang#98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants