mrb gitCheckout has a --fork option that should create a user fork in GitHub as needed, and set up the GIT remotes accordingly.
But I can't make it work:
mrb g --dry-run --fork icaruscode
only says it will check out the repository, no mention of forking (and without --dry-run, it will only check out):
INFO: would execute command git clone git@github.com:SBNSoftware/icaruscode.git icaruscode
INFO: Would update CMakeLists.txt for checked-out repository icaruscode
Peeking at the code, it looks like forking is attempted only if there is some post-processing stage registered in MRB, which happens only for the Fermilab Redmine repositories. My my PERL is (proudly) rusty, so I might be missing the point.
What is the correct way to use this feature?
mrb gitCheckouthas a--forkoption that should create a user fork in GitHub as needed, and set up the GIT remotes accordingly.But I can't make it work:
only says it will check out the repository, no mention of forking (and without
--dry-run, it will only check out):Peeking at the code, it looks like forking is attempted only if there is some
post-processing stage registered in MRB, which happens only for the Fermilab Redmine repositories. My my PERL is (proudly) rusty, so I might be missing the point.What is the correct way to use this feature?