Opened 5 years ago

Last modified 3 years ago

#3187 new enhancement

add a 'slug' to masters so they can be referred to by name

Reported by: dustin Owned by:
Priority: minor Milestone: 0.9.+
Version: master Keywords:
Cc:

Description (last modified by dustin)

Blocks #2635.

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

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 master with a different name, but a conflicting slug, is added to the DB.

We currently auto-generate the master name, so this should also involve adding a global config to specify the master name, defaulting to the existing master name ("$host:$port"). The docs should recommend using identifier-safe names, which will eliminate any problems from conflicting names.

Change History (3)

comment:1 Changed 5 years ago by dustin

  • Version changed from 0.8.10 to master

comment:2 Changed 5 years ago by dustin

  • Description modified (diff)
Note: See TracTickets for help on using tickets.