please break out embedded code copies into archive packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In the MIR bug 1267393 it was brought up that juju-core uses many embedded code copies and a condition for MIR acceptance was to use archive packages instead. Unfortunately, this work was not completed in time for 15.10, however the juju-core team committed to fixing this up for 16.04.
Quite a few things were done for 15.10 already though, specifically, juju-core is now use the following archive packages instead of using the embedded code copies:
* golang-check.v1
* golang-
* golang-
* golang-go-dbus
* golang-go.crypto
* golang-
* golang-juju-loggo
* golang-x-text
* juju-mongodb
For the remaining embedded copies, here is a list to start the conversation for *Ubuntu archive builds* and using embedded sources (again, if it helps to leave the sources in the orig.tar.gz for other reasons, fine):
* embedded that seem obviously ok to leave alone and use during the build:
* github.com/juju/* (do pull out anything that's reused in other go sources though)
* gopkg.in/juju/* (same here)
* embedded that seems clear should be cleaned up/pulled out/use existing archive -dev package:
* gopkg.in/mgo.v2 (use golang-
* gopkg.in/yaml.v1 (use golang-yaml.v2-dev, juju team already has an MP to transition to golang-yaml.v2-dev)
* launchpad.net/tomb (use golang-
* embedded that may need other Canonical upstream involvement to create golang-*-dev packages:
* launchpad.net/golxc (LXD embeds this)
* launchpad.
* embedded sources where is is unclear if it is juju-specific or something that should be broken out
* bitbucket.
* bitbucket.
* code.google.
* github.com/joyent/* (juju-specific?)
* gopkg.in/
* gopkg.in/
* launchpad.
* launchpad.
* launchpad.
* launchpad.
The 1.24.6-0ubuntu3 package in both wily and xenial use: go.crypto- dev juju-loggo- dev
golang-go-dbus-dev
golang-
golang-go.net-dev
golang-
There are/were inompatabilities with some of the other -dev packakages in
wily. The Juju QA team are working on updating packages in Debian to so that
the they will be available for Ubuntu and the juju-core package.
The listing of go packages used by Juju changes frequently. 1.25.x uses
github. com/ajstarks/ svgo com/altoros/ gosigma com/bmizerany/ pat com/coreos/ go-systemd com/dustin/ go-humanize com/gabriel- samfira/ sys com/godbus/ dbus com/joyent/ gocommon com/joyent/ gomanta com/joyent/ gosdc com/joyent/ gosign com/juju/ blobstore com/juju/ deputy com/juju/ errors com/juju/ gojsonpointer com/juju/ gojsonreference com/juju/ gojsonschema com/juju/ govmomi com/juju/ httpprof com/juju/ jujusvg com/juju/ loggo com/juju/ names com/juju/ persistent- cookiejar com/juju/ ratelimit com/juju/ replicaset com/juju/ schema com/juju/ syslog com/juju/ testing com/juju/ utils golang. org/api golang. org/cloud juju/charm. v5 juju/charmstore .v4 juju/environsch ema.v1 macaroon- bakery. v0 macaroon. v1 natefinch/ lumberjack. v2 natefinch/ npipe.v2 net/gnuflag net/gomaasapi
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.com/juju/cmd
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.com/juju/txn
github.
github.com/juju/xml
golang.org/x/crypto
golang.org/x/net
golang.org/x/oauth2
google.
google.
gopkg.in/amz.v3
gopkg.in/check.v1
gopkg.in/errgo.v1
gopkg.in/goose.v1
gopkg.in/
gopkg.in/
gopkg.in/
gopkg.in/
gopkg.in/
gopkg.in/mgo.v2
gopkg.in/
gopkg.in/
gopkg.in/yaml.v1
launchpad.
launchpad.net/golxc
launchpad.
launchpad.net/gwacl
launchpad.net/tomb
And we know that launchpad.net/gwacl will be retired in a few months