Skip to content
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't make mrb gitCheckout --fork work #18

Open
PetrilloAtWork opened this issue Jul 5, 2023 · 1 comment
Open

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

PetrilloAtWork opened this issue Jul 5, 2023 · 1 comment
Assignees
Labels
support Support requested on code usage or environment

Comments

@PetrilloAtWork
Copy link

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 [email protected]: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?

@PetrilloAtWork
Copy link
Author

This should be labelled "Support", but as a user I can't assign labels (including the "high priority" mentioned in the template issue, incidentally).

@PetrilloAtWork PetrilloAtWork changed the title Can't make mrb gitCheckout --fork work Can't make mrb gitCheckout --fork work [support] Jul 5, 2023
@knoepfel knoepfel added the support Support requested on code usage or environment label Jul 6, 2023
@knoepfel knoepfel changed the title Can't make mrb gitCheckout --fork work [support] Can't make mrb gitCheckout --fork work Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support requested on code usage or environment
Projects
None yet
Development

No branches or pull requests

3 participants