-
Notifications
You must be signed in to change notification settings - Fork 582
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
Can the checkin script be used to test/push a branch to fork of Trilinos #2295
Comments
The simple answer is yes. It is just that you might need to write a little script to call the checkin-test-sems.sh script in this case. I can write up a little wiki howto on the Trilinos GitHub wiki if you would be willing to review it. Sound good? |
@jhux2, I think that if your local branch is already tracking a remote branch on your personal fork then it probably does what you want. |
The checkin-test.py script will always push to whatever the remote tracking branch is. But it will be comparing changes in HEAD to that tracking branch, which is not what you want in a topic branch workflow. Instead, what you want is to compare the changes in HEAD in your topic branch to the GithHub trilinos/Trilinos
To set this up, you just need to be on your topic branch and it must be pointing to a tracking branch in your fork of Trilinos. For example, you can set this up with:
Then you can add commits to your topic branch as you like and run checkin-test-sems.sh (or your own customized checkin-test.py driver) as above by setting But to make this more automatic, I am adding the option
(assuming Is having to manually set |
This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. |
This issue was closed due to inactivity for 395 days. |
Question: Can the checkin script be used to test and push a branch on a fork of Trilinos, and if so, what's the procedure for setting this up?
Context
I would like to use the checkin script to test changes in a local branch within my fork of Trilinos. If all tests pass, ideally the script would then automatically push the branch to my fork. After that, I would issue a pull request against trilinos/Trilinos.
@trilinos/framework @bartlettroscoe
The text was updated successfully, but these errors were encountered: