Red Hat Bugzilla – Bug 841084
[RFE]RAW_REPOS is better than RAW_TREES in config file.
Last modified: 2014-11-17 21:20:08 EST
Description of problem:
I think RAW_REPOS is better than RAW_TREES in config file, RAW_TREES entries (with "repo_id" fields) and LOCAL_MIRRORS entries (with "mirror_id" fields) map to Pulp repositories, and we already have REMOTE_TREES, when we use CML to do some operation, --tree:REMOTE_TREES, --mirror:LOCAL_MIRRORS, --repo:RAW_TREES, so, I think --repo:RAW_REPOS is better.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This is something QE picked up during the initial testing - the reuse of the "_TREES" suffix is really quite confusing, particularly when the identified field in the RAW_TREES case is called "repo_id" and the command line filtering option is "--repo".
RAW_REPOS is a far more sensible name, and the 3.0 release is our last real chance to fix it before backwards compatible becomes a problem for changing it.
Updated in git
Pushed to staging server in 3.0.12
- "init" command will reject files containing a "RAW_TREES" section
- "init" command will accept files with a "RAW_REPOS" section
Fixed in 0.1.0