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

Add repo subcommand to operate on collection of repos #22

Merged
merged 4 commits into from
Aug 30, 2018
Merged

Conversation

kylef
Copy link
Owner

@kylef kylef commented Jul 22, 2018

Sometimes you might want to perform some bulk operation on a collection of repositories, for example adding and committing a file. Checking they are all synced, or even running reports by checking a collection of repositories.

The maintain repo group brings a collection of sub-commands to operate on multiple repos. Right now it looks for all .git repos in subdirectories, in the future I want to be able to provide configuration or dynamic providers. You should be be able to define the repos to use and their paths in a config file so that you can use them to perform actions even if you don't have repos locally, for example mass cloning all of them on a new system. Another type of repo list "provider" I'd like to see is a dynamic one, for example to populate all of the repos in a GitHub org or user so that you can mass clone an entire org/user.


  1. Does the repo name make sense for subcommand? Could git or repos make more sense?

@kylef kylef requested a review from kattrali July 22, 2018 09:53
Repo
====

Commands to operate on a collection of repositories at a time.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The summary should mention that this functionality is git-specific

@kylef kylef merged commit ac8685e into master Aug 30, 2018
@kylef kylef deleted the kylef/repo branch August 30, 2018 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants