Removed some dependencies on being able to iterate over maps in a predictable order. #1718

Merged
merged 31 commits into from Mar 4, 2015

Conversation

Projects
None yet
5 participants
Contributor

dooferlad commented Mar 2, 2015

fixes: 1427149

(Review request: http://reviews.vapour.ws/r/1048/)

dooferlad and others added some commits Mar 2, 2015

ListServicesCommand now returns a predictable string.
checkCreateFileCall copes with ini checker errors.
Added gcfg dependency to dependencies.tsv
Fixes from review.
linuxExecutables is now an array so we don't need to do any key sorti…
…ng to get a consistent result out of ListServicesCommand.
worker/provisioner: use lxc host arch in FindTools
When calling FindTools, LXC provisioners should
override the environment constraints with the
arch of the host machine.

Fixes https://bugs.launchpad.net/juju-core/+bug/1420049
Merge pull request #1731 from howbazaar/juju-environment-create
Introduce 'juju environment create'

This is protected by the 'jes' feature flag.
service: predictable ListServicesCommand output
ListServicesCommand iterates over a map to generate
a command. We were previously relying on service
listing commands being predictable, and this new
behaviour is not, since iterating over a map is
pseudo-random. We change the function to iterate
over the sorted map keys instead.
Merge pull request #1735 from axw/lp1420049-lxc-provisioner-override-…
…constraints-arch

worker/provisioner: use lxc host arch in FindTools

When calling FindTools, LXC provisioners should
override the environment constraints with the
arch of the host machine.

Fixes https://bugs.launchpad.net/juju-core/+bug/1420049

(Review request: http://reviews.vapour.ws/r/1065/)
Merge pull request #1738 from axw/service-sort-command
service: predictable ListServicesCommand output

ListServicesCommand iterates over a map to generate a command. We were
previously relying on service listing commands being predictable, and this
new behaviour is not, since iterating over a map is pseudo-random. We
change the function to iterate over the sorted map keys instead.

Also:
    cmd/juju/environment: add missing formatting

(Review request: http://reviews.vapour.ws/r/1068/)
Merge pull request #1737 from howbazaar/enable-provider-prepare-create
Enable provider prepare create

Enable ec2 and maas for multiple environments.

(Review request: http://reviews.vapour.ws/r/1067/)
Merge pull request #1720 from TheMue/fix-1425435-master
Ported fix #1425435 from 1.22 to master



(Review request: http://reviews.vapour.ws/r/1050/)
Simplification based on review.
Removed dependency on gcfg.
ListServicesCommand now returns a predictable string.
checkCreateFileCall copes with ini checker errors.
Added gcfg dependency to dependencies.tsv
Fixes from review.
linuxExecutables is now an array so we don't need to do any key sorti…
…ng to get a consistent result out of ListServicesCommand.
Simplification based on review.
Removed dependency on gcfg.
Cleaned up new test TestInstallCommandsShutdown.
Addressed review comments.
Merged upstream.
Updated juju/testing rev in dependencies.tsv
Contributor

dooferlad commented Mar 4, 2015

$$go$$

Contributor

jujubot commented Mar 4, 2015

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Mar 4, 2015

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/2384

Contributor

dooferlad commented Mar 4, 2015

$$a$$

Contributor

jujubot commented Mar 4, 2015

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

jujubot added a commit that referenced this pull request Mar 4, 2015

Merge pull request #1718 from dooferlad/master-map-ordering-tests
Removed some dependencies on being able to iterate over maps in a predictable order.

fixes: 1427149

(Review request: http://reviews.vapour.ws/r/1048/)

@jujubot jujubot merged commit 1e85bff into juju:master Mar 4, 2015

@dooferlad dooferlad deleted the dooferlad:master-map-ordering-tests branch Mar 12, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment