Katello/katello — pull request #705 by bbuckingham (2012-09-19 13:00:41+00:00)
Title: object labels - initial pull request to add label to org, env, product and repos

This pull request contains commits for the initial adding/using of labels on the following objects in katello: organization, environment, product and repository.

For more details, refer to the commits and the following wiki: https://fedorahosted.org/katello/wiki/ObjectLabelDesign

There are 2 key things that this does not yet included; however, based on discussion we wanted to make this code available while those things are being addressed:

1. upgrade - while migration scripts have been created to support adding and populating the label on the objects, migration scripts have not yet been created to modify content in candlepin and pulp

2. auto-setting of label during object creation (UI) - in the ui, when an object is created, the user must provide a value for the label that meets the validation rules (i.e. alphanumeric ascii, - or _). In the future, we'll be introducing punycode (or alternative) to allow for these to be auto-set as the object is created; however, it will also give the user the opportunity to change/customize it before the object is created.