Refactor snapcraft.yaml loading into ProjectInfo
Bug #1775849 reported by
Sergio Schvezov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Wishlist
|
Sergio Schvezov |
Bug Description
`ProjectInfo` holds basic unmodified key/values loaded from snapcraft.yaml, it is missing the raw snapcraft.yaml for future consultation and diffing.
Loading needs to happen at this stage and not further ahead in the `Config` class which needs to feed from `ProjectInfo`. Today, `Config` injects a `ProjectInfo` which is a bad separation of concerns.
Changed in snapcraft: | |
status: | New → In Progress |
importance: | Undecided → Wishlist |
assignee: | nobody → Sergio Schvezov (sergiusens) |
milestone: | none → 2.43 |
tags: | added: 18.04-project-loading |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
tags: |
added: 18.10-project-loading removed: 18.04-project-loading |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/snapcore/ snapcraft/ pull/2160