Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #30411

Closed (moved)
(moved)
Open
Created May 06, 2019 by rl1987@rl1987

Consider rewriting git hooks in Python

In #30286 (moved) we're looking into fixing pre-push hook to inspect only the commits that originate from the branch being pushed and that seems to be pretty complicated to do with shell scripting alone. As our git hook complexity grows, it may become worthwhile to write them in Python and use some Python module (e.g. GitPython) to have deeper integration with git repository.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking