Make initial ring balance robust to "holes".

Make initial ring building robust to "holes" (None values in self.devs).
Having these None values in the self.devs array is fine later in the
builder file's life.  Making it okay upon initial balance makes
builder files easier to programatically manipulate.

Change-Id: Icca9c1aa4fd0aae12168998acc39e52f95989b7d
add git commit date / sha1 to sphinx html docs

Change-Id: If47cee942707d2c36b0b897470b7ec994f0e259a
Make sure auth is present before checking for /

- Fixes bug 945882

Change-Id: I22a688b01678ab93e888c9537a3f611e43e22c30
Merge "add git commit date / sha1 to sphinx html docs"
Change account pending to behave like container...

Change account pending to behave like container pending.

Change-Id: I32af5e7671c9b69b3aca8997534fe4af19ded374
Fix a ZeroDivisionError for short replicator runs.

During unittest runs it's possible for time.time() - self.start
to be zero. This patch sets the elapsed value to an arbitrarily
small number to prevent divide by zero errors.

Change-Id: I20d4b9bf7ff3cdce4e9fe3215622c01cfec7f8bb
Fix typo in Connection comments

Change-Id: I46315f6840f7d2ffeb39e8e747ac99fbbb0ca293
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Fixing some minor issues in SAIO on Fedora

Change-Id: I2abdcd1a3c7f2a54b200489efe57f8990bd94bbf
Merge "Fix a ZeroDivisionError for short replicator runs."
Merge "Fixing some minor issues in SAIO on Fedora"
Improvements to database replication.

Note: I'd like to get this released as soon as possible as it is a
data durability issue.

1) Orders nodes so that none get starved (see code and footnote).

2) New max_diffs setting that caps how long the replicator will spend
   trying to sync a given database per pass so the other databases
   don't get starved.

3) Replaces run_pause with the more standard "interval", which means
   the replicator won't pause unless it takes less than the interval
   set.

Change-Id: I986742229e65031df88f5251ca61746b7c8d2bde
Merge "Change account pending to behave like container..."
Merge "Improvements to database replication."
Remove old stats tools.

https://blueprints.launchpad.net/swift/+spec/remove-old-swift-stats-tools

Change-Id: Ibb57b3d71c7f18060d2d48a1d3754a7f1444624d
Updated CHANGELOG for 1.4.7

Change-Id: I6933a3faaceaff28f6ecbbe5904ed3eb46413a02
version bump to 1.4.8

Change-Id: I281422fbd4a1b028f600aad3b6f8d68be09f6399
Return NoSuchBucket/Key on 404.

- Fixes bug 945937.

Change-Id: If6dd53a716491a7d1a9ab4992224038ede4cb32a
Create tmpfile in the same dir as the cache file

Make sure we don't try to rename files across devices. Fixes bug 949366

Change-Id: I75581a0682c8db90cad9b077b1c22a886d234e31
Add support for venv-based test run with tox.

 * Adds tox config
   - based on the config from python-quantumclient and updated for
     test, pep8 and coverage execution as per nova's run_tests.sh.
 * Adds nosetests defaults in setup.cfg
 * Adds runtime dependencies in tools/pip-requires
   - dependencies were gathered by referencing the packages used in
     creation of a Swift All In One.  Versions were determined by
     checking the swift-core/trunk ppa or, failing that, the version
     available in lucid.
 * Adds test dependencies in tools/test-requires
 * Updates swift/common/middleware/formpost.py for pep8 compliance
 * Adds instructions for executing the tests with Tox to the
   developer_guidelines
 * Adds instructions for installing openstack.nose_plugin to
   developer_saio
 * Fixes bug 909177

Change-Id: I5407924d2181e9ab335aaf76bf30c8d40deccbb4
Merge "Return NoSuchBucket/Key on 404."