gh-gei icon indicating copy to clipboard operation
gh-gei copied to clipboard

Provide an option to inherit the visibility of the source repository

Open kmaehashi opened this issue 2 years ago • 3 comments

Description

We have been migrating from GHES to GHEC. Currently, we have to implement a wrapper tool of gh gei to pass the visibility of the source repository to the --target-repo-visibility option. It would be great if the tool has an option to inherit the repository visibility (private/internal) from GHES to GHEC, e.g., --target-repo-visibility inherit.

kmaehashi avatar May 18 '23 07:05 kmaehashi

@kmaehashi Thanks for reaching out! I do agree that this would be a nice feature to add. For what it's worth, if you use gh gei generate-script, it will automatically inherit the current visibility.

timrogers avatar May 18 '23 09:05 timrogers

Thanks for the tip, didn't know that! 😃

kmaehashi avatar May 18 '23 16:05 kmaehashi

I still think this would be a good thing to support though 🙏🏻

timrogers avatar May 18 '23 17:05 timrogers