| Summary: | Logic for handling orphan packages should account for sub directories | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Pradeep Kilambi <pkilambi> |
| Component: | user-experience | Assignee: | John Matthews <jmatthew> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.1.0 | CC: | omaciel, tsanders |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 34 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 801090 | Environment: | |
| Last Closed: | 2012-05-25 14:14:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 801090 | ||
| Bug Blocks: | |||
|
Comment 1
John Matthews
2012-04-17 13:12:41 UTC
build: 1.1.3 verified [root@pulp-v1-1-server ~]# rpm -q pulp pulp-1.1.3-1.fc16.noarch <jmatthews> 1) create a small local repo <jmatthews> 2) add a few subdirs, so something line a/pkg1.rpm b/pkg2.rpm <jmatthews> 3) run createrepo so it's a valid repo <jmatthews> 4) do a pulp local sync from this local repo <jmatthews> 5) remove one of the pkgs from the local repo <jmatthews> 6) resync [root@pulp-v1-1-server ~]# pulp-admin -u admin -p admin repo create --id=local --feed=file:///tmp/local-repo/ Successfully created repository [ local ] [root@pulp-v1-1-server ~]# pulp-admin repo sync --id=local -F Sync for repository local started Sync: Finished 2/2 new items downloaded 0/2 existing items processed Item Details: RPMs: 2/2 [root@pulp-v1-1-server ~]# cd /tmp/local-repo/ [root@pulp-v1-1-server local-repo]# ls a b repodata [root@pulp-v1-1-server local-repo]# cd a/ [root@pulp-v1-1-server a]# cd .. [root@pulp-v1-1-server local-repo]# rm -rf a/gofer-0.66-1.fc16.noarch.rpm root@pulp-v1-1-server ~]# createrepo /tmp/local-repo/ Spawning worker 0 with 1 pkgs Workers Finished Gathering worker results Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete [root@pulp-v1-1-server ~]# [root@pulp-v1-1-server ~]# pulp-admin repo sync --id=local -F Sync for repository local started Sync: Finished 0/1 new items downloaded 1/1 existing items processed Item Details: RPMs: 1/1 Pulp v1.1 Release |