[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] Orphaned Packages



On Thu, 2011-01-13 at 17:02 -0500, Todd B Sanders wrote:
> On 01/13/2011 03:50 PM, 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?
> >
> > - - 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?
> 
> Hmm.  I thought the desired behavior was to delete the packages and 
> associated rpms off of the filesystem if the packages are no longer 
> associated with a repository.
> 
> -Todd
> > - -- 
> > 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 redhat com
> > https://www.redhat.com/mailman/listinfo/pulp-list
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list redhat com
> https://www.redhat.com/mailman/listinfo/pulp-list

Personally I think the default behavior should be as Cliff and Todd
suggested. I like Cliff's suggestion of allowing an override too, but I
wouldn't implement it unless we have some mechanism for letting users
change their minds later (package delete?)

-- 
Jason L Connor
Software Engineer
Red Hat, Inc.
RHCE: 805010912355231
Freenode: linear
GPG Fingerprint: 2048R/CC4ED7C1

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]