Raise project-identifier length-limit from 20 to 30 characters
I just add this patch more as a PoC showing how it could be done. I thought it might be usefull for some other users...
Note that this patch raises the maximum-length of a project-identifer from 20 characters to 30 characters. If the limit of 30 characters isn't sufficient modify the patch by replacing the instances of 30 (29 in some cases) to the desired maximum-length.
Note: this patch requires a migration. The migration-file is in Timestamped-style so it won't conflict with upstream but can be modified easily (when once needed). The used timestamp is:
Warning: this patch can malform/break URL's depending on your setup. I guess that is the main reason why project-identifiers are limited to 20 characters by default anyway.
#3 Updated by Mischa The Evil over 9 years ago
Alexandre Garino wrote:
If the limit of 30 characters isn't sufficient modify the patch by replacing the instances of 30 (29 in some cases) to the desired maximum-length
This is to kiss: otherwise seperate patches for several lenght-limits (30, 40, 50 etc.) should be created. Just read the contents of the patch (through redmine?) to see where I made the changes to 30 (29) and replace them by 60 (59).