Quickly prevents creating a project with a "-" or space in the name
Bug #493130 reported by
Philip Peitsch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quickly |
Fix Released
|
Undecided
|
Unassigned | ||
quickly (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: quickly
Attempting to create a quickly project with a "-" in the name is disallowed. I'm wondering why this is the case, as launchpad/bzr/etc. seem to allow creation of a project name such as this.
Related branches
lp:~philip-peitsch/quickly/dashed-names-support
Merged
into
lp:quickly
- Didier Roche-Tolomelli: Approve
- Philip Peitsch (community): Needs Resubmitting
- Didier Roche-Tolomelli: Pending requested
-
Diff: 212 lines (+31/-23)10 files modifieddata/templates/ubuntu-project/bin/project_name (+3/-3)
data/templates/ubuntu-project/create.py (+5/-3)
data/templates/ubuntu-project/dialog.py (+3/-2)
data/templates/ubuntu-project/internal/quicklyutils.py (+2/-1)
data/templates/ubuntu-project/project_root/setup.py (+3/-3)
data/templates/ubuntu-project/python/Aboutcamel_case_nameDialog.py (+1/-1)
data/templates/ubuntu-project/python/Preferencescamel_case_nameDialog.py (+1/-1)
data/templates/ubuntu-project/python/dialog_camel_case_nameDialog.py (+1/-1)
data/templates/ubuntu-project/python/python_nameconfig.py (+4/-4)
quickly/templatetools.py (+8/-4)
Changed in quickly: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for using Quickly and making it better,
This issue is that we create a module named <yourapp> and Python doesn't allow - in module name (nor in functions, variables...). I guess that's something we will fix (removing - for the module name, taking care of classes and functions), but we will fix it later.
I'm setting it as a wishlist.