snappy build does odd things with poorly formed /meta/package.yaml
Bug #1459212 reported by
Rick Spencer
on 2015-05-27
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Snappy |
Medium
|
Michael Vogt | ||
Bug Description
Steps:
1. branch this project https:/
2. follow the instructions in meta/readme, but start with "build for each arch" (i.e. don't edit the package.yaml file
3. after running snappy build note that the snap package is built, even though the package.yaml has no name
effect:
packages are named _version_.snap
expected:
the snap build command rejects the invocation and directs the user to name the project
Also note that the command accepts a name with a space and then includes the space in the package name, though I do not know if this is a bug or by design
Related branches
lp:~mvo/snappy/snappy-lp1459212-check-required-fields
- Michael Vogt: Approve on 2015-06-09
- Michael Terry (community): Approve on 2015-06-08
-
Diff: 577 lines (+179/-37)9 files modifiedhelpers/helpers.go (+10/-0)
helpers/helpers_test.go (+15/-0)
snappy/click_test.go (+49/-10)
snappy/config_test.go (+2/-0)
snappy/install_test.go (+1/-1)
snappy/parts_test.go (+1/-1)
snappy/purge_test.go (+1/-1)
snappy/snapp.go (+42/-18)
snappy/snapp_test.go (+58/-6)
Rick Spencer (rick-rickspencer3)
on 2015-05-27
| description: | updated |
Michael Vogt (mvo)
on 2015-05-27
| Changed in snappy: | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
Michael Vogt (mvo)
on 2015-05-29
| Changed in snappy: | |
| status: | Confirmed → In Progress |
Ricardo Salveti (rsalveti)
on 2015-06-02
| Changed in snappy: | |
| assignee: | nobody → Michael Vogt (mvo) |
Michael Terry (mterry)
on 2015-06-18
| Changed in snappy: | |
| status: | In Progress → Fix Released |
To post a comment you must log in.

