Skip to content

Helper to setup and run various checks (like codespell or shellcheck) for a github project

License

Notifications You must be signed in to change notification settings

yarikoptic/improveit

Repository files navigation

improveit

Trivial helpers to setup and run codespell or shellcheck'ing for a GitHub project.

All are just script in the top directory ATM, place them into your PATH for convenience or just invoke with full path, e.g.

cd /root/of/project/git
shellcheckit  # to generate remote clone, add remote, commit workflow
prit  # send a PR

Disclaimer: they are ad-hoc and ugly, but work! Use at your own risk and/or pleasure.

Improvement or proper reimplementation PRs are welcome.

Dependencies

  • Uses GitHub gh client (sudo apt-get install gh on Debian-based systems).

  • Relies on two config vars being set in your global ~/.gitconfig (pardon for historical inconsistency), optionally:

    • github.user -- username on github to use to add remote named after it with prefix gh-, i.e. for me it is gh-yarikoptic.

    • hub.oauthtoken -- token to use if no GITHUB_TOKEN variable is set. I would recommend to not store in the default ~/.gitconfig which you might eventually share with someone. One solution is to have dedicated config like ~/.gitconfig-private with restricted permissions and outside of any VCS, and then add to your ~/.gitconfig

      [include]
      path = ~/.gitconfig-private
      

About

Helper to setup and run various checks (like codespell or shellcheck) for a github project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages