Add Git Hooks #1
Labels
No Label
Blocked
Duplicate
In-progress
On-hold
Peer-review
RFC
Wontfix
Blocked
Duplicate
In-progress
On-hold
Peer-review
RFC
Wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: AniNIX/Uniglot#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Uniglot should provide the standard git hooks that we want all of our repos to use to enforce standards and quality of life. We will need to add a script that takes a project like
AniNIX/Uniglot
and will git-clone it to~/src/$project
while updating the hooks config variable to point to Uniglot's.These hooks need to be made idempotent for the pre-receive and pre-commit hooks, with some list of excludes, like pytest.
uniglot-clone
was added in39c2229a1e
. Hooks at this point are stable, though we aren't doing much for server-side hooks yet. That may come in a future release.