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 config profile option #145

Merged
merged 1 commit into from
Feb 20, 2021
Merged

Add config profile option #145

merged 1 commit into from
Feb 20, 2021

Conversation

mdellweg
Copy link
Member

This is a request for comment.
Do we want something like this?

@mdellweg mdellweg force-pushed the config_profile branch 2 times, most recently from e314111 to 026163e Compare February 17, 2021 09:21
@daviddavis
Copy link
Contributor

This looks good to me. 👍

@mdellweg mdellweg marked this pull request as ready for review February 19, 2021 13:47
@mdellweg
Copy link
Member Author

I'm going to add some tests...

@mdellweg mdellweg added this to the 0.5.0 milestone Feb 19, 2021
@mdellweg
Copy link
Member Author

I moved some tests i think are not testing pulpcore in any reasonable way out of the pulpcore test directory.
@daviddavis is this OK for you?

@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# CONFFIG PROFILE
# CONFIG PROFILE

Copy link
Member Author

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...

@mdellweg mdellweg force-pushed the config_profile branch 2 times, most recently from 995ede4 to 3f7cc1f Compare February 20, 2021 18:19
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]
@mdellweg mdellweg merged commit 2cdabe5 into pulp:develop Feb 20, 2021
@mdellweg mdellweg deleted the config_profile branch February 20, 2021 18:48
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.

2 participants