-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env python3 | ||
""" | ||
Todo: | ||
* Snapshot the ``src/shelllogger`` directory into another | ||
repository. | ||
* Need ``--dest`` flag for new location for the ``shelllogger`` | ||
directory. | ||
* Need ``--dry-run`` flag to show but not do. | ||
* Ensure the ``ShellLogger`` repo is clean first. | ||
* Ensure the destination repo is clean first. | ||
* Run ``rsync -cav --delete`` to copy the contents from one place to | ||
the other. | ||
* Run ``git add .`` in the new location to stage the new files in | ||
the new repo. | ||
* Get the git remote URL from the original repo and the git log for | ||
the latest commit. | ||
* Commit in the new repo with a message indicating where the | ||
snapshot came from. | ||
See Also: | ||
* /~https://github.com/sandialabs/compadre/blob/master/scripts/snapshot_into_trilinos.py | ||
* /~https://github.com/TriBITSPub/TriBITS/blob/master/tribits/python_utils/SnapshotDir.py | ||
""" |