Support for looking in build-aux/snap

Bug #1805219 reported by Sergio Schvezov on 2018-11-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Colin Watson
Snapcraft
Wishlist
Sergio Schvezov

Bug Description

Look for snapcraft definitions in build-aux/snap as a preferred path over the snap directory for projects that have a snap directory for other purposes.

Related branches

Changed in snapcraft:
importance: Undecided → Wishlist
status: New → Triaged
Michael Vogt (mvo) wrote :

We (the snapd team) would really like to have this feature. We have a "snap" directory that contains our (golang) code to deal with "snap" packages. So using snap/snapcraft.yaml is not practical for us.

Sergio Schvezov (sergiusens) wrote :

My proposal is to keep using .snapcraft.yaml to avoid yet another location for builders to find a valid definition, but allow a .snapcraft directory (could be empty) to indicate that that is the place to find assets like hooks, gui and others.

Sergio Schvezov (sergiusens) wrote :

We can leave the door open for a .snapcraft/snapcraft.yaml if need be in the future.

Changed in snapcraft:
milestone: none → 3.2
assignee: nobody → Sergio Schvezov (sergiusens)
Changed in snapcraft:
milestone: 3.2 → 3.3
Sergio Schvezov (sergiusens) wrote :

After discussion in Malta we agreed to support build-aux/snap instead of .snapcraft as an alternative directory.

description: updated
summary: - .snapcraft
+ Support for looking in build-aux/snap
Changed in snapcraft:
status: Triaged → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
Colin Watson (cjwatson) on 2019-04-01
tags: added: lp-snappy
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
Colin Watson (cjwatson) on 2019-04-16
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Colin Watson (cjwatson)

Can't wait to see

Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson) on 2019-05-01
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) on 2019-05-02
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers