microplane icon indicating copy to clipboard operation
microplane copied to clipboard

Skip archived repos in org

Open nitrocode opened this issue 4 years ago • 3 comments

This is one of my favorite tools. Thank you very much for opening the issues tab.

It would be nice when using

mp init "<org>" --all-repos

to have a flag for --skip-archived so we can skip initializing archived repos.

nitrocode avatar Apr 05 '21 22:04 nitrocode

Thanks for the suggestion and glad you're enjoying using microplane! We'll keep this in mind as a future improvement, and are also open to PRs from the community.

nathanleiby avatar May 17 '21 23:05 nathanleiby

Just hit this one myself, and was thinking about trying to fix it. Archived repos are always read-only right? Maybe we should have it skip archived repos, because you wouldn't be able to push a branch to create a PR.

dbirks avatar May 22 '21 02:05 dbirks

Yes, archived repos in Github are read-only (docs), so it makes sense to skip them completely.

nathanleiby avatar May 23 '21 04:05 nathanleiby