"charm create" should verify if the given charm name is valid

Bug #1348662 reported by amir sanjar
This bug report is a duplicate of:  Bug #1348650: Don't allow uppercase charm name. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charm Tools
Triaged
High
Unassigned

Bug Description

assuming a charm name starting with a capital character is invalid name ( based on "juju deploy" ) charm create command should return an error.
How to reproduce :

1) >>> :~/charms/trusty$ charm create Sample
...........
..............
>>>:~/charms/trusty$ tree Sample/
Sample/
├── charm-helpers.yaml
├── config.yaml
├── hooks
│   ├── config-changed
│   ├── install
│   ├── start
│   ├── stop
│   └── upgrade-charm
├── icon.svg
├── lib
│   └── charmhelpers
│   ├── core
│   │   ├── fstab.py
│   │   ├── hookenv.py
│   │   ├── host.py
│   │   └── __init__.py
│   └── __init__.py
├── metadata.yaml
├── README.ex
├── revision
├── scripts
│   └── charm_helpers_sync.py
└── tests
    ├── 00-setup
    └── 10-deploy

6 directories, 19 files
sanjar@sanjar-N550JA:~/charms/trusty$ cd ..
sanjar@sanjar-N550JA:~/charms$ juju deploy local:trusty/Sample
error: invalid charm name "local:trusty/Sample"

Marco Ceppi (marcoceppi)
Changed in charm-tools:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.6.0
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.