Helps you tracks source changes between two repositories
APACHE-2.0 License
This is a tool that makes it easier to track source code changes between two repositories. This tool was originally developed for use by the RobotPy project, and made it easier for me to maintain a python port of various Java libraries.
This tool assumes there is an 'original' git repository, and a 'destination' git repository that is being validated. There is assumed a one to one relationship between various original and destination files. This tool provides quick and easy shortcuts to allow you to record metadata in the destination files that allow you to track changes in the source files:
::
pip install git-source-track
Create a file called '.gittrack' in the root of the destination git repository that has the following ini-style format::
[git-source-track]
# Original files
upstream_root = ../path/to/files
# Commit in original repository
upstream_commit = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Files that are being validated
validation_root = path/to_files
# (optional) Commits to exclude from git log output
exclude_commits_file = foo/exclude_commits.txt
# (optional) Specify location to place validation line (first or last)
default_location = first
# (optional) Primary branch of upstream repository
upstream_branch = main
Now you can issue git commands and magic will happen!
See the help command for more information.
::
$ git source-track help
Pull requests are welcome to fix any of these problems. :)
Dustin Spicuzza ([email protected])