GithubHelp home page GithubHelp logo

p7g / autohook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from autohook/autohook

1.0 1.0 1.0 108 KB

A very, very small Git hook manager with focus on automation

License: MIT License

Shell 100.00%

autohook's People

Contributors

kyle-verhoog avatar nkantar avatar p7g avatar wilau2 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

kyle-verhoog

autohook's Issues

Don't short-circuit on failed scripts

What's the issue?

Currently, a failed script will immediately cause the program to stop. This may be desirable in some cases, but often times there will be multiple scripts that will fail. If the whole thing exits after the first failed script, it becomes difficult to fix all issues at once, and can result it a commit taking many attempts, which is pretty annoying.

This might be the kind of thing that should be configurable as a command-line argument, like --strategy fail-fast or something.

autohook_fifo_**** directories not cleaned up when using VSCode git integration

What's the issue?

Using git checkout commands in VSCode cause these directories not to be cleaned up, and a bunch of background processes don't get cleaned up:

sciyoshi 31015  0.0  0.0  14464  3848 tty2     S+   00:00   0:00 git checkout -q -b dhall --no-track HEAD
sciyoshi 31016  0.0  0.0  10212  4020 tty2     S+   00:00   0:00  \_ bash .git/hooks/post-checkout 7f32868953a15638f89da919d535d2c438c4541c 7f32868953a15638f89da919d535d2c438c4541c 1
sciyoshi 31031  0.0  0.0  10212  2564 tty2     S+   00:00   0:00      \_ bash .git/hooks/post-checkout 7f32868953a15638f89da919d535d2c438c4541c 7f32868953a15638f89da919d535d2c438c4541c 1
sciyoshi  6506  0.0  0.0 312312  8376 tty2     S+   00:05   0:00 git checkout -q
sciyoshi  6515  0.0  0.0  10212  4004 tty2     S+   00:05   0:00  \_ bash .git/hooks/post-checkout dc38beb12103d57e8b9cb9bc53b5fcf735a18433 dc38beb12103d57e8b9cb9bc53b5fcf735a18433 1
sciyoshi  6530  0.0  0.0  10212  2552 tty2     S+   00:05   0:00      \_ bash .git/hooks/post-checkout dc38beb12103d57e8b9cb9bc53b5fcf735a18433 dc38beb12103d57e8b9cb9bc53b5fcf735a18433 1
sciyoshi  6561  0.0  0.0 115704  8284 tty2     S+   00:05   0:00 git checkout -q
sciyoshi  6570  0.0  0.0  10212  3804 tty2     S+   00:05   0:00  \_ bash .git/hooks/post-checkout dc38beb12103d57e8b9cb9bc53b5fcf735a18433 dc38beb12103d57e8b9cb9bc53b5fcf735a18433 1
sciyoshi  6585  0.0  0.0  10212  2496 tty2     S+   00:05   0:00      \_ bash .git/hooks/post-checkout dc38beb12103d57e8b9cb9bc53b5fcf735a18433 dc38beb12103d57e8b9cb9bc53b5fcf735a18433 1
sciyoshi  6613  0.0  0.0 312312  8244 tty2     S+   00:05   0:00 git checkout -q
sciyoshi  6622  0.0  0.0  10212  3848 tty2     S+   00:05   0:00  \_ bash .git/hooks/post-checkout dc38beb12103d57e8b9cb9bc53b5fcf735a18433 dc38beb12103d57e8b9cb9bc53b5fcf735a18433 1
sciyoshi  6637  0.0  0.0  10212  2600 tty2     S+   00:05   0:00      \_ bash .git/hooks/post-checkout dc38beb12103d57e8b9cb9bc53b5fcf735a18433 dc38beb12103d57e8b9cb9bc53b5fcf735a18433 1
sciyoshi  6658  0.0  0.0 312312  8292 tty2     S+   00:05   0:00 git checkout -q
sciyoshi  6669  0.0  0.0  10212  4096 tty2     S+   00:05   0:00  \_ bash .git/hooks/post-checkout dc38beb12103d57e8b9cb9bc53b5fcf735a18433 dc38beb12103d57e8b9cb9bc53b5fcf735a18433 1
sciyoshi  6684  0.0  0.0  10212  2608 tty2     S+   00:05   0:00      \_ bash .git/hooks/post-checkout dc38beb12103d57e8b9cb9bc53b5fcf735a18433 dc38beb12103d57e8b9cb9bc53b5fcf735a18433 1
sciyoshi 30193  0.0  0.0   8860   924 pts/3    S+   09:16   0:00      \_ grep --color=auto git

Update documentation

What's the issue?

The documentation in the readme is whatever was there when I forked this repository. That would normally be okay, but there have been extensive changes to the code base, so a lot of it is no longer accurate.

Add uninstall command

What's the issue?

There's no non-manual way of uninstalling the hooks that autohook installs. It would be nice to let users easily uninstall the hooks if they don't like them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.