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 support for a style option for repo indicator #160

Merged
merged 5 commits into from
May 19, 2021

Conversation

mathomp4
Copy link
Member

With this PR, one can do:

mepo init --style <foo>

or:

mepo clone --style <foo> URL

and the --style <foo> can be one of naked, prefix, and postfix with the default as prefix as that is the current dominant style.

These styles are prefix leads to @subrepo, postfix leads to subrepo@, and naked leads to subrepo when mepo clones the subrepos

@mathomp4 mathomp4 added the enhancement New feature or request label May 19, 2021
@mathomp4 mathomp4 marked this pull request as ready for review May 19, 2021 13:49
@mathomp4 mathomp4 requested a review from a team as a code owner May 19, 2021 13:49
@mathomp4 mathomp4 marked this pull request as draft May 19, 2021 13:50
@mathomp4
Copy link
Member Author

Converting back to draft as repos need .gitignore support first.

metavar = 'style-type',
nargs = '?',
default = 'prefix',
choices = ['naked', 'prefix','postfix'],
Copy link
Contributor

Choose a reason for hiding this comment

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

I amusingly suggested to the requestor that we allow alternate spellings for these: Tom|Matt|Arlindo.

@mathomp4 mathomp4 linked an issue May 19, 2021 that may be closed by this pull request
@mathomp4 mathomp4 marked this pull request as ready for review May 19, 2021 17:25
@mathomp4
Copy link
Member Author

Actually, I might pull this into develop as I think it works. I just won't pull into main until more testing is done.

@mathomp4 mathomp4 merged commit aa0ea99 into develop May 19, 2021
@mathomp4 mathomp4 deleted the feature/mathomp4/flexible-commercial-at branch May 19, 2021 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mepo style for local name of repos
2 participants