-
Notifications
You must be signed in to change notification settings - Fork 42
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 config profile option #145
Conversation
e314111
to
026163e
Compare
This looks good to me. 👍 |
026163e
to
8404f11
Compare
I'm going to add some tests... |
8404f11
to
7afdae0
Compare
I moved some tests i think are not testing pulpcore in any reasonable way out of the pulpcore test directory. |
7afdae0
to
dece7be
Compare
tests/scripts/test_config.sh
Outdated
@@ -29,6 +30,14 @@ expect_fail pulp --username test --password test --client "/some/path" status | |||
expect_fail pulp --key "/some/path" file remote list | |||
|
|||
|
|||
# CONFFIG PROFILE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# CONFFIG PROFILE | |
# CONFIG PROFILE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm this keyboard of mine is really oversensitive...
995ede4
to
3f7cc1f
Compare
This allows to select different profiles from the config file to load a different set of default values. The default profile is the one with the section name "cli". Other profiles can be provided by adding sections with names like "cli-<profile>". The profile "cli-sandbox" e.g. can be selected with "pulp --profile sandbox <...>". [noissue]
3f7cc1f
to
8b6bcb4
Compare
This is a request for comment.
Do we want something like this?