Bug 841084

Summary: [RFE]RAW_REPOS is better than RAW_TREES in config file.
Product: [Community] PulpDist Reporter: xuezhi ma <xma>
Component: z_otherAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: unspecifiedCC: jzhao
Target Milestone: 0.1.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-07 07:08:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description xuezhi ma 2012-07-18 06:16:38 UTC
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):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Nick Coghlan 2012-07-18 06:58:47 UTC
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.

Comment 2 Nick Coghlan 2012-07-23 03:54:28 UTC
Updated in git

Comment 3 Nick Coghlan 2012-07-25 04:55:14 UTC
Pushed to staging server in 3.0.12

Expected behaviour:
- "init" command will reject files containing a "RAW_TREES" section
- "init" command will accept files with a "RAW_REPOS" section

Comment 4 Nick Coghlan 2012-09-07 07:08:23 UTC
Fixed in 0.1.0