[Buildbot] #3188: add a 'slug' to change sources so they can be referred to by name

Buildbot trac trac at buildbot.net
Sat Feb 7 21:17:02 UTC 2015


#3188: add a 'slug' to change sources so they can be referred to by name
------------------------+--------------------
Reporter:  dustin       |       Owner:
    Type:  enhancement  |      Status:  new
Priority:  minor        |   Milestone:  0.9.+
 Version:  master       |  Resolution:
Keywords:               |
------------------------+--------------------
Description changed by dustin:

Old description:

> Blocks #2635.
>
> Add a new, automatically populated, unique identifier column - a slug -
> to the changesources table, and allow users to specify that slug in URLs
> in place of `n:changesourceid`.

New description:

 Blocks #2635.

 Add a new, automatically populated, unique identifier column - a slug - to
 the changesources table, and allow users to specify that slug in URLs in
 place of `n:changesourceid`.


 Instead of a name with a hash to ensure it's unique, ensure that the slug
 is unique in the DB, and raise an error when a change source with a
 different name, but a conflicting slug, is added to the DB.

 The docs should probably recommend using identifier-safe names, which will
 eliminate any problems from conflicting names.

--

--
Ticket URL: <http://trac.buildbot.net/ticket/3188#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list