Skip to content

Can't make mrb gitCheckout --fork work #18

@PetrilloAtWork

Description

@PetrilloAtWork

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?

Metadata

Metadata

Assignees

Labels

supportSupport requested on code usage or environment

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions