[Rt-commit] r6174 - in Mnemonic: . ex lib
jesse at bestpractical.com
jesse at bestpractical.com
Sat Oct 7 03:01:49 EDT 2006
Author: jesse
Date: Sat Oct 7 03:01:48 2006
New Revision: 6174
Added:
Mnemonic/lib/Mnemonic/Backend/Filesystem.pm
- copied, changed from r6173, /Mnemonic/lib/Mnemonic/Backend/Tmp.pm
Removed:
Mnemonic/lib/Mnemonic/Backend/Tmp.pm
Modified:
Mnemonic/ (props changed)
Mnemonic/ex/dotmnemonic_config
Mnemonic/lib/Mnemonic.pm
Log:
r28073 at pinglin: jesse | 2006-10-06 22:21:46 -0400
Renamed
Modified: Mnemonic/ex/dotmnemonic_config
==============================================================================
--- Mnemonic/ex/dotmnemonic_config (original)
+++ Mnemonic/ex/dotmnemonic_config Sat Oct 7 03:01:48 2006
@@ -1,4 +1,6 @@
-backend: Mnemonic::Backend::Tmp
+backend: Mnemonic::Backend::Filesystem
+filesys:
+ store: /path/to/backup/store
S3:
access_key: 1FX1111111111
secret_key: amazon_secret_access_key_goes_here
Modified: Mnemonic/lib/Mnemonic.pm
==============================================================================
--- Mnemonic/lib/Mnemonic.pm (original)
+++ Mnemonic/lib/Mnemonic.pm Sat Oct 7 03:01:48 2006
@@ -25,7 +25,7 @@
$self->load_config();
$self->pgp( Mnemonic::Crypto::OpenPGP->new( { config => $self->config } ) );
- my $backend = $self->config->{'backend'} || "Mnemonic::Backend::Tmp";
+ my $backend = $self->config->{'backend'} || "Mnemonic::Backend::Filesystem";
$backend->require() || die $@;
$self->backend( $backend->new( { config => $self->config() } ) );
$self->backend->init();
Copied: Mnemonic/lib/Mnemonic/Backend/Filesystem.pm (from r6173, /Mnemonic/lib/Mnemonic/Backend/Tmp.pm)
==============================================================================
--- /Mnemonic/lib/Mnemonic/Backend/Tmp.pm (original)
+++ Mnemonic/lib/Mnemonic/Backend/Filesystem.pm Sat Oct 7 03:01:48 2006
@@ -2,7 +2,7 @@
use warnings;
use strict;
-package Mnemonic::Backend::Tmp;
+package Mnemonic::Backend::Filesystem;
use IO::All;
use File::Spec;
use Digest::MD5;
More information about the Rt-commit
mailing list