[katello-devel] Demotions and deletions

Dmitri Dolguikh dmitri at redhat.com
Tue Aug 28 10:47:07 UTC 2012


On 28/08/12 11:29 AM, Lukas Zapletal wrote:
> 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.
Not sure I understand the issue correctly - are you concerned that a 
user can mixup deletion with demotion? Shouldn't they be semantically 
the same?

-d
>
> Opinions?
>
> (*) this should apply to anything that is promotable:
>
> - product
> - repo
> - template
> - package
> - erratum
> - distribution
>





More information about the katello-devel mailing list