Allow using .snapcraft.yaml as input
Bug #1587933 reported by
Sergio Schvezov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Wishlist
|
Sergio Schvezov | ||
snapcraft (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Wishlist
|
Unassigned | ||
Yakkety |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
[Impact]
* Allow using an alternate snapcraft.yaml which would be hidden (.snapcraft.yaml)
[Test Case]
1. Running `snapcraft init` creates a snapcraft.yaml
2. Running `snapcraft` creates a snap using snapcraft.yaml as a source
3. Create a copy `cp snapcraft.yaml .snapcraft.yaml`
4. Running `snapcraft` results in an error due to duplicate sources
5. Remove snapcraft.yaml
6. Running `snapcraft` creates a snap using .snapcraft.yaml as a source
[Regression Potential]
* Existing projects can fail to run snapcraft if the logic to check duplicates fails. This should be heavily covered by unit and integration tests (all tests would fail today if the code changed in incompatible ways).
Changed in snapcraft: | |
status: | New → Triaged |
Changed in snapcraft: | |
milestone: | none → 2.11 |
assignee: | nobody → Sergio Schvezov (sergiusens) |
Changed in snapcraft: | |
status: | Triaged → In Progress |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
affects: | Ubuntu Xenial → snapcraft (Ubuntu Xenial) |
Changed in snapcraft (Ubuntu Xenial): | |
importance: | Undecided → Wishlist |
status: | New → Fix Released |
Changed in snapcraft (Ubuntu Yakkety): | |
status: | New → Fix Released |
importance: | Undecided → Wishlist |
Changed in snapcraft (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
https:/ /github. com/ubuntu- core/snapcraft/ pull/582