Patch #1998
closedRaise project-identifier length-limit from 20 to 30 characters
80%
Description
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: 20081007020300
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.
Files
Related issues
Updated by Anonymous almost 16 years ago
Updated by Szabolcs Szasz almost 16 years ago
Yes, great, and please, if you are anyway at it, could you also do remove the arbitrary and unnecessary 3-char lower limits, too? (See #2003.) I'd prefer the absolute minimum, which is 1. (I'm no big fan of l'art pour l'art arbitrary restrictions.)
Updated by Mischa The Evil almost 16 years ago
Alexandre Garino wrote:
Could you please increase the length to 60 characters as well (see #1789, #1893)?
I'd suggest that you modify the patches #1789 & #1998 yourself like I say in both issues:
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).
HTH...
Updated by G N almost 15 years ago
- lowering the minimum identifier length to 1 and
- increasing the maximum identifier length to a reasonable value
Updated by Anthony Paul about 14 years ago
+1
I actually patch the code to increase the identifier and name length to 255. It would be nice to have this feature by default or at least via a setting option.