Bug 751860 - selective sync with --exclude=packages seem to syncing packages
Summary: selective sync with --exclude=packages seem to syncing packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-07 20:14 UTC by Preethi Thomas
Modified: 2013-09-09 16:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:15:54 UTC


Attachments (Terms of Use)

Description Preethi Thomas 2011-11-07 20:14:37 UTC
Description of problem:
selective sync with --exclude=packages seem to syncing packages


[root@preethi ~]# pulp-admin repo sync --exclude=packages --id=repos-pulp-pulp-testing-fedora-15-i386 -F
Sync for repository repos-pulp-pulp-testing-fedora-15-i386 started
Sync: Finished
18/18 new items downloaded
0/18 existing items processed

Item Details: 
RPMs: 18/18


Version-Release number of selected component (if applicable):
[root@preethi ~]# rpm -q pulp
pulp-0.0.244-4.fc15.noarch



3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Pradeep Kilambi 2011-11-07 21:33:03 UTC
commit a221da6098de1acc096028c1debb4dfe6844c2fb

fixed grinder to account for excludes

after fix:

$ sudo pulp-admin -u admin -p admin repo sync --id=testpkg --exclude=packages -F
Sync for repository testpkg started
Sync: Finished
0/0 new items downloaded
0/0 existing items processed

Item Details:

Comment 2 Jeff Ortel 2011-11-08 15:45:50 UTC
build: 0.244-5.

Comment 3 Preethi Thomas 2011-11-08 15:56:42 UTC
verified

[root@preethi ~]# rpm -qa grinder
grinder-0.0.127-1.fc15.noarch
[root@preethi ~]# rpm -qa pulp
pulp-0.0.244-5.fc15.noarch


[root@preethi ~]# pulp-admin -u admin -p admin repo sync --id=f14 --excludes=packages -F
Usage: pulp-admin <options> repo sync <options>

pulp-admin: error: no such option: --excludes
[root@preethi ~]# pulp-admin -u admin -p admin repo sync --id=f14 --exclude=packages -F
Sync for repository f14 started
Sync: Finished
6/7 new items downloaded
1/7 existing items processed

Item Details: 
Tree Files: 7/7

[root@preethi ~]# pulp-admin -u admin -p admin repo content --id=f14 
+------------------------------------------+
               Contents of f14
+------------------------------------------+

Packages in f14: 

 none

Errata in f14: 

 none

Files in f14: 

 none

[root@preethi ~]# pulp-admin -u admin -p admin repo create --id=f14-updates --feed=http://download.fedora.redhat.com/pub/fedora/linux/updates/14/x86_64/
Successfully created repository [ f14-updates ]


[root@preethi ~]# pulp-admin -u admin -p admin repo sync --id=f14-upgrades --exclude=errata --exclude=packages -F
error:  error: operation failed: No repository f14-upgrades
[root@preethi ~]# pulp-admin -u admin -p admin repo sync --id=f14-updates --exclude=errata --exclude=packages -F
Sync for repository f14-updates started
Sync: Finished
0/0 new items downloaded
0/0 existing items processed

Item Details: 

[root@preethi ~]# pulp-admin -u admin -p admin repo content --id=f14-updates +------------------------------------------+
           Contents of f14-updates
+------------------------------------------+

Packages in f14-updates: 

 none

Errata in f14-updates: 

 none

Files in f14-updates: 

 none

Comment 4 Preethi Thomas 2012-02-24 20:15:54 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 5 Preethi Thomas 2012-02-24 20:17:28 UTC
Pulp v1.0 is released.


Note You need to log in before you can comment on or make changes to this bug.