-
- Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Originally reported by: Anonymous
After having updated from 11.1 to 11.3 I experienced problems with the Bitten plugin for Trac. The error message was:
Error
TracError: ValueError: ("EntryPoint must be in 'name=module:attrs [extras]' format", 'http://bitten.cmlenz.net/tools/c#autoreconf = bitten.build.ctools:autoreconf')
The EntryPoint definition is not understood by the parser.
I have identified this change as the culprit.
The previous parser basically accepted everything that was not a = on the left hand side of the =. The regex based version started out with only accepting \w. Later + . were added but there might still be projects out there that use entry point definitions with other characters. For full compatibility with the old format the Regex should probably contain [^=].
While researching this problem I found a lack of clear definition how the entry point definition should be formatted (apart from name = module:attribute [extra1, extra2]) which explains the inconsistency in usage and parsing. Maybe this should be made more clear?