Sat Dec 3 14:09:29 2022 Rob Lauer <rlauer6@comcast.net>
[0.57 - rpm packaging]:
* VERSION: bump
* perl-Amazon-S3.spec.in
(Requires): Net::Amazon::Signature::V4
* src/main/perl/lib/Makefile.am
- install Amazon::S3::Signature::V4 to correct directory
Tue Nov 29 10:39:43 2022 Rob Lauer <rlauer6@comcast.net>
[0.56 - minor bug, 0.55 issues #8]:
* buildspec.yml: files should be relative to project home
* VERSION: bump
* NEWS.md: updated
* README-TESTING.md: more documentation
* Makefile.am: rpm, not rpmbuild directory
* src/main/perl/Makefile.am: comments re: testing
* src/main/perl/t/04-list-buckets.t
- enable debug mode if $ENV{DEBUG}
- dump response if error
* src/main/perl/lib/Amazon/S3.pm.in
- pod tweaks
(new)
- set -key and -pass for legacy Crypt::CBC
(buckets): avoid return explicit undef
(list_bucket)
- remove undefined hash members from input
(_make_request)
- use URI to set path, host, port if domain bucket ame
* src/main/perl/lib/Amazon/S3/Bucket.pm.in
(last_response): typo, should be last_response(), not last_reponse()
(_uri): minor refactoring for clarity
(add_key): likewise, return a return code
(_add_key): minor refactoring
(get_key): minor refactoring, do not return explicit undef
(delete_key): minor refactoring for clarity
(set_acl): likewise
(get_acl)
- likewise
- return undef if 404 rather than croak
* docker-compose.yml: new
Mon Aug 1 15:44:04 2022 Rob Lauer <rlauer6@comcast.net>
[0.55 - bucket region]:
* requires: latest version of most modules
* src/main/perl/lib/Amazon/S3.pm.in
- pod tweaks, corrections
- don't specify a minimum version of perl
(new): set default region to 'us-east-1', again
(get_bucket_location): $bucket, not $self
(buckets)
- verify region option
- pass hash of options and region to _send_request
(add_bucket)
- do not add region constraint if us-east-1
- refactored, send region to _send_request_expect_nothing
(delete_bucket): likewise refactored
(list_bucket): likewise refactored
(_make_request): use region() method of signer
(_do_http): debug statements, set last_reponse, reset_errors
(_do_http_no_redirect): likewise
(_send_request_expect_nothing): likewise
(_send_request_expect_nothing_probed)
- accept hash argument
- debug statements
- croak if redirect, but no Location
(error): new
(reset_errors): new
(_remember_error): set error
* src/main/perl/lib/Amazon/S3/Bucket.pm.in
- pod tweaks, corrections
(new)
- + logger attribute
- + verify_region attribute, verify region if true
(_uri): remove leading '/'
(add_key): correct region if 301 response
(upload_multipart_object): debug messages
(upload_part_of_multipart_upload): likewise
(complete_multipart_upload): likewise
(get_key): remove redundant debug message
(delete_key): pass region to _send_request_expect_nothing
(set_acl): likewise
* src/main/perl/t/01-api.t: do not bailout on early tests
(error): new
(last_response): new
* src/main/perl/t/03-region.t: default region is us-east-1
Fri Jul 22 14:47:30 2022 Rob Lauer <rlauer6@comcast.net>
[0.55 - testing, revert to XML::Simple]:
* src/main/perl/t/01-api.t: remove /r option in regex
* src/main/perl/t/04-list-buckets: likewise
* src/main/perl/lib/Amazon/S3.pm: use XML::Simple
* src/main/perl/lib/Amazon/S3/Bucket.pm.in: likewise
(make_xml_document_simple): new
* src/main/perl/t/06-list-multipart-uploads.t: XML::Simple
* configure.ac: remove Lib::XML, Lib::XML::Simple, add XML::Simple
* cpan/requires: likewise
* TODO.md: new
Thu Jul 21 11:14:16 2022 Rob Lauer <rlauer6@comcast.net>
[0.55 - CI/CD]:
* .github/workflows/build.yml: remove make cpan
* README.md: generated
* src/main/perl/lib/Amazon/S3.pm.in: update badge
Thu Jul 21 10:53:03 2022 Rob Lauer <rlauer6@comcast.net>
[0.55 - CI/CD]:
* .github/workflows/build.yml
* README.md: generated
* configure.ac: typo, IO::Scalar
* cpan/requires
- IO::Scalar, JSON:PP, Pod::Markdown
* src/main/perl/lib/Amazon/S3.pm.in: add badge
* NEWS.md: update
Mon Jul 18 16:27:41 2022 Rob Lauer <rlauer6@comcast.net>
[0.55 - regional buckets]:
* NEWS.md: new
* src/main/perl/lib/Amazon/S3/Constants.pm.in
- + $MIN_MULTIPART_UPLOAD_CHUNK_SIZE
* src/main/perl/lib/Amazon/S3.pm.in
- document Signature V4 changes/implications
- use new Amazon::S3::Signature::V4 object
(_make_request): accept hash ref as argument
(get_bucket_location): new
(reset_signer_region): new
* src/main/perl/lib/Amazon/S3/Bucket.pm.in
- document multipart methods
- send region in all _make_request calls
(_send_request): check if arg is a request
(new)
- accept region argument
- set bucket region if region not passed
(upload_multipart_object): new
* src/main/perl/lib/Amazon/S3/Signature/V4: new
* src/main/perl/lib/Makefile.am: add above to build
* src/main/perl/t/05-multpart-upload.t: new
* src/main/perl/t/06-list-multpart-upload.t: new
Thu Jul 14 06:34:56 2022 Rob Lauer <rlauer6@comcast.net>>
[0.55 - use XML::LibXML]:
* VERSION: bump
* src/main/perl/lib/Amazon/S3.pm.in: use XML::LibXML, not XML::Simple
- perlcritic cleanups
- pod cleanup
(new)
- cache_signer
- encrypt credentials
(get_default_region): new
(get_aws_access_key_id): new
(get_aws_secret_access_key): new
(get_token): new
(_decrypt): new
(_encrypt): new
(signer)
- accesses _signer now
- set default region to caller's value or default
(buckets): set region to us-east-1 temporarily
(debug): new convenience method for level => 'debug'
(_make_request): allow disabling of domain buckets
* src/main/perl/lib/Amazon/S3/Bucket.pm.in: comment tweak
* src/main/perl/lib/Amazon/S3/Constant.pm.in: $DOT
* src/main/perl/t/01-api.t: set $dns_bucket_names to true?
* cpan/test-requires: +Test::Output
* cpan/requires: -Test::Output
* configure.ac
- ads_PERL_MODULE XML::LibXML::Simple, XML::LibXML, Test::Output
Wed Jul 13 13:09:04 2022 Rob Lauer <rlauer6@comcast.net>
[0.54 - merge timmullin changes]:
* src/main/perl/lib/Amazon/S3.pm.in: see commit history
- use XML::LibXML
* src/main/perl/lib/Amazon/Bucket.pm.in: see commit history
Tue Jun 21 12:57:31 2022 Rob Lauer <rlauer6@comcast.net>
[0.53 - unit test perl > 5.010]:
* VERSION: bump
* cpan/requires: sorted
* src/main/perl/lib/Amazon/S3.pm.in
- use 5.010
Sun Jun 19 08:19:19 2022 Rob Lauer <rlauer6@comast.net>
[0.52 - specify version of List::Util required]:
* cpan/requires: List::Util
* cpan/Makefile.am: option of --no-core
Sat Jun 18 07:05:14 2022 Rob Lauer <rlauer6@comcast.net>
[0.51 - unit tests]:
* src/main/perl/t/02-logger.t: remove Log::Log4perl from test
Fri Jun 17 09:48:16 2022 Rob Lauer <rlauer6@comcast.net>
[0.50 - version requirements]:
* cpan/Makefile.am: --no-core
* configure.ac: remove version requirements
* cpan/test-requires: add without core modules
* cpan/requires: remove core modules
Fri Jun 17 07:21:22 2022 Rob Lauer <rlauer6@comcast.net>
[0.49]:
* Makefile.am
- make rpm
- use abs_builddir
- src, not dist now
* configure.ac
- get version from VERSION
- don't treat warnings as errors
- output package version
- check for rpmbuild, pod2markdown, scandeps-static.pl
- update dependencies
* src/main/perl/lib/Amazon/S3.pm.in
- new logging option
- mv'd from dist/lib/Amazon/S3.pm
- documenation updates
- refactoring, perlcritic cleanups
- use Amazon::S3::Constants
- allow passing credentials class
(_make_request): check dns_bucket_names option
(dns_bucket_names): new
(get_logger): new
(level): new
(get_credentials): new
(new)
- secure defaults to true
(region): new
(list_bucket_v2): new
(list_bucket_all_v2): new
(last_response): new
* src/main/perl/lib/Amazon/S3/Bucket.pm.in
- mv'd from dist/lib/Amazon/S3/Bucket.pm
- revert using XML::Simple
- use Amazon::S3::Constants
- perlcritic cleanup
- perltidy
(_uri): support DNS bucket names
(list_v2): new
(list_all_v2): new
* src/main/perl/lib/Makefile.am: new
* src/main/perl/Makefile.am: new
* src/main/Makefile.am: new
* src/Makefile.am: new
* cpan/Makfile.am: new
* cpan/requires: new
* cpan/test-requires: new
* src/main/perl/t/01-api.t
- env vars for controlling tests1
- mv'd from dist/t/01api.t
- refactored test
- support AWS mocking services
- enable/disable regional testing
- added list_vs test
- create tempfile instead of using t/README
* src/main/perl/t/02-logging.t: new
* src/main/perl/t/03-region.t: new
* src/main/perl/t/04-list-bucket.t: new
* .gitignore: *.pm
* ChangeLog: mv'd from dist/CHANGES
* README-TESTING.md: new
* README-BUILD.md: new
* VERSION: new
* bootstrap: new
* autotools/ads_PERL_INCLUDES.m4: new
* autotools/ads_PERL_LIBDIR.m4: new
* autotools/ads_PERL_MODULE.m4: new
* autotools/ads_PROG_PERL.m4: new
* autotools/am_rpm_build_mode.m4: new
* autotools/ax_am_conditional_example.m4: new
* autotools/ax_deps_check.m4: new
* autotools/ax_distcheck_hack.m4: new
* autotools/ax_rpmbuild_check.m4: new
Revision history for Perl module Amazon::S3:
0.48 Sep 17 2021
- remove leading '/' from bucket name
- modify tests for not s3.amazonaws.com hosts (e.g. minio)
0.47 Feb 4 2019
- update dependencies (XML::LibXML)
0.46 Jan 19 2019
- use temporary credentials
- error string
-
0.45 Aug 14 2009
- Applied patch to support any S3 end points (Tokuhiro Matsuno)
- Applied patches to not die when 0 or 1 buckets are return also (Tokuhiro Matsuno)
0.441 Jun 16 2008
- Added handling to get_key_filename where the key is used as the file
name if one is not provided.
0.44 Jun 08 2008
- Applied patch for fixing non-xml error parsing (Harold Sinclair)
- Ported changes from Net::Amazon::S3 0.42-0.44. These include:
- Fix bug with storing files consisting of "0" (Martin Atkins)
- Use of IO::File and binmode() to support Windows (Gabriel Weinberg)
- Add exponential backoff upon temporary errors with the new
retry option. (Leon Brocard)
0.41.2 Jan 20 2008
- Added documentation fixes that where causing
99-pod-coverage.t to fail.
0.411 Jan 19 2008
- initial release into CPAN
- Fork of Net::Amazon::S3 0.41
- Renamed packages
- Replaced XML::LibXML and XML::LibXML::XPathContext
with XML::Simple
- Ran perltidy over code
- Removed deprecated methods from Amazon::S3
- Revised documentation and README