Description of problem: *Fedora 14 *Build 0.109 Every time I run pulp-admin repo sync -F it shows: [root@tsanders-x201 rhui-amazon-20101109]# pulp-admin repo sync --id=rhui1.1 -F Sync for repository rhui1.1 started You can safely CTRL+C this current command and it will continue [==================================================] 100% (10 of 10 pkgs) Sync: Finished I understand that it has to verify checksums for each package against what is already in the repo, but unless there are updated packages that are downloaded in a sync run.....I'd expect to see "0 of 0 pkgs"....in other words, no updated content to sync'd.
I made a change to the end of a repo sync to display more information about how many packages were downloaded vs. verified. Example 1: First time sync $ sudo pulp-admin repo sync --id repo500 -F Sync for repository repo500 started You can safely CTRL+C this current command and it will continue [==================================================] 100% (500 of 500 pkgs) 500/500 new items downloaded 0/500 existing items verified Sync: Finished Example 2: Partial sync (some packages were corrupted in pulp) $ sudo pulp-admin repo sync --id repo500 -F Sync for repository repo500 started You can safely CTRL+C this current command and it will continue [==================================================] 100% (500 of 500 pkgs) 36/500 new items downloaded 464/500 existing items verified Sync: Finished Example 3: No new content $ sudo pulp-admin repo sync --id repo500 -F Sync for repository repo500 started You can safely CTRL+C this current command and it will continue [==================================================] 100% (500 of 500 pkgs) 0/500 new items downloaded 500/500 existing items verified Sync: Finished Commit: http://git.fedorahosted.org/git/?p=pulp.git;a=commit;h=229628632561dde83db123b986144c1ca18ce572
Fixed in build 0.123.
[root@preethi ~]# rpm -q pulp pulp-0.0.123-1.fc14.noarch [root@preethi ~]# pulp-admin repo sync --id=f13 -F Sync for repository f13 started You can safely CTRL+C this current command and it will continue [==================================================] 100% (3111 of 3111 pkgs) 3102/3111 new items downloaded 9/3111 existing items verified Sync: Finished [root@preethi ~]# pulp-admin repo sync --id=f13 -F Sync for repository f13 started You can safely CTRL+C this current command and it will continue [==================================================] 100% (3111 of 3111 pkgs) 0/3111 new items downloaded 3111/3111 existing items verified Sync: Finished [root@preethi ~]# pulp-admin repo sync --id=f13 -F Sync for repository f13 started You can safely CTRL+C this current command and it will continue [==================================================] 100% (3111 of 3111 pkgs) 1/3111 new items downloaded 3110/3111 existing items verified Sync: Finished
Closing with Community Release 15 pulp-0.0.223-4.