Allow streams version to be parameterised so that it can be different for images and tools metadata
Fixed command not found error during tests on windows
Factor out a newBackupID function.
Add an alternate ID generator.
Add tests.
Serve charm archives from the API server

Charm archives are now stored in the blobstore,
and served over HTTPS. The uniter client is
modified to construct URLs using the API server
URL.
Migrate charm archives to environment storage on upgrade

We introdue a new database-master upgrade step which
migrates existing charm archives from provider storage
to environment storage. The final step of the migration
is to update the charm's document in state to record
the storage path.
api: move charms base URL construction to api/uniter
Address review comments
upgrades: read charms from disk in local/manual

Local and manual provider storage is httpstorage
layered on filestorage serving from a location
specified in agent config. The storage is served
by a "localstorage" worker, which does not start
until after upgrades complete. We shortcut the
httpstorage and go straight to disk if the provider
is local or manual.
Merge pull request #741 from axw/charms-environment-storage

Serve charm archives from the API server

Charm archives are now stored in the blobstore, and served over HTTPS.
The uniter client is modified to construct URLs using the API server URL.

We also introduce a new database-master upgrade step which migrates existing
charm archives from provider storage to environment storage. The final step
of the migration is to update the charm's document in state to record the
storage path.
Hook tool for sending metrics from charm.
Merge pull request #640 from tasdomas/metrics-in-hook-context

Hook tool for sending metrics from charm.

A hook tool metric-add is made available to charm authors for sending metrics to state.
Merge pull request #658 from bogdanteleaga/uniter

Fixed command not found error during tests on windows

Added missing cmdSuffix in tests. Previously it was used only in the actual code. This fixes quite a number of tests on Windows.
Remove the old implementation.
Merge pull request #750 from ericsnowcurrently/backups-human-readable-ID

Make backup IDs more human-readable.

Currently we just use the current UUID.  This patch changes it to "<timestamp>.<env ID>".  A more human-readable ID will help juju users.
apiserver/client: Migrated SetEnvironAgentVersion test to serverSuite
Merge pull request #762 from wallyworld/sshstorage-not-found

Tweak bash used for sshstorage.Get()

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

Return fixed, locale independent string when file is not found.
cmd/juju: created interface for upgrade-juju's client API

To allow mocking in tests.
cmd/juju: upgrade-juju "upgrade in progress" handling

upgrade-juju now special-cases handling the case of the
SetEnvironAgentVersion API call failing due to an upgrade appearing to
already be in progress. The user is given guidance on what they might
be able to do to fix it.

The change introduces a struct conforming to the upgradeJujuAPI
interface to allow testing of the upgrade-juju command without making
actual API calls.