If component name begins with digit then scmproj silently ignore it

Bug #458937 reported by vitaly.v.ch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ScmProj plugin
Fix Released
Medium
Alexander Belchenko

Bug Description

scmproj must report error or support digit-started names

Related branches

Changed in bzr-scmproj:
status: New → Confirmed
importance: Undecided → High
summary: - If component name begin with digit scmproj silently ignore it
+ If component name begins with digit scmproj silently ignore it
summary: - If component name begins with digit scmproj silently ignore it
+ If component name begins with digit then scmproj silently ignore it
Revision history for this message
Alexander Belchenko (bialix) wrote :

This is related to Bug #318719.

Changed in bzr-scmproj:
importance: High → Medium
Revision history for this message
Alexander Belchenko (bialix) wrote :

Regardless of supporting 0-9 and underscore at the beginning of component name we should generate error message when there is wrong characters in component name.

Today component section extracted with help of simple regexp:

'^component[ \\t]+("?)([a-zA-Z][0-9a-zA-Z_\-]*)("?)$'

So we should convert such regexp to match <component "?.*"?> and then explicitly check component name for valid format.

Changed in bzr-scmproj:
milestone: none → 0.6.1
Changed in bzr-scmproj:
assignee: nobody → Alexander Belchenko (bialix)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.