Gsutil

Latest version: v5.28

Safety actively analyzes 629788 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 18 of 23

3.34

Not secure
=======================================

Bug Fixes
---------

- Fixed a bug where the no-op authentication handler was being loaded after
other authentication plugins, causing the no-op handler to be chosen instead
of other valid credentials.

3.33

Not secure
=======================================

Bug Fixes
---------

- Added .git* to MANIFEST.in excludes and fixed cp doc typo. This was needed to
overcome problem caused by accidental inclusion of .git* files in release,
which caused the update command no longer to allow updates (since starting
in 3.32 it checks whether the user has any extraneous files in the gsutil
directory before updating)

3.32

Not secure
=======================================

New Features
------------

- Added support for getting and setting lifecycle configuration for buckets.
- Implemented Parallel Composite Uploads.
- Added a new du command that displays object size, similar to Linux du.


Bug Fixes
---------

- Fixed a bug when using ls -R on objects with trailing slashes. Closes 93.
- Fixed so won't crash in perfdiag when nslookup is missing or gethostbyname
fails.
- Smartly compare version strings during autoupdate check.
- Made header handling for upload case-insensitive.
- Re-enabled software update check for users with no credentials configured.
- Fixed incorrectly-generated password editing comment in service account
config. Fixes 146.


Other Changes
-------------

- Improved flow when encounter auth failure for GCE service account with no
configured storage scopes:
1. Changed HasConfiguredCredentials() logic not to include
has_auth_plugins as part of the evaluated expression, since that will
always evaluate to true under GCE (since GCE configures its internal
service account plugin under /etc/boto.cfg).
2. Changed ConfigureNoOpAuthIfNeeded logic so we configure no-op auth
plugin even if there is a config_file list, since GCE always configures
/etc/boto.cfg, even if user has no storage scopes configured.
3. Additional changes:
a. Removed assertion of oauth access token cache check log from
test_Doption.py, which may not be true sometimes (e.g., if user is
using HMAC creds).
b. Removed remnants of CONFIG_REQUIRED left over from earlier CL.
c. Merged dupe _ConfigureNoOpAuthIfNeeded functions from two code files,
moved to util.py.
- Fixed confusing gsutil rm "Omitting" message.
- Wrapped long gsutil update message.
- Silenced additional possible perfdiag errors.
- Improved perfdiag performance by only generating one chunk of random file.
- Changed to swallow broken pipe errors when piping gsutil to other programs.
- Made DotfulBucketNameNotUnderTld error message more user friendly.
- Extracted function for building ACL error text from main try/except loop,
for better readability.
- Disallowed gsutil update when user data present in gsutil dir.
- Plumbed accept-encoding into HEAD requests in ls -L command.
- Updated README and moved ReleaseNotes.txt to CHANGES.md.
- Updated crcmod docs with link to Windows installer.
- Updated documentation regarding gzip content-encoding.
- Removed StorageUri parse check for lone ':' (interferes with using filenames
containing ':')
- Added tests for gsutil update check and fixed bug for bad file contents.
- Set accept-encoding and handle gzip on-the-fly encoding.

3.31

Not secure
=======================================

New Features
------------

- Implemented consumption of manifest files for cp.
- Add ETag to ls -l and make ls -b variants more efficient.
- Expand the manifest path to allow for tildes in paths.
- Added bucket_relocate.sh script to gsutil.


Bug Fixes
---------

- Fix gsutil cp -R to copy all versioned objects.
- Fixed bug where gsutil cp -D -n caused precondition failure.
- Fixed gsutil daisy-chain copy to allow preserving ACLs when copying within
same provider.
- Fix identification of non-MD5 ETags.
- Fixed bugs where gsutil -q cp and gsutil cp -q sometimes weren't quiet.
- Fixed unicode error when constructing tracker filename from non-ASCII
Unicode filename.
- Fixed that noclobber would not resume partial resumable downloads.
- Fixed bug when running gsutil cp -Dp by user other than object owner.
- Properly encode metageneration and etag in ls output with -a and -e.
- Update resumable threshold stated in gsutil help prod.


Other Changes
-------------

- ls -Lb no longer shows total files/total size of bucket, so that ls -Lb
instead provides an efficient way to view just the metadata for large buckets.
- Catch and ignore EEXIST error when creating gsutil tracker dir.
- Add note to gsutil update doc about auto-update checks being disabled with
gsutil -q option.
- Disable hashing and increase buffer size in perfdiag.
- Added better error messages for service account auth.
- Make perfdiag behave more like normal gsutil, with multi-threading option.
- Changed so auto-update check/prompt aren't made if gsutil -q specified.
- Changed gsutil mb command to clarify that EU means European Union.
- Added doc warnings about losing version ordering if using gsutil -m cp
between versioned buckets; removed trailing whitespace.
- Added to gsutil cp -L doc to describe how to build a reliable script for
copying many objects.

3.30

=======================================

- Abandoned.

3.29

Not secure
=======================================

Bug Fixes
---------

- Fixed incorrect package installation detection that resulted in not being
able to run the update command while running gsutil from a symlink.

Other Changes
-------------

- Added a test for debug mode (gsutil -D) output.
- List numbering and title case fixes in additional help pages.
- Removed dateutil module dependency from cp command test.
- Updated documentation to clarify that public-read objects are cached for 1
hour by default.
- Added a filter to suppress "module was already imported" warnings that were
sometimes printed while running gsutil on Google Compute Engine instances.

Page 18 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.