App-MtAws

 view release on metacpan or  search on metacpan

ChangeLog  view on Meta::CPAN

  mtglacier installed without CPAN). Now reverting the check on configuration stage and leave only check when we are
  really getting error that SSL is broken. So it will advice to install Mozilla::CA only on systems where HTTPS indeed
  broken.

  * Dropping Ubuntu Saucy and Quantal PPA build, as it's EOL and Ubuntu PPA refuses to build packages.

### 2014-07-27 v1.116

  * Fixed - there can be issue on MacOSX that HTTPS is not working: All requests end up with errors "HTTP connection
  problem (timeout?)". Found that Apple ships LWP::Protocol::https without Mozilla::CA module (and they have no rights to
  do so). So now a README install instructions updated and runtime error thrown if Mozilla::CA is missing and yo're trying
  to use HTTPS. More technical info: http://blogs.perl.org/users/vsespb/2014/07/broken-lwp-in-the-wild.html
  https://github.com/vsespb/mt-aws-glacier/issues/87

  * Fixed - typo in error message.

### 2014-05-26 v1.115

  * Fixed - crash/error when uploading large files with partsize=1024, when "old" Digest::SHA (< 5.63; shipped with most
  of current linux distros) is installed. Old Digest::SHA has a bug, there was a workaround for it (i.e. message asking
  to upgrade module) when it's used with large files on 32bit machines, but apparently seems 64bit machines

ChangeLog  view on Meta::CPAN

  * Brittle test fixed (i386, old Digest::SHA)

### 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.

ChangeLog  view on Meta::CPAN

### 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

ChangeLog  view on Meta::CPAN

  * 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:

ChangeLog  view on Meta::CPAN


  * 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"

### 2013-07-10 v0.972 beta

  * FSM potential bug fixed, can lead to possible instability

  * FSM bug fixed - with --concurrency=1 it was not deleting old archives after upload replacements

  * Enhancement: --detect now accepts new value "always-positive"

ChangeLog  view on Meta::CPAN


  * Internal changes: prepare for implementing file versioning, prepare for publishing as CPAN distribution, improved
  test suite

### 2013-06-26 v0.963 beta

  * Fixed - restore-completed sometimes restore existing files when filesystem-encoding is not UTF-8  and filename contains non-ASCII characters

### 2013-06-05 v0.962 beta

  * Enhancement: 'timeout' option added for network socket timeout and documentation updated. Default timeout
  changed from 120 to 180 seconds

  * Detection of Amazon Glacier ThrottlingException

  * Better handling of server closing connection, after headers sent, for download-inventory as well

  * Better handling of server closing connection, after headers sent, for all other types of requests

  * Finally defined in README and code minimum Perl version required - 5.8.8 (pretty old, AFAIK there are no
  supported distributions with older Perls)

  * Reading and parsing Journal file optimized (~ 2 times faster for UTF-8 filenames, and ~3 times faster
  for ASCII-only filenames)

### 2013-06-01 v0.961 beta

  * Enhancement: segment-size option added for restore-completed command for multi-segment downloads

  * Documentation: restore-completed documentation updated

  * Enhancement: Now all downloads performed to temp files. Temp file renamed to real files only when download succeed.

  * Fixed: If server closes connection, after sending headers (when downloading files), this was not detected and no
  error was thrown (it's not reported by underlying HTTP library for case non-chunked-transfer)

  * Fixed: some other errors from underlying HTTP library detected

  * Fixed: it there was more than 100 retries for a request (due to timeout/etc), program now terminates with error,
  instead of reporting success.

ChangeLog  view on Meta::CPAN


  * Error messages added if detect journal from future version of mtglacier. Also other errors in parsing
  line properly handled.

  * Error message added - refuse to work with journal files where last line does not end with LF (or CRLF). That could
  mean journal is truncated/damaged.

  * Possibility to work with Journal files, which use CRLF as line separator

  * Error message (instead of unexpected error) added for case when filenames are too big (limit
  is 700 ASCII or 350 2-bytes UTF-8). Limitation section updated for this case in README.

### 2013-05-19 v0.952 beta

  * Some error handling rework. Errors for file opens (permissions problems), invalid characters in filenames, some misc
  errors, are thrown with sane error message and helpful information

  * Some more internal changes related to internal IPC protocol

  * Documentation: 'Limitations' section added.

README.md  view on Meta::CPAN

Will NOT work under Windows/Cygwin. Minimum Perl version required is 5.8.8 (pretty old, AFAIK there are no supported distributions with older Perls)

### Installation via OS package manager

NOTE: If you've used manual installation before, please remove previously installed `mtglacier` executable from your path.

NOTE: If you've used CPAN installation before, please remove previously installed module, ([cpanm] is capable to do that)

##### Ubuntu 12.04+

Can be installed/updated via PPA  [vsespb/mt-aws-glacier](https://launchpad.net/~vsespb/+archive/mt-aws-glacier):

1.	`sudo apt-get update`
2.	`sudo apt-get install software-properties-common python-software-properties`
3.	`sudo add-apt-repository ppa:vsespb/mt-aws-glacier`

	(GPG key id/fingerprint would be **D2BFA5E4** and **D7F1BC2238569FC447A8D8249E86E8B2D2BFA5E4**)

4.	`sudo apt-get update`
5.	`sudo apt-get install libapp-mtaws-perl`

##### Debian 6 (Squeeze)

Can be installed/updated via custom repository

1.	`wget -O - http://mt-aws.com/vsespb.gpg.key | sudo apt-key add -`

	(this will add GPG key 2C00 B003 A56C 5F2A 75C4 4BF8 2A6E 0307 **D0FF 5699**)

2. Add repository


		echo "deb http://dl.mt-aws.com/debian/current squeeze main"|sudo tee /etc/apt/sources.list.d/mt-aws.list

README.md  view on Meta::CPAN



	(To use HTTPS you also need:)

5. `sudo apt-get install build-essential libssl-dev`

6. install/update `LWP::UserAgent` and `LWP::Protocol::https` using [cpanm]

##### Debian 7 (Wheezy), including rasbian for Raspberry Pi

Can be installed/updated via custom repository

1.	`wget -O - https://mt-aws.com/vsespb.gpg.key | sudo apt-key add -`

	(this will add GPG key 2C00 B003 A56C 5F2A 75C4 4BF8 2A6E 0307 **D0FF 5699**)

2. Add repository


		echo "deb http://dl.mt-aws.com/debian/current wheezy main"|sudo tee /etc/apt/sources.list.d/mt-aws.list


3.	`sudo apt-get update`
4.	`sudo apt-get install libapp-mtaws-perl`

##### Debian 8 (Jessie)

Can be installed/updated via custom repository

1.	`wget -O - https://mt-aws.com/vsespb.gpg.key | sudo apt-key add -`

	(this will add GPG key 2C00 B003 A56C 5F2A 75C4 4BF8 2A6E 0307 **D0FF 5699**)

2. Add repository


		echo "deb http://dl.mt-aws.com/debian/current jessie main"|sudo tee /etc/apt/sources.list.d/mt-aws.list



( run in 0.246 second using v1.01-cache-2.11-cpan-05444aca049 )