Use current Go packaging guidelines

Bug #1614267 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pay-service (Ubuntu)
Fix Released
High
dobey

Bug Description

http://pkg-go.alioth.debian.org/packaging.html

Basically, you need:

- Built-Using: ${misc:Built-Using} in debian/control for pay-service.

- Build-Dep on dh-golang and pass --with golang to dh.

- Build-Dep on packaged Go dependencies (like golang-github-gosexy-gettext-dev) instead of bundling them into your source. If a dependency isn't packaged yet, ideally you'd make a new separate package so that all other Go packages that use it can be more easily updated.

This came out of MIR bug 1614202.

Related branches

dobey (dobey)
Changed in pay-service (Ubuntu):
status: New → In Progress
assignee: nobody → Rodney Dawes (dobey)
importance: Undecided → High
Revision history for this message
dobey (dobey) wrote :

Per comments from security, and as I commented on the MIR bug, we won't be using dh-golang, and won't aggressively move to packaging all the libraries we need as source and then build-depends on them, for yakkety. The linked branch only adds the built-using, and we can examine possibly switching to packaged source instead of bundled source, for the library dependencies, in the future.

Revision history for this message
Michael Terry (mterry) wrote :

Cool, if security is happy, I'm happy.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pay-service - 15.10+16.10.20160825-0ubuntu1

---------------
pay-service (15.10+16.10.20160825-0ubuntu1) yakkety; urgency=medium

  * Fix typo in property name so library is versioned properly. (LP:
    #1614264)
  * Add built-using to binary packages. (LP: #1614267)

 -- Rodney Dawes <email address hidden> Thu, 25 Aug 2016 18:06:54 +0000

Changed in pay-service (Ubuntu):
status: In Progress → Fix Released
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.