andyfeller / gh-publicize

GitHub CLI extension to publish content from source repository into multiple target repositories.
MIT License
14 stars 3 forks source link

Add `--hostname` support for GHES use cases #8

Open andyfeller opened 1 year ago

andyfeller commented 1 year ago

Overview

In order to support GHES users, gh-publicize needs a --hostname flag that will set GH_HOST environment variable, affecting subsequent gh commands. This is something I did in andyfeller/gh-repo-export but left off given I primary work on GHEC.

https://github.com/andyfeller/gh-repo-export/blob/1ed7b1b5c849a043f5cead2f9c9a16a728b79ce2/gh-repo-export#L107-L109

Big thanks to @tspascoal for the feedback!

Action Items

- [ ] Implement `--hostname` flag
- [ ] Test against GHES instance and correct any failing issues
- [ ] Update documentation
andyfeller commented 1 year ago

Initial testing was failing due to a limitation within gruntwork-io/git-xargs with the good news that @kennyg opened https://github.com/gruntwork-io/git-xargs/pull/132 the other day ❤️. Once this gets reviewed by @brikis98, I'll be able to complete this work.

An010299 commented 12 hours ago

Hi, Whats do you doing here? Whats your ocupation?