Opened 3 months ago

Last modified 3 months ago

#29603 new enhancement

Make a script that sets up worktrees for the git-* merge scripts

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: git-scripts
Cc: Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor:

Description

We could make a script that sets up the worktrees for git-pull-all, git-merge-forward and git-push-all.

For bonus points:

  • Once we have a standard directory structure, we can put a sensible default config in those scripts.
  • The script should clone tor, set up the remotes, and do a test git-pull-all.
  • Refactor some common configs and functions out of the scripts.

Child Tickets

Attachments (1)

tor-git-new-worktree.sh (706 bytes) - added by dgoulet 3 months ago.

Download all attachments as: .zip

Change History (2)

Changed 3 months ago by dgoulet

Attachment: tor-git-new-worktree.sh added

comment:1 Changed 3 months ago by dgoulet

Just attached a file I hacked up last night for my personal usage. It ain't the best "bash" but it is a good start :). I use it and it is doing what we need so far.

Note: See TracTickets for help on using tickets.