snappy package.yaml: binaries impl does not meet spec

Bug #1413804 reported by Alexander Sack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
High
Michael Vogt
Ubuntu Developer Portal
Fix Released
High
Daniel Holbach

Bug Description

spec on app part of https://developer.ubuntu.com/en/snappy/ is like:

name: pkgname
version: version-string
binaries:
 - name: path/to/binary
 - another: path/to/binary
In this case, your package is called "pkgname" and it has version "version-string" and after installing it I will have two binaries, called pkgname/name and pkgname/another.

not sure if and how to keep compatibility for the old style that was used...

we should surely fix it though! the spec is great

Alexander Sack (asac)
Changed in snappy-ubuntu:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Michael Vogt (mvo)
description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks, indeed, the currently implementation is wrong. Note that the "pkgname/name" is not straightforward as the shell is unhappy about the "/". So this will need some additional work to make the shell smarter.

Changed in snappy-ubuntu:
status: Confirmed → Triaged
Revision history for this message
Michael Vogt (mvo) wrote :

This is fixed now in snappy-go and in the spec. Its consistent with how services work now:
"""
binaries:
 - name: foo
   exec: bin/foo-wrapper
""""

Changed in snappy-ubuntu:
status: Triaged → Fix Committed
Changed in snappy-ubuntu:
status: Fix Committed → Fix Released
Changed in developer-ubuntu-com:
assignee: nobody → Daniel Holbach (dholbach)
importance: Undecided → High
status: New → In Progress
status: In Progress → Fix Released
Michael Terry (mterry)
affects: snappy-ubuntu → snappy
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.