Page MenuHomeFreeBSD

Add some tools to simplify the use of git
ClosedPublic

Authored by rstone on Mar 16 2015, 2:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 1:19 PM
Unknown Object (File)
Fri, Apr 26, 1:16 PM
Unknown Object (File)
Fri, Apr 26, 1:16 PM
Unknown Object (File)
Fri, Apr 26, 11:49 AM
Unknown Object (File)
Fri, Apr 26, 7:59 AM
Unknown Object (File)
Sat, Apr 20, 3:58 AM
Unknown Object (File)
Sat, Apr 20, 3:55 AM
Unknown Object (File)
Mar 15 2024, 1:37 PM
Subscribers

Details

Summary

Add some scripts that wraps some FreeBSD Project infrastructure
and simplifies using them with git. The scripts are:

  • arcgit, which creates a series of reviews in Differential
  • importgit, which applies a series of git commits to svn

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rstone retitled this revision from to Add some tools to simplify the use of git.
rstone edited the test plan for this revision. (Show Details)
rstone updated this object.

arcgit is a pretty handy script, thanks! It's slightly annoying that one has to remember to use "-r C1~..C2" instead of "-r C1..C2" for an inclusive range of commits, although I guess that's consistent with git commands. Maybe include the "~" in the usage message?

It'd also be useful to have some sort of semi-dry run mode. I just used it for the first time and wanted to try creating reviews without specifying any reviewers, but the interface doesn't allow that. I just commented out the section that adds them and manually added them in the browser after the reviews were created.

tools/tools/git/arcgit
43 ↗(On Diff #4235)

This should be "-r commit1..".

Add -n option to arcgit to perform a dry run, and fix some typos.

This revision was automatically updated to reflect the committed changes.