-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve "Create Script to Snapshot Compadre into Trilinos" #176
Resolve "Create Script to Snapshot Compadre into Trilinos" #176
Conversation
@kuberry, this is ready for review if you want to take a look at it. Unfortunately you won't be able to test it yet, because we are waiting for TriBITS#308 to be merged, and then I also need to do some work to make the Let me know if you have any questions/comments/feedback. |
The other PR we're waiting on is TriBITS#311. After that and TriBITS#308 are merged, and then after TriBITS is snapshotted into Trilinos, you'll be able to test this script for real. |
Create script to snapshot the Compadre repository containing the script into the Trilinos pointed to on the command line, excluding the kokkos, kokkos-kernels, python, and scripts directories, utilizing the SnapshotDir utility from TriBITS under the hood.
Yes, we'll need those to be merged and then snapshotted into Trilinos before this script will work, but you can comment / ask questions on the script now. |
TriBITS#308 and TriBITS#311 have been merged, but now we need to wait for Trilinos#7136 to snapshot TriBITS into Trilinos before we can test this script. |
@kuberry, TriBITS has been updated within Trilinos, so you should be able to test this out. Here's the help:
We're not ready to actually snapshot Compadre into Trilinos yet, so once you've tested that the snapshot works, you probably don't want to push anything anywhere. If you want to remove the snapshot commit from your local clone of Trilinos, just |
Hi @jmgate, so I want to clone Trilinos and checkout develop or master? Then, I go into the compadre repo and run the commands you specified? |
Best way to do it would be to checkout some branch off of git clone [email protected]:trilinos/Trilinos
cd Trilinos
git checkout develop
git checkout -b compadre-snapshot
mkdir -p packages/compadre # This will only need to be done the first time so the directory exists.
/path/to/compadre/scripts/snapshot_into_trilinos.py --trilinos-dir . --dry-run Let me know if any of the documentation or testing needs clarification or anything. |
Hi @jmgate, here is the current output: Any suggestions? Thank you. |
|
Might need to add a check that the dir given is actually the Trilinos root. |
@jmgate, sorry that I missed switching directories last night (went into the compadre folder).
|
In this case, I took your feature branch and checked it out as 'master' |
Would you mind scheduling a Skype meeting where we can screen-share? |
Hi @jmgate, please also exclude: Everything else looks great. Thanks! |
Ensure --trilinos-dir points to the root of the Trilinos repository.
@kuberry, I excluded those additional files, and then also added a check to ensure that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jmgate, this looks good.
Create script to snapshot the Compadre repository containing the script into the Trilinos pointed to on the command line, excluding the
kokkos
,kokkos-kernels
,python
, andscripts
directories, utilizing theSnapshotDir
utility from TriBITS under the hood.Closes #175.