[katello-devel] Demotions and deletions

Lukas Zapletal lzap at redhat.com
Tue Aug 28 10:29:47 UTC 2012


Hey,

stumbled upon a bug (https://bugzilla.redhat.com/show_bug.cgi?id=835875)
that prevents you from creating a repository with a same name that has
been deleted (but promoted).

Now the question - we now do support demotions (those promotions
opposite - not sure about wording). Therefore I guess the proper
solution would be to check if the repository (*) was already promoted.
If so, Katello will refuse to delete the object asking user to do the
demotion.

Opinions?

(*) this should apply to anything that is promotable:

- product
- repo
- template
- package
- erratum
- distribution

-- 
Later,

 Lukas "lzap" Zapletal
 #katello #systemengine




More information about the katello-devel mailing list