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

Feature Request: add all forks as remotes #1985

Closed
apjanke opened this issue Dec 22, 2018 · 3 comments
Closed

Feature Request: add all forks as remotes #1985

apjanke opened this issue Dec 22, 2018 · 3 comments
Labels

Comments

@apjanke
Copy link
Contributor

apjanke commented Dec 22, 2018

Here's an idea for a feature: a hub remote add --all-forks option that has hub search the fork tree, and add remotes for all the repos in the fork tree, using the appropriate <username> names. This could be useful for project maintainers to track how things are going with all of their contributors.

I see the addition of individual forks was discussed here, but I think this variant goes above and beyond that.

Do you think this would be useful? Or is it more of a silly stunt?

I haven't tried this out myself because I don't have a good tool to do it with.

@mislav mislav added the feature label Dec 27, 2018
@mislav
Copy link
Owner

mislav commented Dec 27, 2018

Hi thank you for the feature idea!

We tend to avoid adding features to hub that we don't think will see much use (reminder that each feature we have to maintain for years to come!). Your example use-case makes sense, but after the remotes have been added, what sort of additional tools would the maintainers use to track progress from these forks? Also, what if I use the --all-forks command for this repo and add 1,447 additional git remotes, most of which would be pretty useless to me?

@apjanke
Copy link
Contributor Author

apjanke commented Jan 7, 2019

I think progress tracking on the branches could be done with regular git tools, like SourceTree or GitUp, since forks are likely to have branches or commits, but typically don't have PRs or Issues of their own, right?

We'd need a 'prune' tool to get rid of unwanted forks. Maybe something like hub remote remove --unused-forks which would remove all forks for which there is not a local branch tracking a branch on them?

@mislav
Copy link
Owner

mislav commented Jan 26, 2019

After some consideration, I have decided that—for now—this is best implemented in user scripts, rather than maintained in hub core. Now that there is a new hub api command, I will close this feature request and leave implementing this as an exercise to the reader. https://github.com/github/hub/releases/tag/v2.8.3 #2016

Thank you for suggesting!

@mislav mislav closed this as completed Jan 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants