summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | 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
* | | | Merge "Make py36 unit test job voting"Zuul2018-09-041-2/+0
|\ \ \ \
| * | | | Make py36 unit test job votingTim Burke2018-08-311-2/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I42cd4e19bba89c9dd4d7d20c75ee59217b9ea75d
* | | | | Merge "Add release note link in README"Zuul2018-09-011-1/+2
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add release note link in READMEwu.chunyang2018-06-281-1/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie282f4a731e333b5d21490a8fb59e1c7e8640821
* | | | | add python 3.6 unit test jobNguyen Hai2018-08-311-0/+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: I6fd051fd0b01a308d16734c5b12e11a12a38c3be Story: #2002586 Task: #24337
* | | | | switch documentation job to new PTINguyen Hai2018-08-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs 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: I510e70f2222006df661c6a3d9e26af57b68be835 Story: #2002586 Task: #24337
* | | | | import zuul job settings from project-configNguyen Hai2018-08-281-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I59f4cbc0a21b8be3a1cae28a64f90d5adcf6be24 Story: #2002586 Task: #24337
* | | | | Add .idea into .gitignorezhubx0072018-08-101-0/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | Generated by IDE PyCharm Change-Id: Ifc99b34aae581221ae4b8d2533adfc21e91cd291
* | | | Merge "Remove unnecessary calls to parse_header_string()."3.6.0Zuul2018-07-251-8/+2
|\ \ \ \
| * | | | Remove unnecessary calls to parse_header_string().Timur Alperovich2018-07-241-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we define the getheader() method on the response from HTTPConnection, we don't have to call parse_header_string, as the values will already be converted properly. Change-Id: Ia81e8674b828b3ff1f014454126b469e41adfc23
* | | | | Merge "authors/changelog update for 3.6.0"Zuul2018-07-244-2/+84
|\ \ \ \ \
| * | | | | authors/changelog update for 3.6.0John Dickinson2018-07-244-2/+84
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I471d3d56d98915804aaf848f7ff98d91f586d572
* | | | | | Merge "Back out some version bumps"Zuul2018-07-246-31/+44
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Back out some version bumpsTim Burke2018-07-116-31/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm giving up on trying to back out all of the test-requirements up-revs, but let's try to stay compatibile with old requests/six. As part of that, only disable some requests warnings on new-enough requests. Note that we should now be compatible with distro packages back to Ubuntu 16.04 and CentOS 6. Our six is still too new for Trusty, but hey, there's less than a year left on that anyway, right? Change-Id: Iccb23638393616f9ec3da660dd5e39ea4ea94220 Related-Change: I2a8f465c8b08370517cbec857933b08fca94ca38
* | | | | | Merge "Properly handle unicode headers."Zuul2018-07-242-5/+85
|\ \ \ \ \ \
| * | | | | | Properly handle unicode headers.Timur Alperovich2018-07-232-5/+85
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix unicode handling in Python 3 and Python 2. There are currently two failure modes. In python 2, swiftclient fails to log in debug mode if the account name has a non-ASCII character. This is because the account name will appear in the storage URL, which we attempt to pass to the logger as a byte string (whereas it should be a unicode string). This patch changes the behavior to convert the path strings into unicode by calling the parse_header_string() function. The second failure mode is with Python 3, where http_lib returns headers that are latin-1 encoded, but swiftclient expects UTF-8. The patch automatically converts headers from latin-1 (iso-8859-1) to UTF-8, so that we can properly handle non-ASCII headers in responses. Change-Id: Ifa7f3d5af71bde8127129f1f8603772d80d063c1
* | | | | | Add close() to _RetryBody.Timur Alperovich2018-07-201-0/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows clients to give up on reading the rest of the server response, if they so choose. Change-Id: Iccc95b1b5e7d066470966ee0c62a3beb260846e5
* | | | | Merge "Stop mutating header dicts"Zuul2018-07-172-33/+47
|\ \ \ \ \
| * | | | | Stop mutating header dictsTim Burke2017-08-252-33/+47
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia1638c216eff9db6fbe416bc0570c27cfdcfe730
* | | | | | Merge "Drop py34 target in tox.ini"Zuul2018-07-171-1/+0
|\ \ \ \ \ \
| * | | | | | Drop py34 target in tox.inilingyongxu2017-06-092-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We support py35 now.so it is no need to keep the supoort for py34. Change-Id: Ie76e897bea3c184410e2b151fbe978d93bc21624