Opened 7 months ago

Last modified 7 months ago

#30411 new enhancement

Consider rewriting git hooks in Python

Reported by: rl1987 Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Normal Keywords: idea
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

In #30286 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.

Child Tickets

Change History (1)

comment:1 Changed 7 months ago by ahf

Milestone: Tor: unspecified
Version: Tor: unspecified
Note: See TracTickets for help on using tickets.