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: Dynamic repositories detection while processing certain directory #72

Open
P0Lx opened this issue Nov 8, 2022 · 3 comments
Open

Comments

@P0Lx
Copy link

P0Lx commented Nov 8, 2022

In my use case the number of repos in a directory can change over time.

Therefore I need to register them before any mu operation.

A nice solution for that would by a dynamic detection of all repos in certain directory.

For example in the .mu_repo file by adding property like this:

repo=directory\*

Would cause mu-repo first to detect all repositories in the indicated directory, and than execute git operation on it.

@P0Lx
Copy link
Author

P0Lx commented Nov 8, 2022

One level of repositories detection is enough for me, but by adding property

repo=directory\**

can cause deep repo detection.

@fabioz
Copy link
Owner

fabioz commented Nov 8, 2022

@P0Lx are you interested in providing a PR for that?

i.e.: I don't have a use for this myself (and thus I won't be implementing it), but I'm open to a PR implementing it.

@Matt-Soft
Copy link

Matt-Soft commented Nov 8, 2022

@fabioz @P0Lx I will provide PR for that

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

No branches or pull requests

3 participants