[Pulp-list] Orphaned Packages

Cliff Perry cperry at redhat.com
Thu Jan 13 21:18:32 UTC 2011


Jay Dobies wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Take the following scenario:
> - - Create a repo and synchronize it. It brings in packages A, B, and C.
> - - Delete the repo.
> - - Do a `pulp-admin package search`
> 
> Packages A, B, and C all show up from the package search, indicating
> they have no repository.
> 
> - - Is there a use case for keeping them around in Pulp if they aren't in
> a repository? Arguably that would make a future sync that would download
> those packages faster since they already exist, but is that the intention?

Without knowing much of anything - my view on this is...

We should allow a way to purge at time of delete. Most likely default 
behavior should be is to remove orphaned packages and to allow you to 
override to keep.

Cliff

> 
> - - Is there a way to purge those packages? For instance, say a Pulp
> installation used to mirror Fedora 12 but gave up on it when Fedora 14
> came out. How do we reclaim all of that space on the Pulp server's hard
> disk and/or clean out those packages from the database?
> 
> - -- 
> Jay Dobies
> RHCE# 805008743336126
> Freenode: jdob
> http://pulpproject.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
> 
> iQEcBAEBAgAGBQJNL2WQAAoJEOMmcTqOSQHCETQIAKZ5WXz6im3tc6guNcGk/1Go
> qakYJRmZCLrAojYtMtWmfkfEO1KDUy+4WA+F5K6DKmHJG9o6346ArCPWLfRbMoVj
> fQSjYIFluyMX0ifEe21XRUwwsz7A0BqV5Kx8DmR2O3OU3uUzsbqv5Cx0B1TgzHe/
> vhQn1yxhr+5gyp+EZfdU8/e2Juixwtu7hJAMjkzYAF9eOFA3QB8/5ruI/3YG2jXR
> cpTpPiH/HFlbYrBl+KApgUYZa9tsnABLqEU0a84p/7fXcuDVnWj8K/5XMgmeoROB
> o4e1OxJjAbJMtJ/ubFiaRXlDmzsSgJdVdqaIpnEKNdO+tbjhzL9po13wkN/MOkQ=
> =l5Yq
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list