Bug 3124

Summary: yocto-bsp must not accept BSP names with spaces
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: VERIFIED WONTFIX QA Contact:
Severity: normal    
Priority: Medium CC: dvhart, ioanax.grigoropol, jessica.zhang, sgw, yp.ep.watcher, yp.watcher
Version: 1.3   
Target Milestone: 1.4 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Alexandru Georgescu 2012-09-18 08:08:53 UTC
In yocto-bsp main page, the field "BSP Name*" accepts spaces. Since BSP names cannot accept spaces but only "_", "-" and ".", a check must be put in the page to prevent the user adding one.
Comment 1 Jessica 2012-11-29 19:43:20 UTC
commit	f12b8fae90e4b6d62119277d4484cbb939f73edd
Comment 2 Alexandru Georgescu 2012-12-10 08:12:52 UTC
Hi Jessica,
Indeed, the BSP Name does not accept spaces, but it accepts other characters like:  !@#$%^&*()_+{}"|<>?.

Since being able to add those characters to the BSP name but getting error when trying to create one BSP, I am reopening this.
Comment 3 Jessica 2012-12-12 00:02:42 UTC
Hi Alex,

I think there should be only one place to check the validity of bsp name which is the yocto-bsp script itself.  Otherwise, we may always have the sync issue from eclipse side with the script.  If you found that the yocto-bsp script report an error and it's not reflecting to the user, then I think that's a more appropriate bug to fix.  BTW, I've tested with your special character list, seems the even the yocto-bsp script will take ? and # as BSP names.
Comment 4 Alexandru Georgescu 2013-04-17 13:57:16 UTC
Verified as per above comment.