Base-36 bug IDs
Switch to base-36 bug IDs. Instead of 123456, we’d have 2n9c. Instead of 12 345 678, we’d have 7clzi. Had base-36 been used from the beginning, the ID of the most recent bug as of this writing, 245939, would be 59rn and it wouldn’t be until the 1 679 616th bug that the base-36 representations reach five “digits”.
Handling currently existing bugs is quite simple:
• basically no changes to schema
• convert the IDs in database to current_
• make the web app convert the ID between base-36 (URL representation) and normal integers (database queries).
Current URLs would stay the same and new bug IDs would be allocated beginning from ‘a’. Perhaps a bit of database magic here to allocate free IDs between the used ones.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Curtis Hovey