951 Commits

Author SHA1 Message Date
34ffb6a83d Update .gitreview for stable/train
Change-Id: Ic75bfd14b1688b4e66ae57c5d7091752113902d3
train-eol
2019-09-13 21:34:46 +00:00
Tim Burke
72b90fed4c Authors/changelog for 3.8.1
Change-Id: I4f178c30723e0da6ba1ec8c8c171137ada631496
2019-09-12 16:30:58 -07:00
Matthew Oliver
14095c109f PDF Documentation Build tox target
This patch adds a `pdf-docs` tox target that will build
PDF versions of our docs. As per the Train community goal:

  https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Story: 2006122
Task: 35514
Change-Id: I7e0ee410ac603774e4b03f859ac3aa20e5afc9b8
2019-09-04 11:29:37 -07:00
Tim Burke
a0f0aedb41 docs: Fix warning treated as error
Change-Id: I669533334419e94ca925e859f2b0d5d2afe9f7f1
2019-09-04 11:21:04 -07:00
Zuul
00efcfc9ca Merge "Add Python 3 Train unit tests" 2019-08-15 22:40:23 +00:00
Zuul
4f320bd034 Merge "Fix up requests so we can send non-RFC-compliant headers on py3" 2019-08-02 07:55:23 +00:00
Tim Burke
7875398746 Delete/overwrite symlinks better
Previously, when deleting a symlink that points to an xLO, we'd clean
up the xLO's segments then delete the symlink, leaving the xLO itself
busted.

Similar trouble would come from overwriting a symlink pointing to an
xLO. Check for a Content-Location in the HEAD response and leave such
segments.

Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>
Change-Id: I45b210cf380a68bd88187c91fa2d63a8b2bb709b
2019-08-01 20:42:31 -07:00
Tim Burke
7175069b3e Fix up requests so we can send non-RFC-compliant headers on py3
Change-Id: I3dac826c1f208569c5f40431f59a2045e5744415
2019-07-25 14:21:43 -07:00
Tim Burke
5bd66947fc Drag forward prettytable in lower-constraints
Apparently version 0.7 got unpublished recently.

Change-Id: I8669130f8477a577781e17c6d428aacff53cab92
2019-07-25 14:21:43 -07:00
Tim Burke
47d5f44c3d Authors/changelog for 3.8.0
Change-Id: I5de701c6282ffb4a3776009aeb16531f29162306
3.8.0
2019-07-11 15:27:20 -07:00
Zuul
495683d867 Merge "Support pdb in tests better" 2019-07-10 23:27:18 +00:00
Zuul
2fcd4d8727 Merge "Optionally display listings in raw json" 2019-07-10 18:54:30 +00:00
Zuul
7cf8541b38 Merge "Add missing <sync-to> value in command line docs" 2019-07-09 22:57:56 +00:00
Clay Gerrard
936631eac6 Optionally display listings in raw json
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
2019-07-09 13:25:52 -07:00
Corey Bryant
efe3d084de Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I764b9765484e1d8217d56796d984f910aa5f9c5a
Story: #2005924
Task: #34249
2019-07-05 16:22:32 -04:00
pengyuesheng
591c3e2380 Bump the openstackdocstheme extension to 1.20
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
2019-07-03 15:01:35 +08:00
Zuul
4b3e33b3c2 Merge "Clean up warnings from newer flake8" 2019-06-28 08:13:46 +00:00
Tim Burke
9021a58c24 Fix SLO re-upload
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
2019-06-27 21:45:10 -07:00
Tim Burke
3b21157a84 Clean up warnings from newer flake8
Change-Id: I18a6327b3acdd4db5ae80097080c043f7c20c353
2019-06-27 21:43:46 -07:00
Tim Burke
113eacf3b8 Isolate docs requirements
...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
2019-06-27 16:48:33 -07:00
Zuul
b52c13f648 Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-05-21 23:08:20 +00:00
Zuul
2e43285f67 Merge "docs: Clean up formatting" 2019-05-13 19:48:14 +00:00
jacky06
7103da3467 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I0991c93fbf5b015b68dd94f3fe805ec705014f06
2019-04-23 13:45:07 +08:00
OpenDev Sysadmins
af4bac31fa OpenDev Migration Patch
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.
2019-04-19 19:32:30 +00:00
Zuul
6714000130 Merge "Update master for stable/stein" 2019-04-03 06:17:57 +00:00
Zuul
3da44edba5 Merge "Remove oslosphinx usage" 2019-04-03 05:46:38 +00:00
7e9717c04c Update master for stable/stein
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
2019-04-02 16:20:57 -07:00
Zuul
e325ed7f9e Merge "Enable some off-by-default checks" 2019-03-30 07:17:20 +00:00
Zuul
b62d378836 Merge "Make proper functions instead of assigning lambdas" 2019-03-30 03:34:49 +00:00
Tim Burke
7563d9cb56 docs: Clean up formatting
Change-Id: I0bcaf15c54dd3b3c590a543569699fe8ec5b0c7c
2019-03-25 09:35:47 -07:00
Dirk Mueller
5333f3e98a Remove oslosphinx usage
The client actually uses the newer openstackdocstheme.

