unthreaded / git-hooks Goto Github PK
View Code? Open in Web Editor NEWSmall, lightweight tool to ensure ticket numbers make it into your Git commit messages
License: MIT License
Small, lightweight tool to ensure ticket numbers make it into your Git commit messages
License: MIT License
Just too many pipelines
feature/GH-34-develop-new-solution
will be considered an exempt branch because it contains dev
in the branch name. Exempt branches should only check from the start.
I would like to compare utilities between coveralls and codecov
Picking people to review your PR is annoying. GitHub supports a "default reviewers" kind of thing. Basically:
These will help:
I'm not exactly sure which one - maybe MIT or GNU?
Rather than using the raw command line arguments array and manual validation, use argparse
mkdir example
cd example
git init
touch A
git add A
git commit -m "Added A"
[22048] Failed to execute script commit_msg_hook
Traceback (most recent call last):
File "src\main\commit_msg_hook.py", line 109, in <module>
File "src\main\commit_msg_hook.py", line 104, in main
File "src\main\hook\commit_msg_hook_runner.py", line 74, in run
File "src\main\hook\commit_msg_hook_runner.py", line 64, in get_current_branch_name
_pygit2.GitError: reference 'refs/heads/example-branch' not found
We don't have a CONTRIBUTING.md
. Let's make one!
It doesn't matter which type of file we use, could be an INI, yml, or something. Anything to make it easy to change the configuration.
In the configuration file, it would be awesome if you could do something like:
URL=https://github.com/unthreaded/git-hooks/issues/${ISSUE}/blahblah
OR, what you do today
URL=https://github.com/unthreaded/git-hooks/issues/
(We just do URL + ISSUE)
The exe is throwing runtime errors.
If you add minor
and patch
to a PR a release isn't created
Say we install this hook somewhere, add it to the path.
Now we can say:
// Enable githooks for this repo, creates the yml file for you
githooks init
// No args gives you status information
githooks
// Allow githooks to update config for you
githooks config add-protected-branch "release/*"
This would be much easier and make more sense after #61 or something similar
You can run Lint.sh
from PyCharm; however, it would be awesome if the lint issues had clickable links to the issue line. Maybe if we make the lint call from Python, PyCharm will take care if this?
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
It would be awesome to look into automating semantic version releases on merge to master.
Before I push my code I want to be able to check for lint errors. This would be much easier if the code were in a script rather than travis.yml
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.