Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for v2.8.1 release #1433

Merged
merged 36 commits into from Feb 29, 2020
Merged

Changes for v2.8.1 release #1433

merged 36 commits into from Feb 29, 2020

Conversation

Kami
Copy link
Member

@Kami Kami commented Feb 29, 2020

This pull request cherry picks the following changes from trunk and soon to be v3.0.0 release into 2.8.x branch - https://github.com/apache/libcloud/pulls?q=is%3Apr+is%3Aclosed+label%3A%22potential+2.8.x+candidate%22.

v2.8.0 is a last major release before v3.0.0 which will be announced shortly (I plan to start a voting thread in the next couple of days) so I decided to cherry pick some bug fixes from trunk and include them in the v2.8.1 release.

You can think of v2.8.x branch of Libcloud as a LTS release which still supports Python 2.7. All the new features will land in future v3.x.x releases, but for a while we may also do some more releases in the v2.8.x series if a major bug or security issue is found.

Kami and others added 30 commits February 29, 2020 21:50
lower case in the Google Storage driver when using Interoperability S3
API authentication method.

This would cause 401 error to be returned when uploading an object
which mime / content type contains mixed casing (e.g.
application/vnd.ms-excel.sheet.macroEnabled.12).

Resolves apache#1417.
…river, introducing this error where the literal string 'ex_userdata' was passed during create_node intead of the actual ex_userdata kwarg.
That error likely represents a file handler / iterator which doesn't
support a seek operation (such as pipe) and in such scenario we simply
want to ignore that error.
to the record.extra dictionary.

Without it, export_to_bind_format() method doesn't work.

Resolves apache#1428
LIBCLOUD_DEBUG_PRETTY_PRINT_RESPONSE works correctly under Python 3.
handles pagination if there are more than 500 results either for all the
aggregated zones or for a single zone when a zone if specified by the
user using "ex_zone" argument.

Previously only up to 500 nodes were returned.
rid of one level of indentation on a common code path.
is encrypted using AWS KMS encryption.

In such scenarios, ETag header doesn't contain object data MD5 digest.

See https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonResponseHeaders.html
and apache#1401 for details.
It appears they become obsolete and unused during requests migration.
@codecov-io
Copy link

codecov-io commented Feb 29, 2020

Codecov Report

Merging #1433 into 2.8.x will increase coverage by 0.04%.
The diff coverage is 93.02%.

Impacted file tree graph

@@            Coverage Diff            @@
##           2.8.x    #1433      +/-   ##
=========================================
+ Coverage   86.3%   86.34%   +0.04%     
=========================================
  Files        372      372              
  Lines      76545    76667     +122     
  Branches    7009     7016       +7     
=========================================
+ Hits       66062    66199     +137     
+ Misses      7682     7669      -13     
+ Partials    2801     2799       -2
Impacted Files Coverage Δ
libcloud/dns/drivers/cloudflare.py 95.18% <ø> (ø) ⬆️
libcloud/test/storage/test_google_storage.py 97.04% <ø> (ø) ⬆️
libcloud/test/storage/test_s3.py 92.59% <100%> (+1.31%) ⬆️
libcloud/storage/base.py 83.43% <100%> (+0.41%) ⬆️
libcloud/test/dns/test_cloudflare.py 100% <100%> (ø) ⬆️
libcloud/storage/drivers/s3.py 89.23% <100%> (+0.06%) ⬆️
libcloud/test/compute/test_openstack.py 94.73% <100%> (+0.01%) ⬆️
libcloud/test/dns/test_gandi_live.py 100% <100%> (ø) ⬆️
libcloud/compute/base.py 93.7% <100%> (ø) ⬆️
libcloud/test/compute/test_ec2.py 97.97% <100%> (+0.02%) ⬆️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b0d462...53603c9. Read the comment docs.

@Kami Kami merged commit 4dcb8f9 into apache:2.8.x Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants