summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Authors/changelog for 3.8.03.8.0Tim Burke2019-07-113-0/+24
| | | | Change-Id: I5de701c6282ffb4a3776009aeb16531f29162306
* Merge "Support pdb in tests better"Zuul2019-07-101-2/+14
|\
| * Support pdb in tests betterClay Gerrard2017-06-131-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not really "better" so much as "at all" - the thing we do with the capture stderr *everywhere* is probably brilliant - but absolutely not strictly necessary for every MockHttpTest TestCase and comes with the annoying overhead of trying to get into a debugger causes tests to hang inexplicably and you can't even do debug prints in tests!? Now if you add SWIFTCLIENT_DEBUG=1 to your nose -vsx command you can not only jump into debugger, but if you're "in the know" you could even get some stderr print debugging going on! If you're not "in the know" when you try to pdb.set_trace() the tests will blow-up for you because we monkeypatch pdb when not in SWIFTCLIENT_DEBUG mode, you're welcome. Change-Id: I21298bfd39fe386b5ea19e3a6f4408d8a0459c92
* | Merge "Optionally display listings in raw json"Zuul2019-07-104-1/+99
|\ \
| * | Optionally display listings in raw jsonClay Gerrard2019-07-094-1/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Symlinks have recently added some new keys to container listings. It's very convenient to be able to see and reason about the extra information in container listings. Allowing raw json output is similar with what the client already does for the info command, and it's forward compatible with any listing enhancements added by future middleware development. Change-Id: I88fb38529342ac4e4198aeccd2f10c69c7396704
* | | Merge "Add missing <sync-to> value in command line docs"Zuul2019-07-092-2/+2
|\ \ \
| * | | Add missing <sync-to> value in command line docsKota Tsuyuzaki2018-02-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Because it should take a value of either realm or full url. Change-Id: I1fe30825ef1620e256c9fd3057da6808b03d7200
* | | | Bump the openstackdocstheme extension to 1.20pengyuesheng2019-07-034-23/+2
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some options are now automatically configured by the version 1.20: - project - html_last_updated_fmt - latex_engine - latex_elements - version - release. Change-Id: I0573c7feaea991e6b33bdee6dc358c9206a9bfd8
* | | Merge "Clean up warnings from newer flake8"Zuul2019-06-285-4/+7
|\ \ \
| * | | Clean up warnings from newer flake8Tim Burke2019-06-275-4/+7
| | | | | | | | | | | | | | | | Change-Id: I18a6327b3acdd4db5ae80097080c043f7c20c353
* | | | Fix SLO re-uploadTim Burke2019-06-273-18/+64
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if you uploaded a file as an SLO then re-uploaded it with the same segment size and mtime, the second upload would go delete the segments it just (re)uploaded. This was due to us tracking old_slo_manifest_paths and new_slo_manifest_paths in different formats; one would have a leading slash while the other would not. Now, normalize to the stripped-slash version so we stop deleting segments we just uploaded. Change-Id: Ibcbed3df4febe81cdf13855656e2daaca8d521b4
* | | Isolate docs requirementsTim Burke2019-06-277-19/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...since modern sphinx won't install on py27. While we're at it, clean up some warnings and treat warnings as errors. Also, fix up how we parse test configs so we can run func tests. Related-Change: Id3c2ed87230c5918c18e2c01d086df8157f036b1 Change-Id: I3718f69610545b0dbcb0a2ab45b400da3a45682c
* | | Merge "Replace git.openstack.org URLs with opendev.org URLs"Zuul2019-05-211-1/+1
|\ \ \
| * | | Replace git.openstack.org URLs with opendev.org URLsjacky062019-04-231-1/+1
| | | | | | | | | | | | | | | | Change-Id: I0991c93fbf5b015b68dd94f3fe805ec705014f06
* | | | Merge "docs: Clean up formatting"Zuul2019-05-134-105/+99
|\ \ \ \ | |/ / / |/| | |
| * | | docs: Clean up formattingTim Burke2019-03-254-105/+99
| | | | | | | | | | | | | | | | Change-Id: I0bcaf15c54dd3b3c590a543569699fe8ec5b0c7c
* | | | OpenDev Migration PatchOpenDev Sysadmins2019-04-192-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* | | | Merge "Update master for stable/stein"Zuul2019-04-032-0/+7
|\ \ \ \
| * | | | Update master for stable/steinOpenStack Release Bot2019-04-022-0/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/stein. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/stein. Change-Id: I05c44e97e766aa4130b72f6d8d1a6a111ccafd12 Sem-Ver: feature
* | | | Merge "Remove oslosphinx usage"Zuul2019-04-032-2/+0
|\ \ \ \
| * | | | Remove oslosphinx usageDirk Mueller2019-03-232-2/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | The client actually uses the newer openstackdocstheme. Change-Id: If78d5fba58cf9e611253259fcdff2191ad3b8709
* | | | Merge "Enable some off-by-default checks"Zuul2019-03-301-0/+3
|\ \ \ \
| * | | | Enable some off-by-default checkswangzhenyu2019-02-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the available checks are disabled by default, like: [H106] Don’t put vim configuration in source files [H203] Use assertIs(Not)None to check for None Change-Id: I36a6997fdb806b4d0a9d064107cc1451c766c987
* | | | | Merge "Make proper functions instead of assigning lambdas"Zuul2019-03-303-3/+7
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Make proper functions instead of assigning lambdasTim Burke2019-02-213-3/+7
| | | | | | | | | | | | | | | | Change-Id: I89255f6923c649c7b9d3d36e96c09f8bc4f51a3c
* | | | Update release to 3.7.03.7.0Thiago da Silva2019-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to Openstack Release policies, the next release needs to be a minor release, thus bumping to 3.7.0. Change-Id: If52d48908cfd47c5b94265ebd9ab8e3289c7b19c
* | | | Merge "authors/changelog updates for release"Zuul2019-03-014-1/+34
|\ \ \ \
| * | | | authors/changelog updates for releaseJohn Dickinson2019-03-014-1/+34
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic14916c314043155a5ec3c5b29331862c6aded43
* | | | | Add py37 check/gate jobs; add py37 to default tox env listTim Burke2019-02-273-1/+3
|/ / / / | | | | | | | | | | | | Change-Id: Ifbc6dc731df20b4bba905a110e71ea5c9cc52c0f
* | | | Merge "Update hacking version"Zuul2019-02-226-30/+31
|\ \ \ \ | |/ / /
| * | | Update hacking versionZhijunWei2019-01-036-30/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. update hacking version to latest 2. fix pep8 failed Change-Id: Ifc3bfeff4038c93d8c8cf2c9d7814c3003e73504
* | | | Merge "Add python 3.6 unit test job"Zuul2019-02-141-1/+1
|\ \ \ \
| * | | | Add python 3.6 unit test jobNguyen Hai Truong2018-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Iae4acab507e45a379c8af129912e13621a2a553b
* | | | | Use template for lower-constraintsAndreas Jaeger2018-12-201-5/+4
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small cleanups: * Use openstack-lower-constraints-jobs template, remove individual jobs. * Sort list of templates Change-Id: Idb31ca14478641cba6f896af35fa766d7bdb9e1e Needed-By: https://review.openstack.org/623229
* | | | Merge "Add delimiter to get_account()."Zuul2018-12-063-7/+36
|\ \ \ \
| * | | | Add delimiter to get_account().Timur Alperovich2018-11-303-7/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exposes the delimiter parameter, which the Swift API supports for container listings. Change-Id: Id8dfce01a9b64de9d1222aab9a4a682ce9e0f2b7
* | | | | Change openstack-dev to openstack-discusssunjia2018-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I3193f2d12f75c36b59881a51b605d25274b335e0
* | | | | Add Python 3.6 classifier to setup.cfgqingszhao2018-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: If3b2cdcd009136286d68fe07b14e06261b3069a0
* | | | | update .functests to run stestrThiago da Silva2018-11-241-1/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Updated .functests script to run similar to how it's defined in tox.ini Change-Id: I17df28d8cbe0e10e48b26c2f9737308552ea88db
* | | | Merge "Stop leaking quite so many connections"Zuul2018-11-094-15/+33
|\ \ \ \
| * | | | Stop leaking quite so many connectionsTim Burke2018-11-094-15/+33
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While investigating the failures when you move func tests to py3, I noticed a whole bunch of ResourceWarning: unclosed <socket.socket ...> noise. This should fix it. While we're at it, make get_capabilities less stupid. Change-Id: I3913e9334090b04a78143e0b70f621aad30fc642 Related-Change: I86d24104033b490a35178fc504d88c1e4a566628
* | | | Merge "Update reno for stable/rocky"Zuul2018-11-093-1/+8
|\ \ \ \ | |/ / / |/| | |
| * | | Update reno for stable/rockyOpenStack Release Bot2018-11-093-1/+8
| | | | | | | | | | | | | | | | Change-Id: I840f4363dfdb3b485dbaf768c71fbcc5227c330f
* | | | Switch to stestrVu Cong Tuan2018-11-056-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: Ic098f8560599554e0b6bb16ae326d4d30a8a5504
* | | | Merge "Stop lazy importing keystoneclient"Zuul2018-10-184-82/+68
|\ \ \ \
| * | | | Stop lazy importing keystoneclientTim Burke2018-09-074-82/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two basic problems: - We'd try to import on every attempt at getting auth, even when we already know keystoneclient isn't available. - Sometimes devs would hit some crazy import race involving (some combination of?) greenthreads and OS threads. So let's just try the imports *once*, at import time, and have None sentinels if it fails. Try both versions separately to decouple failures; this should let us support a wider range of keystoneclient versions. Change-Id: I2367310aac74f1b7c5ea0cb1a822a491e4ba8e68
* | | | | py2 functional testingJohn Dickinson2018-09-272-0/+16
| | | | | | | | | | | | | | | | | | | | Change-Id: I24ff8fb28969a0b074313bc9491b299afac3b49c
* | | | | Merge "fix tox python3 overrides"Zuul2018-09-271-0/+7
|\ \ \ \ \
| * | | | | fix tox python3 overridesDoug Hellmann2018-09-051-0/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I86d24104033b490a35178fc504d88c1e4a566628 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | | Use Swift's in-tree DSVM testTim Burke2018-09-061-8/+30
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While we're at it, make a new job that inherits from it to bring the legacy-swiftclient-dsvm-functional testing in-tree, too. For naming, follow naming policy and remove "dsvm" from names. Remove legacy jobs, they are not needed anymore. Change-Id: I919c0b77ac4888350194f55a9c12e0742845024f Depends-On: https://review.openstack.org/589270