[katello-devel] Modelling of environments, products, etc in Katello (related to renaming of environments)

jesus m. rodriguez jesusr at redhat.com
Thu Aug 9 14:04:35 UTC 2012


On 08/09/2012 08:20 AM, James Bowes wrote:
> On Thu, Aug 09, 2012 at 12:34:57PM +0100, Dmitri Dolguikh wrote:
>> Please see https://bugzilla.redhat.com/show_bug.cgi?id=795928 for
>> description of an issue with environment renaming.
>>
>> The immediate problems around environments: using of environment
>> names and environment ids for identification of environments
>> interchangeably. Using db ids for environment identification when
>> not using environment names.
>>
>> To resolve these:
>>   - introduce environment uuids
>>   - update katello/katello cli to use uuids for environment identification
>>   - update repository naming to use environment uuids
>>   - update candlepin (this will include updates to schema, and
>> resource controller)
>>
>
> -1 to UUIDs, for the same reason as has been discussed wrt pulp
> repo labels. a url like:
>
> https://my-cdn.local/content/dev/rhel-server/i386/
>
> is way more useful than:
>
> https://my-cdn.local/content/abc123213-23423423-aaa123/rhel-server/i386/
>
> not to mention, far more handsome!
>
> I'd rather see either immutable labels, or supporting renaming labels,
> too.
>
> To clarify, UUIDs are fine imo as an internal canonical id for envs
> within katello as a whole, but once the env is exposed on the cli or in
> a url, label should be used.

+1000 to labels
-1000 to using the UUID

jesus

[snip]

-- 
jesus m. rodriguez          | jesusr at redhat.com
principal software engineer | irc: zeus
red hat systems management  | 919.754.4413 (w)
rhce # 805008586930012      | 919.623.0080 (c)
+---------------------------------------------+
|   "Those who cannot remember the past       |
|    are condemned to repeat it."             |
|                        -- George Santayana  |
+---------------------------------------------+




More information about the katello-devel mailing list