Change-Id: If78d5fba58cf9e611253259fcdff2191ad3b8709
2019-03-23 23:19:45 +01:00
Thiago da Silva
991a6cebb9 Update release to 3.7.0
Due to Openstack Release policies, the next release needs
to be a minor release, thus bumping to 3.7.0.

Change-Id: If52d48908cfd47c5b94265ebd9ab8e3289c7b19c
2019-03-04 11:55:46 -05:00
Zuul
eabed44f82 Merge "authors/changelog updates for release" 2019-03-01 22:29:55 +00:00
John Dickinson
344711771d authors/changelog updates for release
Change-Id: Ic14916c314043155a5ec3c5b29331862c6aded43
2019-03-01 08:32:50 -08:00
Tim Burke
d32deaaddd Add py37 check/gate jobs; add py37 to default tox env list
Change-Id: Ifbc6dc731df20b4bba905a110e71ea5c9cc52c0f
2019-02-27 11:11:12 -08:00
Zuul
b8c863e6bb Merge "Update hacking version" 2019-02-22 02:45:59 +00:00
wangzhenyu
fd6e76029d Enable some off-by-default checks
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
2019-02-21 09:31:09 -08:00
Tim Burke
0ee7c8272e Make proper functions instead of assigning lambdas
Change-Id: I89255f6923c649c7b9d3d36e96c09f8bc4f51a3c
2019-02-21 09:26:32 -08:00
Zuul
4b99492dc5 Merge "Add python 3.6 unit test job" 2019-02-14 04:11:09 +00:00
ZhijunWei
2ff36fde57 Update hacking version
1. update hacking version to latest
2. fix pep8 failed

Change-Id: Ifc3bfeff4038c93d8c8cf2c9d7814c3003e73504
2019-01-03 13:09:22 +08:00
Andreas Jaeger
9da2636912 Use template for lower-constraints
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
2018-12-20 21:52:45 +01:00
Zuul
4e4f57a5fc Merge "Add delimiter to get_account()." 2018-12-06 04:27:42 +00:00
sunjia
0e6c63dfd4 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I3193f2d12f75c36b59881a51b605d25274b335e0
2018-12-03 22:02:00 -05:00
Timur Alperovich
edfeae3723 Add delimiter to get_account().
Exposes the delimiter parameter, which the Swift API supports for
container listings.

Change-Id: Id8dfce01a9b64de9d1222aab9a4a682ce9e0f2b7
2018-11-30 22:58:36 +00:00
qingszhao
8a42281468 Add Python 3.6 classifier to setup.cfg
Change-Id: If3b2cdcd009136286d68fe07b14e06261b3069a0
2018-11-30 07:32:03 +00:00
Thiago da Silva
fc128672f6 update .functests to run stestr
Updated .functests script to run similar to how it's defined
in tox.ini

Change-Id: I17df28d8cbe0e10e48b26c2f9737308552ea88db
2018-11-24 08:12:15 -05:00
Zuul
8778c91c71 Merge "Stop leaking quite so many connections" 2018-11-09 23:18:16 +00:00
Zuul
2d8836333b Merge "Update reno for stable/rocky" 2018-11-09 23:18:15 +00:00
0197a0f9ca Update reno for stable/rocky
Change-Id: I840f4363dfdb3b485dbaf768c71fbcc5227c330f
2018-11-09 10:24:47 -08:00
Tim Burke
411ef48e5b Stop leaking quite so many connections
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
2018-11-09 09:55:30 -08:00