App-MtAws
view release on metacpan or search on metacpan
### 2013-12-20 v1.110
* Compatibility: upload-file with --filename option behaviour slightly changed:
both --filename and --dir now resolved to full paths, before determining relative path from --dir` to --filename`
So f you have `/dir/ds` symlink to `/dir/d3` directory, then `--dir=/dir` `--filename=/dir/ds/file` will result in
relative filename `d3/file` not `ds/file`. Previously you would get d3/file. Also now all parent directories has
to be readable.
* Documentation: documentation for upload-file updated.
* Fixed: #63 internaly mtglacier was using absolute filenames when reading/writing file in filesystem, even if user
specified relative. Seems that was wrong. Undex Unix file can be readable by relative name but unaccessible by real,
absolute name if path components of this name are unreadable. Fixed now - always use relative filenames in all commands
except upload-file command (where it's documented that absolute names are used).
This change does not affect relative filenames stroed in journal or amazon glacier metadata in any way.
This change might affect filenames format that you see in mtglacier output.
* Fixed: some bugs related to directory traversal under old-old perl installations (RHEL 5.x, when no new
CPAN modules installed) worked around.
* Fixed: upload-file with --filename and --dir were not working correctly for most of perl installations
if dir started with "..". This due to bug https://rt.perl.org/Public/Bug/Display.html?id=111510 in File::Spec module.
Currently upload-file behaviour changed (see above in ChangeLog) so mtglacier not affected. In previous versions this
would result in wrong relative filenames in journal and Amazon glacier metadata
(precisely, those filenames are without path prefix, as if they would be in current directory, otherwise filename
part is correct).
* Workaround: Digest::SHA perl module prior to version 5.62 calculates SHA256 wrong on 32bit machines, when data
size is more than 2^29 bytes. Now mtglacier throws an error if --partsize >= 512Mb and machine is 32bit and digest-sha
version is below 5.62. Commands which don't use --partsize are unaffected.
* Fixed: Amazon CSV format parsing: Amazon escapes doublequote with backslash but.. does not escape backslash itself.
https://forums.aws.amazon.com/thread.jspa?threadID=141807
This format is undocumented and broken by design. Fixing parser now to parse this.
this bug was not affecting any real use of mtglacier as mtglacier does not use backslashes in metadata and ignores
foreign metadata.
* Cosmetic changes to process manager code
### 2013-12-14 v1.103
* Fixed: issue #48 download-inventory was crashing if there was a request for inventory retrieval in CSV format
issued by 3rd party application. mt-aws-glacier was not supporting CSV and thus crashing.
It's hard to determine inventory format until you download it, so mt-aws-glacier now supports CSV parsing.
* Fixed: download-inventory command now fetches latest inventory, not oldest
* Added --request-inventory-format option for retrieve-inventory commands
* Documentation: updated docs for retrieve-inventory and retrieve-inventory and download-inventory commands
### 2013-12-10 v1.102
* Fixed: memory/reasource leak, introduced in v1.100. Usually resulting in crash after uploading ~ 1000 files ( too
many open files error)
* Minor improvements to process termination code
### 2013-12-08 v1.101
* Fixed: CPAN install was failing for non-English locales due to brittle test related to new FSM (introduced in 1.100)
Also error message when reading from file failed in the middle of transfer was wrong for non-English locales.
* Added validation - max allowed by Amazon --partsize is 4096 Mb
* Fixed: --check-max-file-size option validation upper limit was wrong. Was: 40 000 000 Mb; Fixed: 4 096 0000 Mb
### 2013-12-07 v1.100
* Nothing new for end users (I hope so ). Huge internal refactoring of FSM (task queue engine) + unit
tests for all new FSM + integration testing for all mtglacier commands.
### 2013-11-30 v1.059
* Fixed: Dry-run with restore completed was crashing.
Fixed a bug introduced in v0.971
dry-run and restore-completed used archive_id instead of relative filename and thus was crashing with message:
UNEXPECTED ERROR: SOMEARCHIVEID not found in journal at ... /lib/App/MtAws/Journal.pm line 247.
### 2013-11-08 v1.058
* Fixed - when downloading inventory there could be Perl warning message ("use initialized ..") in case when some
specific metadata (x-amz-archive-description) strings (like empty strings) met. Such metadata can appear if
archives were uploaded by 3rd party apps.
* Fixed possible deadlock before process termination (after success run or after Ctrl-C), related to issue
https://rt.perl.org/Ticket/Display.html?id=93428 - select() is not always interruptable. Issue seen
under heavy load, under perl 5.14, with concurrency=1 (unlikely affects concurrency modes > 1 )
* Fixed - when deprecated option for command (say, --vault for check-local-hash) was found in config, there was a
warning that option deprecated, however that should not happen, because everything that is in config should be
read only when such option required (you should be able to put any unneeded option into config)
### 2013-10-15 v1.056
* mtglacier now can be installed via Ubuntu PPA - install instructions updated.
### 2013-09-25 v1.055
* Fixed: sync --replace-modified were not deleting old files in Amazon Glacier in case --detect option causing a check
of treehash before upload.
Affected workflows:
--detect=treehash - when file actually uploaded after check
--detect=mtime-and-treehash (i.e. default --detect) - when file actually uploaded after check
--detect=mtime-or-treehash when mtime is same but treehash differs and thus file actually uploaded
Not affected workflows:
when file size differs and thus file uploaded,
--detect=mtime-or-treehash - when mtime differs and thus file uploaded
anything else not listed above.
* More fixes to installation instructions
* Cosmetic fixes to --detect documentation
### 2013-09-03 v1.051
* Installation instructions reworked
* Alpha testing on Cygwin platform
### 2013-08-31 v1.050
* Optimized Journal memory usage by 12%
* Fixed: system error messages (i.e. ERRNO - like Permission denied etc) where clobbered on non-English locales (i.e.
when message is not ASCII-7bit). Error messages and check-local-hash output were affected.
* CPAN/Cosmetic: testsuite does not produce strings which looks like a warnings anymore.
### 2013-08-27 v1.000
* After one year since first public version released, beta testing now finished and version 1.000 released.
Current project status is non-beta, stable.
* New version scheme: 1.xyz (x - major change or major internal change, y - new version, z - tiny fixes)
* Internal changes. Nothing new.
### 2013-08-06 v0.981 beta
* Fixed possible problems with mtglacier process termination under OpenBSD 5.1. Fixed possible install problem (test
suite failure) under OpenBSD 5.1
### 2013-07-30 v0.975 beta
* Fixed: files with content "0" caused crash (unexpected error), issue #42
* Documentation: small update for Fedora install instructions
* When downloading from glacier, temporary files were created, download performed, then temp files were renamed to
target filename (this is atomic), then target file attributes were adjusted and file modification time changed.
Now chmod/mtime performed before file is renamed. So more atomic now.
* Fixed: File::Temp required version decreased, so can work on perl-5.8.8 without upgrading this module
* Internal: Code to work with temporary files reworked, testsuite added. IPC small refactoring + testsuite added.
### 2013-07-21 v0.974 beta
* Deprecations (deprecated options produce warning, and can start producing errors some day)
--to-dir, --from-dir deprecated in faviour of --dir
--from-vault, --to-vault deprecated in faviour of --vault
--dir for command purge-vault
--vault for command check-local-hash
* Documentation: Installation instructions polished (for RHEL + warnings about manual installation)
* Enhancement: "version"/"--version" command, prints mtglacier version (probably useless, as it printed in any way),
and prints versions of all used modules. Useful to attach with bug-reports.
* Enhancement: mtglacier now checks versions of every loaded module runtime, in case of mess with install.
### 2013-07-13 v0.973 beta
* mt-aws-glacier can now be installed using CPAN tool. Docs updated with installation instructions.
* Config file now detect config syntax errors better and reports it together with file name and line number
* Config options without values (follow, dry-run, stdin, new, replace-modified, delete-removed) can now be used in
config file
* Enhancement: sync now acception --follow - follow symbolic links, documentation updated.
* Enhancement: --detect now accepts new value "size-only"
( run in 1.797 second using v1.01-cache-2.11-cpan-ceb78f64989 )