[katello-devel] Demotions and deletions - solution

Justin Sherrill jsherril at redhat.com
Wed Sep 5 13:07:23 UTC 2012


On 09/03/2012 06:16 AM, Lukas Zapletal wrote:
>> Solution 2: Fix during creation time
>>
>> Solution 2A: Nicer error message.
>>
>> Solution 2B: Nicer error message + 1C
>>
> Solution 2C: Introduce katello id in the candlepin label flag.
>
> Currently the format of our label flag is:
>
> Oragnization_name-Product_name-Repo_name
>
> we could do something like
>
> ID-Oragnization_name-Product_name-Repo_name
>
> Label need to be unique because yum use it to create file names and
> repository ids I guess.
>
> We would allow to create repositories with the same name effectively,
> but we already allow users to register systems with same name (this
> behavior was introduced on Friday).
I don't like this.  This means if Foo was already in DEV but deleted in 
library, they could create another repository Foo and promote it to Dev 
(As long as the label was different?).  So they would have 2 Foo repos 
in Dev?

-1  for me.

-Justin


>
> The question is how it would work with RH content. I guess in this case
> the label is hardcoded in the manifest and we cannot do much about it.
> On the other hand, RH content is always imported once (or forced) and
> always with the same name, therefore it should not be a problem for RH
> content.
>
> LZ
>




More information about the katello-devel mailing list