repo string | commit string | message string | diff string |
|---|---|---|---|
bricooke/assistance | c9c9ff9500d199460116c0d621a9d4ec05652919 | Added Array#extract_options! method. Version 0.1.1. | diff --git a/CHANGELOG b/CHANGELOG
index 2cabb8d..9ff9ab0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,17 +1,21 @@
+=== 0.1.1 (2008-01-18)
+
+* Added Array#extract_options! method.
+
=== 0.1 (2008-01-14)
* First "official" release.
=== 0.0.2 (2008-01-10)
* Removed Sequel namespace for ConnectionPool.
=== 0... |
bricooke/assistance | 20c6887b5890cd116afb67e41af4ee076b982ee6 | First official release. Version 0.1. | diff --git a/CHANGELOG b/CHANGELOG
index 7ad65cd..2cabb8d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,13 +1,17 @@
+=== 0.1 (2008-01-14)
+
+* First "official" release.
+
=== 0.0.2 (2008-01-10)
* Removed Sequel namespace for ConnectionPool.
=== 0.0.1 (2008-01-10)
* Imported #blank? from DataMapper.
* Import... |
bricooke/assistance | a8c3400e3172739479e0fd9653eac7dd20274040 | Removed Sequel namespace for ConnectionPool. Version 0.0.2. | diff --git a/CHANGELOG b/CHANGELOG
index af10554..7ad65cd 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,9 +1,13 @@
+=== 0.0.2 (2008-01-10)
+
+* Removed Sequel namespace for ConnectionPool.
+
=== 0.0.1 (2008-01-10)
* Imported #blank? from DataMapper.
* Imported inflector from Merb.
* Imported ConnectionPool fro... |
bricooke/assistance | 306858cc1b73a3052358d55380176684df945912 | another fix to Rakefile. | diff --git a/Rakefile b/Rakefile
index bef7ded..157453f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,118 +1,118 @@
require "rake"
require "rake/clean"
require "rake/gempackagetask"
require "rake/rdoctask"
require "fileutils"
include FileUtils
######################################################################... |
bricooke/assistance | 2ae7c98866a90a6bac2517c1d28b6ddf9f3d7617 | typo in Rakefile. | diff --git a/Rakefile b/Rakefile
index 2687781..bef7ded 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,118 +1,118 @@
require "rake"
require "rake/clean"
require "rake/gempackagetask"
require "rake/rdoctask"
require "fileutils"
include FileUtils
######################################################################... |
bricooke/assistance | a12062c2121c1fc4cafe09c8413137aeb2e687bc | Version 0.0.1. | diff --git a/CHANGELOG b/CHANGELOG
index b6309e9..af10554 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,9 +1,9 @@
-=== SVN
+=== 0.0.1 (2008-01-10)
* Imported #blank? from DataMapper.
* Imported inflector from Merb.
* Imported ConnectionPool from Sequel.
* Imported time calculations from Sequel.
\ No newline ... |
bricooke/assistance | dd5601ff66a387ce392775c0d1824ea1163f29f3 | Imported #blank? from DataMapper. | diff --git a/CHANGELOG b/CHANGELOG
index 934e339..b6309e9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,7 +1,9 @@
=== SVN
+* Imported #blank? from DataMapper.
+
* Imported inflector from Merb.
* Imported ConnectionPool from Sequel.
* Imported time calculations from Sequel.
\ No newline at end of file
diff --gi... |
bricooke/assistance | e260f90c5916adfdf2ad1f257767493d4af4e38e | Imported inflector from Merb. | diff --git a/CHANGELOG b/CHANGELOG
index 46458c9..934e339 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,7 @@
=== SVN
+* Imported inflector from Merb.
+
* Imported ConnectionPool from Sequel.
* Imported time calculations from Sequel.
\ No newline at end of file
diff --git a/TODO b/TODO
index 9c326a6..3dc9304 ... |
bricooke/assistance | d460bee69d2023119a5e62b088571229ded3c00e | Imported time calculations from Sequel. Imported ConnectionPool from Sequel. | diff --git a/CHANGELOG b/CHANGELOG
index e69de29..46458c9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -0,0 +1,5 @@
+=== SVN
+
+* Imported ConnectionPool from Sequel.
+
+* Imported time calculations from Sequel.
\ No newline at end of file
diff --git a/TODO b/TODO
index a9c79fb..a99a6f2 100644
--- a/TODO
+++ b/TODO
@@ -1,... |
bricooke/assistance | 850fabb796ce61dffaba28436814379abdc47096 | change log, specs work. | diff --git a/CHANGELOG b/CHANGELOG
new file mode 100644
index 0000000..e69de29
diff --git a/lib/assistance.rb b/lib/assistance.rb
new file mode 100644
index 0000000..e69de29
diff --git a/spec/rcov.opts b/spec/rcov.opts
new file mode 100644
index 0000000..b4f540b
--- /dev/null
+++ b/spec/rcov.opts
@@ -0,0 +1,4 @@
+--exc... |
bricooke/assistance | 261be68fef6cb272897fae8a391209b6b7b98842 | rake tasks, copyright notice. | diff --git a/COPYING b/COPYING
index e69de29..71445aa 100644
--- a/COPYING
+++ b/COPYING
@@ -0,0 +1,18 @@
+Copyright (c) 2008 Ezra Zygmuntowicz, Sam Smoot, Sharon Rosner
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"),... |
bricooke/assistance | c62894c91c4d4453187f320a6baf3161cffae1a2 | basic trunk structure. | diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..e69de29
diff --git a/README b/README
new file mode 100644
index 0000000..e69de29
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..e69de29
|
bricooke/assistance | 4a65d8a3e61d56cfb8ac5649f8d9da9ce26d2733 | moved todo inside trunk. | diff --git a/TODO b/TODO
new file mode 100644
index 0000000..712596f
--- /dev/null
+++ b/TODO
@@ -0,0 +1,14 @@
+* Create repository skeleton.
+
+* Create trunk skeleton - lib, Rakefile etc.
+
+* Move TODO inside trunk.
+
+* Import code for inflector (from merb?).
+
+* Object#blank?.
+
+* 3.days_ago methods (basic stuff... |
sirupsen/Mongoground | fdb77947ce6d32643e718d6279071a7eec44a8a0 | Comments | diff --git a/mongo.rb b/mongo.rb
index 2b60e0e..d413aad 100644
--- a/mongo.rb
+++ b/mongo.rb
@@ -1,36 +1,38 @@
+# Few comments because Ruby sort of comments itself with it's elegance
+
%w{
sinatra
erb
models/user.rb
-}.each {|lib| require lib}
+}.each {|lib| require lib} # Because DRY code, is awesome code
... |
sirupsen/Mongoground | b00e6a2c2b501baf98529788897722d24e322066 | Added user view | diff --git a/views/user.haml b/views/user.haml
new file mode 100644
index 0000000..1c33ca9
--- /dev/null
+++ b/views/user.haml
@@ -0,0 +1,22 @@
+%h2
+ = @user.username
+
+- if @user.age
+ %p
+ Is
+ = @user.age
+ years old.
+
+#edit-user
+ %form{:action => "/user/" + @user.id.to_s, :method => "post"}
+ %p... |
sirupsen/Mongoground | dd4ee69899c5ca18d786ac8c3a026ec53472d9bc | Added user page | diff --git a/mongo.rb b/mongo.rb
index bcb5b29..2b60e0e 100644
--- a/mongo.rb
+++ b/mongo.rb
@@ -1,23 +1,36 @@
%w{
sinatra
erb
models/user.rb
}.each {|lib| require lib}
configure do
set :haml, {:format => :html5}
end
get "/" do
@users = User.all
haml :index, {:layout => true}
end
post "... |
sirupsen/Mongoground | 81ebb3e4af9b317261f1203128b480e593d5a656 | How we love jQuery | diff --git a/README.md b/README.md
index 213dd6d..1853e45 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# Mongoground #
-A simple Sinatra application using Mongo to store users, as well as retrieve them to show information about them.
+A simple Sinatra application using Mongo to store users, as well as retrie... |
sirupsen/Mongoground | c63ef1d4434d8d9641f341e267be59a12f423c51 | Stylesheet.css rather than style.css | diff --git a/mongo.rb b/mongo.rb
index 7e27cc0..770fe11 100644
--- a/mongo.rb
+++ b/mongo.rb
@@ -1,23 +1,22 @@
%w{
sinatra
erb
models/user.rb
}.each {|lib| require lib}
configure do
set :haml, {:format => :html5}
end
get "/" do
@users = User.all
haml :index, {:layout => true}
end
post "/"... |
sirupsen/Mongoground | a8e650437ceaff0ca3a8a1b32844fadc854e81f5 | Let's dry it up.. | diff --git a/config.ru b/config.ru
index 8c1a691..ab41fad 100644
--- a/config.ru
+++ b/config.ru
@@ -1,5 +1,3 @@
-require 'rubygems'
-require 'sinatra'
require 'app/mongo.rb'
run Sinatra::Application
diff --git a/mongo.rb b/mongo.rb
index 6aca604..7e27cc0 100644
--- a/mongo.rb
+++ b/mongo.rb
@@ -1,21 +1,23 @@
-requ... |
sirupsen/Mongoground | 496c295510ee2c848a6facfe43a0074cfd38d539 | Added error message | diff --git a/public/script.js b/public/script.js
index 7aee516..bbc8153 100644
--- a/public/script.js
+++ b/public/script.js
@@ -1,48 +1,52 @@
var DELETED = "Deleted all entries"
+var ERROR = "Error adding user"
jQuery.fn.fadeThenSlideToggle = function(speed, easing, callback) {
if (this.is(":hidden")) {
re... |
sirupsen/Mongoground | e8e3a09edd74225e4bb437c757a689f695133b2b | Playing with Javascript | diff --git a/public/script.js b/public/script.js
index dc6cecd..7aee516 100644
--- a/public/script.js
+++ b/public/script.js
@@ -1,45 +1,48 @@
var DELETED = "Deleted all entries"
jQuery.fn.fadeThenSlideToggle = function(speed, easing, callback) {
if (this.is(":hidden")) {
return this.slideDown(speed, easing... |
sirupsen/Mongoground | e0c18bf4899850a3ef813589bffcdabd3f68737f | Valid XHTML | diff --git a/README.md b/README.md
index 0d1e550..213dd6d 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,7 @@
# Mongoground #
A simple Sinatra application using Mongo to store users, as well as retrieve them to show information about them.
Oh yeah, Mongoground is "short for" Mongo Playground, both are lame name... |
sirupsen/Mongoground | f3babebd1a4bbf26427e590d63875cb9c5abdd76 | New shiny pictures | diff --git a/README.md b/README.md
index 21eb1fb..0d1e550 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,9 @@
# Mongoground #
A simple Sinatra application using Mongo to store users, as well as retrieve them to show information about them.
Oh yeah, Mongoground is "short for" Mongo Playground, both are lame name... |
sirupsen/Mongoground | ce6d6c04353bc294c9702b1c108990504f1fcf75 | Empty age field per default | diff --git a/views/index.haml b/views/index.haml
index a34f0ec..c12a297 100644
--- a/views/index.haml
+++ b/views/index.haml
@@ -1,26 +1,27 @@
- if @user
%p
= @user.username
has been added to the database!
%form{:method => "post", :action => "/"}
%label{:for => "username"} Username
%input{:type =... |
sirupsen/Mongoground | 3687e31b3453768980f0ae7bf7224c03d1f45e6d | Focus username field | diff --git a/public/script.js b/public/script.js
index f6b2edd..dc6cecd 100644
--- a/public/script.js
+++ b/public/script.js
@@ -1,40 +1,45 @@
var DELETED = "Deleted all entries"
jQuery.fn.fadeThenSlideToggle = function(speed, easing, callback) {
if (this.is(":hidden")) {
return this.slideDown(speed, easing... |
sirupsen/Mongoground | 2cfaaffc8ed76d033f5b490c11a8fad6726a7113 | Layout to HAMl, as well as more fancy JS | diff --git a/public/script.js b/public/script.js
index 8588f80..f6b2edd 100644
--- a/public/script.js
+++ b/public/script.js
@@ -1,27 +1,40 @@
+var DELETED = "Deleted all entries"
+
+jQuery.fn.fadeThenSlideToggle = function(speed, easing, callback) {
+ if (this.is(":hidden")) {
+ return this.slideDown(speed, easing... |
sirupsen/Mongoground | c19ba2fd4b8da67175cdae85a5a6ae0ef6eeb685 | Index rewritten in Haml | diff --git a/mongo.rb b/mongo.rb
index 5e4e092..a711ad7 100644
--- a/mongo.rb
+++ b/mongo.rb
@@ -1,17 +1,17 @@
require "sinatra"
require "erb"
require "models/user.rb"
get "/" do
@users = User.all
- erb :index, {:layout => true}
+ haml :index, {:layout => true}
end
post "/" do
@user = User.create(para... |
sirupsen/Mongoground | 39885a9752349485911a83a3f90a361f40f3e6be | Not using Rails structure anymore | diff --git a/README.md b/README.md
index 276d64e..21eb1fb 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,6 @@
# Mongoground #
A simple Sinatra application using Mongo to store users, as well as retrieve them to show information about them.
-I partly adapted the Rails structure for this application, as it seemed ... |
sirupsen/Mongoground | 0938be22f7e2fcd171acc264b92c9e519e3b5682 | Now with jQuery and all | diff --git a/public/jquery.js b/public/jquery.js
new file mode 100644
index 0000000..7c24308
--- /dev/null
+++ b/public/jquery.js
@@ -0,0 +1,154 @@
+/*!
+ * jQuery JavaScript Library v1.4.2
+ * http://jquery.com/
+ *
+ * Copyright 2010, John Resig
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jq... |
sirupsen/Mongoground | be9bdae27a6b5ff225a6613ca5a32646dcc17be3 | Now with jQuery and all | diff --git a/models/user.rb b/models/user.rb
index 3a697aa..e75d904 100644
--- a/models/user.rb
+++ b/models/user.rb
@@ -1,10 +1,11 @@
require "mongo_mapper"
MongoMapper.connection = Mongo::Connection.new
MongoMapper.database = 'mydb'
class User
include MongoMapper::Document
key :username, String, :requ... |
sirupsen/Mongoground | 5fda651183c54042ce71604a4fdb8a8b45ee4af6 | Submit button looking a bit better | diff --git a/public/style.css b/public/style.css
index b14865e..7946147 100644
--- a/public/style.css
+++ b/public/style.css
@@ -1,218 +1,219 @@
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s... |
sirupsen/Mongoground | 69fdd12abcf924bd1f007c60626fea79cc93a20f | Structure | diff --git a/models/user.rb b/models/user.rb
new file mode 100644
index 0000000..3a697aa
--- /dev/null
+++ b/models/user.rb
@@ -0,0 +1,10 @@
+require "mongo_mapper"
+
+MongoMapper.connection = Mongo::Connection.new
+MongoMapper.database = 'mydb'
+
+class User
+ include MongoMapper::Document
+
+ key :username, String,... |
sirupsen/Mongoground | a453b2a165854942b57a57719ecda107d46982b9 | Structure changes | diff --git a/app/mongo.rb b/app/mongo.rb
deleted file mode 100644
index b08efd4..0000000
--- a/app/mongo.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-require "sinatra"
-require "erb"
-require "mongo"
-require "fileutils"
-require "models/user.rb"
-
-get "/" do
- @users = User.all
- erb :index, {:layout => true}
-end
-
-post "/... |
sirupsen/Mongoground | 054cd53bca5f86ea94fcd1cc2d6b4ec54b69b68a | That could be shortcutted | diff --git a/app/mongo.rb b/app/mongo.rb
index 99376fa..b08efd4 100644
--- a/app/mongo.rb
+++ b/app/mongo.rb
@@ -1,15 +1,15 @@
require "sinatra"
require "erb"
require "mongo"
require "fileutils"
require "models/user.rb"
get "/" do
@users = User.all
erb :index, {:layout => true}
end
post "/" do
- @use... |
sirupsen/Mongoground | 5663f6a1430f9cdb7c8f4a503ec38026627ff8bd | Removing debugging stuff | diff --git a/app/views/layout.erb b/app/views/layout.erb
index c71d14c..6e170df 100644
--- a/app/views/layout.erb
+++ b/app/views/layout.erb
@@ -1,21 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/... |
sirupsen/Mongoground | ef5a8f62ed4849cbd57d9bebe566a85bbd5402db | Not right | diff --git a/app/views/index.erb b/app/views/index.erb
index aeb4fcb..d32aa9c 100644
--- a/app/views/index.erb
+++ b/app/views/index.erb
@@ -1,18 +1,18 @@
-<% if @user.username %>
+<% if @user %>
<p><%= @user.username %> has been added to the database!</p>
<% end %>
<form method="post" action="/">
<label for=... |
sirupsen/Mongoground | 1c769f5b5158dc654d94af83b012500eb35b9d7f | Various misc. changes | diff --git a/app/models/person.rb b/app/models/person.rb
deleted file mode 100644
index 3a697aa..0000000
--- a/app/models/person.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-require "mongo_mapper"
-
-MongoMapper.connection = Mongo::Connection.new
-MongoMapper.database = 'mydb'
-
-class User
- include MongoMapper::Document
-
- ... |
sirupsen/Mongoground | 60b1066e094bcbcf2aef8483b71a0f50055cce18 | Yes, Rails structure! | diff --git a/README.md b/README.md
index ed12ae0..3cf1ec9 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
# Mongoground #
A simple Sinatra application using Mongo to store users, as well as retrieve them to show their usernames.
+I partly adapted the Rails structure for this application, as it seemed natural... |
sirupsen/Mongoground | 1521cacbd930a32d0e7315f302b4b308959706ed | Name clarification | diff --git a/README.md b/README.md
index beb2fbb..ed12ae0 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
# Mongoground #
A simple Sinatra application using Mongo to store users, as well as retrieve them to show their usernames.
+Oh yeah, Mongoground is "short for" Mongo Playground, both are lame names, but ... |
sirupsen/Mongoground | 1a9d863ca685f9f90602d4eda86dc27159d8d26c | Oops. Text in <head> | diff --git a/app/views/layout.erb b/app/views/layout.erb
index 44bd944..32ebab6 100644
--- a/app/views/layout.erb
+++ b/app/views/layout.erb
@@ -1,19 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/... |
sirupsen/Mongoground | 60d9e88be3e998450788c7672c4be3ecc74596b4 | Layout changes | diff --git a/README.md b/README.md
index 5cee754..3929649 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
# Mongoground #
-A simple Sinatra app. using MongoDB to store users, as well as retrieve them to show their usernames.
+A simple Sinatra application using Mongo to store users, as well as retrieve them to s... |
sirupsen/Mongoground | ce90adc6f5006f9b55585a38e43d70b5ae773603 | Added image to Readme | diff --git a/README.md b/README.md
index 5774c46..5cee754 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,4 @@
# Mongoground #
-A simple Sinatra app. using MongoDb to store users, as well as retrieve them and show them.
+A simple Sinatra app. using MongoDB to store users, as well as retrieve them to show their usern... |
sirupsen/Mongoground | e1564b79e31a6834c0b2c015050e39ed96ce4b07 | Added Readme | diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5774c46
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# Mongoground #
+A simple Sinatra app. using MongoDb to store users, as well as retrieve them and show them.
|
throughnothing/brackup | 7d304f8749bea2b50e64bf99b798cb6e8a58c178 | Add support for 'include' statements in brackup.conf file | diff --git a/lib/Brackup/Config.pm b/lib/Brackup/Config.pm
index 3e05967..1a8be61 100644
--- a/lib/Brackup/Config.pm
+++ b/lib/Brackup/Config.pm
@@ -1,237 +1,241 @@
package Brackup::Config;
use strict;
use Brackup::ConfigSection;
use warnings;
use Carp qw(croak);
use Fcntl qw(O_WRONLY O_CREAT O_EXCL);
sub ne... |
throughnothing/brackup | 48a67fa7de150114b11e3369527e0b64617fced4 | Add /etc/brackup/brackup.conf as a unix alternative to ~/.brackup.conf. | diff --git a/lib/Brackup/Config.pm b/lib/Brackup/Config.pm
index 665bb79..3e05967 100644
--- a/lib/Brackup/Config.pm
+++ b/lib/Brackup/Config.pm
@@ -1,232 +1,237 @@
package Brackup::Config;
use strict;
use Brackup::ConfigSection;
use warnings;
use Carp qw(croak);
use Fcntl qw(O_WRONLY O_CREAT O_EXCL);
sub ne... |
throughnothing/brackup | a594c69273c21801edd23597fe6ee4e0bd610805 | Move Root foreach_file backup-digest check out of pattern loop. | diff --git a/lib/Brackup/Root.pm b/lib/Brackup/Root.pm
index 04f0751..f641455 100644
--- a/lib/Brackup/Root.pm
+++ b/lib/Brackup/Root.pm
@@ -1,340 +1,341 @@
package Brackup::Root;
use strict;
use warnings;
use Carp qw(croak);
use File::Find;
use Brackup::DigestCache;
use Brackup::Util qw(io_print_to_fh);
use IP... |
throughnothing/brackup | 4b5ef651e996d72f8854cddacab1a73b8e1db1b9 | Add -n alias for --dry-run to brackup/brackup-target. | diff --git a/brackup b/brackup
index 4fdceb6..0013dcd 100755
--- a/brackup
+++ b/brackup
@@ -1,226 +1,226 @@
#!/usr/bin/perl
=head1 NAME
brackup - do a backup using Brackup
=head1 SYNOPSIS
$ brackup [-v] --from=<source> --to=<target> [--output=my_backup.brackup] [--save-stats]
=head2 OPTIONS
=over 4... |
throughnothing/brackup | fe748d5c52276fd7f27d23638c8a189b1363aa14 | Handle unexpected backup names better in Target::prune. | diff --git a/lib/Brackup/Target.pm b/lib/Brackup/Target.pm
index 4089b9d..afd53df 100644
--- a/lib/Brackup/Target.pm
+++ b/lib/Brackup/Target.pm
@@ -1,302 +1,306 @@
package Brackup::Target;
use strict;
use warnings;
use Brackup::InventoryDatabase;
use Brackup::TargetBackupStatInfo;
use Brackup::Util 'tempfile';... |
throughnothing/brackup | aa14efd1806800b2b4e22713d0625f04936718fa | Add --force option to brackup-verify-inventory. | diff --git a/brackup-verify-inventory b/brackup-verify-inventory
index a34a222..36fa729 100755
--- a/brackup-verify-inventory
+++ b/brackup-verify-inventory
@@ -1,177 +1,192 @@
#!/usr/bin/perl
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
=head1 NAME
brackup-verify-inven... |
throughnothing/brackup | 4a22795936676eb3a20ba4b209be74b196d77d50 | Fix typo in brackup-verify-inventory, clarify low chunk count error. | diff --git a/brackup-verify-inventory b/brackup-verify-inventory
index 98b93ac..a34a222 100755
--- a/brackup-verify-inventory
+++ b/brackup-verify-inventory
@@ -1,177 +1,177 @@
#!/usr/bin/perl
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
=head1 NAME
brackup-verify-inven... |
throughnothing/brackup | ba52080b7ab1cfba3b21baca35b495bc805c03e8 | Silence undef warning in Brackup::Decrypt. | diff --git a/lib/Brackup/Decrypt.pm b/lib/Brackup/Decrypt.pm
index 8bfa614..ccd9027 100644
--- a/lib/Brackup/Decrypt.pm
+++ b/lib/Brackup/Decrypt.pm
@@ -1,100 +1,100 @@
package Brackup::Decrypt;
use strict;
use warnings;
use Carp qw(croak);
use Brackup::Util qw(slurp tempfile);
# Decrypt a dataref into a data... |
throughnothing/brackup | 239dd952dc4cf32d1671bc5c620ba20dde1b3837 | Allow brackup -v -v, and some extra debug messages to Backup::backup. | diff --git a/brackup b/brackup
index ae8fe2d..4fdceb6 100755
--- a/brackup
+++ b/brackup
@@ -1,225 +1,226 @@
#!/usr/bin/perl
=head1 NAME
brackup - do a backup using Brackup
=head1 SYNOPSIS
$ brackup [-v] --from=<source> --to=<target> [--output=my_backup.brackup] [--save-stats]
=head2 OPTIONS
=over 4... |
throughnothing/brackup | f97291d40106e2de8c7bc0e6680a4b2a604524c7 | Add brackup-verify-chunks utility. | diff --git a/MANIFEST b/MANIFEST
index 3ccd30d..82a47be 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,109 +1,110 @@
Changes
HACKING
MANIFEST This list of files
MANIFEST.SKIP
Makefile.PL
TODO
brackup
brackup-mount
brackup-restore
brackup-target
brackup-verify-inventory
+brackup-verify-chunks
doc/data-structur... |
throughnothing/brackup | 71a4c948e05e386e4c78133f7d88cd0dc6e2b156 | Add onerror => continue and webhook entries to Changes. | diff --git a/Changes b/Changes
index a43998e..c072341 100644
--- a/Changes
+++ b/Changes
@@ -1,262 +1,267 @@
- - add --conflict [skip|overwrite|update] options to brackup-restore (Gavin
- Carr)
+ - gavincarr: add simple webhook support (Root webhook_url setting),
+ firing on backup success with BackupStats da... |
throughnothing/brackup | 1e39d8489458c616c04c42fff13177213289cfa1 | Add Try::Tiny requirement to Makefile.PL. | diff --git a/Makefile.PL b/Makefile.PL
index e8ad1cb..6896279 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,24 +1,25 @@
#!/usr/bin/perl
use 5.006;
use strict;
use ExtUtils::MakeMaker;
WriteMakefile( NAME => 'Brackup',
VERSION_FROM => 'lib/Brackup.pm',
EXE_FILES ... |
throughnothing/brackup | 28c7eec3b350f7e1ff11055983a5f06ca525c7a3 | Add onerror => continue support to brackup-restore. | diff --git a/brackup-restore b/brackup-restore
index ec65886..7adb8ef 100755
--- a/brackup-restore
+++ b/brackup-restore
@@ -1,154 +1,174 @@
#!/usr/bin/perl
-# TODO: skip-if-exists (and ignore zero byte files)
-# TODO: continue-on-errors
-# Error doing restore: File restore/.brackup-digest.db (.brackup-digest.db) al... |
throughnothing/brackup | c937eca3fe075b7ebbe8ffb10829b4fffedf0988 | Remove units from BackupStats::as_hash numerics, add to field names. | diff --git a/lib/Brackup/BackupStats.pm b/lib/Brackup/BackupStats.pm
index f92cb23..78c9e74 100644
--- a/lib/Brackup/BackupStats.pm
+++ b/lib/Brackup/BackupStats.pm
@@ -1,234 +1,242 @@
package Brackup::BackupStats;
use strict;
use Carp;
sub new {
my $class = shift;
my %opts = @_;
my $arguments = de... |
throughnothing/brackup | df28bf22f99ead5a85fba0d8dbf5c5ee99834550 | Add date field to webhook data. | diff --git a/lib/Brackup/Webhook.pm b/lib/Brackup/Webhook.pm
index f7fca22..c5d84e6 100644
--- a/lib/Brackup/Webhook.pm
+++ b/lib/Brackup/Webhook.pm
@@ -1,59 +1,61 @@
package Brackup::Webhook;
use strict;
use warnings;
use Carp qw(croak);
use JSON;
use LWP::UserAgent;
use Sys::Hostname;
+use POSIX qw(strftime);
... |
throughnothing/brackup | f87dfd7d9e01a9854156b6c832a6682cc09271e9 | Add hostname to Brackup::Webhook payload. | diff --git a/lib/Brackup/Webhook.pm b/lib/Brackup/Webhook.pm
index 3274b35..f7fca22 100644
--- a/lib/Brackup/Webhook.pm
+++ b/lib/Brackup/Webhook.pm
@@ -1,57 +1,59 @@
package Brackup::Webhook;
use strict;
use warnings;
use Carp qw(croak);
use JSON;
use LWP::UserAgent;
-use Data::Dump;
+use Sys::Hostname;
sub n... |
throughnothing/brackup | b44c36f1d9a7a3818c03dbd55651edf3f9263d88 | Fix failing t/08-stats.t by ignoring .svn directories. | diff --git a/t/08-stats.t b/t/08-stats.t
index a0b2451..665a330 100644
--- a/t/08-stats.t
+++ b/t/08-stats.t
@@ -1,45 +1,46 @@
# -*-perl-*-
use strict;
use Test::More;
use Brackup::Test;
use FindBin qw($Bin);
use Brackup::Util qw(tempfile);
############### Backup
my $arguments = '--from test_root --to t... |
throughnothing/brackup | 0dcd034596869207a9bb8433b9ec4ed0077cae2b | Fix broken patch from webhook merge. | diff --git a/brackup b/brackup
index 45e0274..ae8fe2d 100755
--- a/brackup
+++ b/brackup
@@ -1,225 +1,225 @@
#!/usr/bin/perl
=head1 NAME
brackup - do a backup using Brackup
=head1 SYNOPSIS
$ brackup [-v] --from=<source> --to=<target> [--output=my_backup.brackup] [--save-stats]
=head2 OPTIONS
=over 4... |
throughnothing/brackup | 1960b3a6e7a26599bea5165c2848b7d682a88cb1 | Add simple webhook support. | diff --git a/MANIFEST b/MANIFEST
index e090098..3ccd30d 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,108 +1,109 @@
Changes
HACKING
MANIFEST This list of files
MANIFEST.SKIP
Makefile.PL
TODO
brackup
brackup-mount
brackup-restore
brackup-target
brackup-verify-inventory
doc/data-structures.txt
doc/databases.t... |
throughnothing/brackup | ec2f54e68e017f2ce1a9ecab577ccb1519b33c0c | BackupStats cleanups, add as_hash method and unit test. | diff --git a/MANIFEST b/MANIFEST
index d511e0d..e090098 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,107 +1,108 @@
Changes
HACKING
MANIFEST This list of files
MANIFEST.SKIP
Makefile.PL
TODO
brackup
brackup-mount
brackup-restore
brackup-target
brackup-verify-inventory
doc/data-structures.txt
doc/databases.t... |
throughnothing/brackup | bbc2855d26974885145c578b2e7f970a17e6a5a4 | Croak on failed lstat in Brackup::File. | diff --git a/lib/Brackup/File.pm b/lib/Brackup/File.pm
index 59c06f9..4b3e0e3 100644
--- a/lib/Brackup/File.pm
+++ b/lib/Brackup/File.pm
@@ -1,250 +1,251 @@
package Brackup::File;
# "everything is a file"
# ... this class includes symlinks and directories
use strict;
use warnings;
use Carp qw(croak);
use File... |
throughnothing/brackup | 48f055551f9b5385b68547d94655e35cfa74fb60 | Tweak BackupStats line format. | diff --git a/lib/Brackup/BackupStats.pm b/lib/Brackup/BackupStats.pm
index d9d0371..8e807af 100644
--- a/lib/Brackup/BackupStats.pm
+++ b/lib/Brackup/BackupStats.pm
@@ -1,145 +1,145 @@
package Brackup::BackupStats;
use strict;
sub new {
my $class = shift;
my %opts = @_;
croak("Unknown options: " . j... |
throughnothing/brackup | f84fd4d3c3218d2a09699c90c7b3a1364a9ea706 | Add explicit 'use 5.006' to Makefile.PL. | diff --git a/Makefile.PL b/Makefile.PL
index 90417df..e8ad1cb 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,23 +1,24 @@
#!/usr/bin/perl
+use 5.006;
use strict;
use ExtUtils::MakeMaker;
WriteMakefile( NAME => 'Brackup',
VERSION_FROM => 'lib/Brackup.pm',
EXE_FILES ... |
throughnothing/brackup | 1c282dfc46fcb764d0562d9bf597fd0807a95cc7 | Add EXLOCK => 0 flag to File::Temp::tempfile uses, fixing cpan bug #28373. | diff --git a/Makefile.PL b/Makefile.PL
index 1dad958..90417df 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,23 +1,23 @@
#!/usr/bin/perl
use strict;
use ExtUtils::MakeMaker;
WriteMakefile( NAME => 'Brackup',
VERSION_FROM => 'lib/Brackup.pm',
EXE_FILES => [ 'br... |
throughnothing/brackup | dd7e56726a3f72daaff949c85b7562511d6ea0bd | Sanity check inv chunk count in brackup-verify-inventory --delete mode. | diff --git a/brackup-verify-inventory b/brackup-verify-inventory
index f7423f2..98b93ac 100755
--- a/brackup-verify-inventory
+++ b/brackup-verify-inventory
@@ -1,171 +1,177 @@
#!/usr/bin/perl
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
=head1 NAME
brackup-verify-inven... |
throughnothing/brackup | 4d63d7198ae216d1563832cc9448bdc52fa6aef8 | Make brackup-target set --verbose if --dry-run set. | diff --git a/brackup-target b/brackup-target
index ad48551..91f2817 100755
--- a/brackup-target
+++ b/brackup-target
@@ -1,203 +1,203 @@
#!/usr/bin/perl
=head1 NAME
brackup-target - Manage your backup targets
=head1 SYNOPSIS
$ brackup-target [opts] <target_name> list_backups
$ brackup-target [opts] <tar... |
throughnothing/brackup | 905778205b5a0ee1ad212e495272f6af4a44197d | Allow Target prune keep_backups == 0 if --source is set. | diff --git a/lib/Brackup/Target.pm b/lib/Brackup/Target.pm
index 7ee138d..4089b9d 100644
--- a/lib/Brackup/Target.pm
+++ b/lib/Brackup/Target.pm
@@ -1,302 +1,302 @@
package Brackup::Target;
use strict;
use warnings;
use Brackup::InventoryDatabase;
use Brackup::TargetBackupStatInfo;
use Brackup::Util 'tempfile';... |
throughnothing/brackup | 6ee0e22be4b1a650ca67b70593c69c43aef07fe1 | Escape and unescape link targets in the same way as paths. | diff --git a/lib/Brackup/File.pm b/lib/Brackup/File.pm
index b428ae5..59c06f9 100644
--- a/lib/Brackup/File.pm
+++ b/lib/Brackup/File.pm
@@ -1,250 +1,250 @@
package Brackup::File;
# "everything is a file"
# ... this class includes symlinks and directories
use strict;
use warnings;
use Carp qw(croak);
use File... |
throughnothing/brackup | a031cd39b04742e95321d4d52119ccfcf6e8576e | Add unlink in Brackup::Restore::_restore_file to fix readonly overwrite failure. | diff --git a/lib/Brackup/Restore.pm b/lib/Brackup/Restore.pm
index 1181a1e..c04ca97 100644
--- a/lib/Brackup/Restore.pm
+++ b/lib/Brackup/Restore.pm
@@ -1,402 +1,404 @@
package Brackup::Restore;
use strict;
use warnings;
use Carp qw(croak);
use Digest::SHA1;
use POSIX qw(mkfifo);
use Fcntl qw(O_RDONLY O_CREAT O_... |
throughnothing/brackup | f111561cfd97a553420ff16c15860271cc4e1e6e | Add readonly test data files. | diff --git a/t/data-2/readonly.txt b/t/data-2/readonly.txt
new file mode 100644
index 0000000..37e0398
--- /dev/null
+++ b/t/data-2/readonly.txt
@@ -0,0 +1 @@
+This file should be readonly (0444).
diff --git a/t/data/readonly.txt b/t/data/readonly.txt
new file mode 100644
index 0000000..37e0398
--- /dev/null
+++ b/t/da... |
throughnothing/brackup | 73a006d2151958ecf778c88a9d1731e10c85f2af | Make Brackup::Test::dir_structure and t/07-restore-conflict.t ignore .svn directories. | diff --git a/lib/Brackup/Test.pm b/lib/Brackup/Test.pm
index 947caa9..3ef684c 100644
--- a/lib/Brackup/Test.pm
+++ b/lib/Brackup/Test.pm
@@ -1,283 +1,283 @@
# support module for helping test brackup
package Brackup::Test;
require Exporter;
use strict;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(... |
throughnothing/brackup | 6c244f4dfb50110a6b2dd0a89e58c169de324385 | Add extra timestamp and debug before final flush_files in Brackup::backup. | diff --git a/lib/Brackup/Backup.pm b/lib/Brackup/Backup.pm
index 3f8fe22..4e16cd0 100644
--- a/lib/Brackup/Backup.pm
+++ b/lib/Brackup/Backup.pm
@@ -1,479 +1,481 @@
package Brackup::Backup;
use strict;
use warnings;
use Carp qw(croak);
use Brackup::ChunkIterator;
use Brackup::CompositeChunk;
use Brackup::GPGProc... |
throughnothing/brackup | f86b07d4172205d37ed7f018524c609475f133d9 | Add load_chunk stub to Brackup::Target; minor pod tweaks. | diff --git a/lib/Brackup/Target.pm b/lib/Brackup/Target.pm
index 0fa8880..7ee138d 100644
--- a/lib/Brackup/Target.pm
+++ b/lib/Brackup/Target.pm
@@ -1,294 +1,302 @@
package Brackup::Target;
use strict;
use warnings;
use Brackup::InventoryDatabase;
use Brackup::TargetBackupStatInfo;
use Brackup::Util 'tempfile';... |
throughnothing/brackup | b20908dfc1494918e4b7acb2f43dbe830d88dc7b | Add new restore conflict unit test files to MANIFEST. | diff --git a/MANIFEST b/MANIFEST
index 57ba696..d511e0d 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,105 +1,107 @@
Changes
HACKING
MANIFEST This list of files
MANIFEST.SKIP
Makefile.PL
TODO
brackup
brackup-mount
brackup-restore
brackup-target
brackup-verify-inventory
doc/data-structures.txt
doc/databases.t... |
throughnothing/brackup | 3e984db819301a2508db37f77c89e88f3f845ec2 | Add restore --conflict entry to Changes. | diff --git a/Changes b/Changes
index 8b8ab33..a43998e 100644
--- a/Changes
+++ b/Changes
@@ -1,258 +1,262 @@
+
+ - add --conflict [skip|overwrite|update] options to brackup-restore (Gavin
+ Carr)
+
1.10 (2010-10-31)
- permit 0 as a filename. https://rt.cpan.org/Ticket/Display.html?id=62004
- add Riak ta... |
throughnothing/brackup | 580a48898e00ef7a30bef3d84e12aec6802fe030 | Add unit tests for brackup-restore --conflict. | diff --git a/lib/Brackup/Test.pm b/lib/Brackup/Test.pm
index b666e1b..947caa9 100644
--- a/lib/Brackup/Test.pm
+++ b/lib/Brackup/Test.pm
@@ -1,278 +1,283 @@
# support module for helping test brackup
package Brackup::Test;
require Exporter;
use strict;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(... |
throughnothing/brackup | b4eb24444a3234d270bd0af3360df4236b7f5801 | Record mtime even for symlinks, for 'restore --conflict update'. | diff --git a/lib/Brackup/File.pm b/lib/Brackup/File.pm
index 8d1cec7..b428ae5 100644
--- a/lib/Brackup/File.pm
+++ b/lib/Brackup/File.pm
@@ -1,248 +1,250 @@
package Brackup::File;
# "everything is a file"
# ... this class includes symlinks and directories
use strict;
use warnings;
use Carp qw(croak);
use File... |
throughnothing/brackup | 1c7a2a83293592e69e517f7a842fa0fce2c0d34b | Add --conflict => [skip|overwrite|update] to brackup-restore. | diff --git a/brackup-restore b/brackup-restore
index d48e2c7..ec65886 100755
--- a/brackup-restore
+++ b/brackup-restore
@@ -1,141 +1,154 @@
#!/usr/bin/perl
# TODO: skip-if-exists (and ignore zero byte files)
# TODO: continue-on-errors
# Error doing restore: File restore/.brackup-digest.db (.brackup-digest.db) al... |
throughnothing/brackup | 109a022cbf28eab01651b3d5185fe4050961d42b | Add conflict => [skip|overwrite|update] support to Brackup::Restore. | diff --git a/lib/Brackup/Restore.pm b/lib/Brackup/Restore.pm
index 3b8ab48..1181a1e 100644
--- a/lib/Brackup/Restore.pm
+++ b/lib/Brackup/Restore.pm
@@ -1,363 +1,402 @@
package Brackup::Restore;
use strict;
use warnings;
use Carp qw(croak);
use Digest::SHA1;
use POSIX qw(mkfifo);
use Fcntl qw(O_RDONLY O_CREAT O_... |
throughnothing/brackup | 976602e8f12d850fae19747c81fe62e3fe1e9ef1 | Bump Target::Riak Net::Riak dependency to version 0.10. | diff --git a/lib/Brackup/Target/Riak.pm b/lib/Brackup/Target/Riak.pm
index bfb0d4b..fe1ecf5 100644
--- a/lib/Brackup/Target/Riak.pm
+++ b/lib/Brackup/Target/Riak.pm
@@ -1,326 +1,326 @@
package Brackup::Target::Riak;
use strict;
use warnings;
use base 'Brackup::Target';
-use Net::Riak 0.09;
+use Net::Riak 0.10;
#... |
throughnothing/brackup | de74b3a3bac8961a4084bac85c3c4079601a572c | Checking in changes prior to tagging of version 1.10. | diff --git a/Changes b/Changes
index b93ec38..8b8ab33 100644
--- a/Changes
+++ b/Changes
@@ -1,256 +1,258 @@
+1.10 (2010-10-31)
+
- permit 0 as a filename. https://rt.cpan.org/Ticket/Display.html?id=62004
- add Riak target, allowing backups to a riak cluster (Gavin Carr)
- add uid/gid info to metafile, an... |
throughnothing/brackup | bbcada0a3339dd1edc8bbc58d1b6be1302ba48a4 | Permit '0' as a filename. | diff --git a/Changes b/Changes
index 2c26604..b93ec38 100644
--- a/Changes
+++ b/Changes
@@ -1,254 +1,256 @@
+ - permit 0 as a filename. https://rt.cpan.org/Ticket/Display.html?id=62004
+
- add Riak target, allowing backups to a riak cluster (Gavin Carr)
- add uid/gid info to metafile, and use in restores (wh... |
throughnothing/brackup | c500fee0dff15cb143309036fd64a2a49f2fac17 | Tweaks to brackup-verify-inventory. | diff --git a/brackup-verify-inventory b/brackup-verify-inventory
index e126b95..f7423f2 100755
--- a/brackup-verify-inventory
+++ b/brackup-verify-inventory
@@ -1,164 +1,171 @@
#!/usr/bin/perl
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
=head1 NAME
brackup-verify-inven... |
throughnothing/brackup | de04f8ffc2bb9c3bcb2f5727863b797a98a5ed94 | Fix buglet in Brackup::Target::Riak::size. | diff --git a/lib/Brackup/Target/Riak.pm b/lib/Brackup/Target/Riak.pm
index 7bd61ef..bfb0d4b 100644
--- a/lib/Brackup/Target/Riak.pm
+++ b/lib/Brackup/Target/Riak.pm
@@ -1,326 +1,326 @@
package Brackup::Target::Riak;
use strict;
use warnings;
use base 'Brackup::Target';
use Net::Riak 0.09;
# fields in object:
#... |
throughnothing/brackup | 15c1495d7eddb0040413e29b4c037983da6f1301 | Bump Target::Riak Net::Riak version requirement to 0.09. | diff --git a/lib/Brackup/Target/Riak.pm b/lib/Brackup/Target/Riak.pm
index 90c08fc..7bd61ef 100644
--- a/lib/Brackup/Target/Riak.pm
+++ b/lib/Brackup/Target/Riak.pm
@@ -1,329 +1,326 @@
package Brackup::Target::Riak;
use strict;
use warnings;
use base 'Brackup::Target';
-use Net::Riak 0.08;
+use Net::Riak 0.09;
#... |
throughnothing/brackup | e9e6904969af1625d5bce834ad9bafa6ea057546 | Add Brackup::Target::Riak, allowing brackups to a riak cluster. | diff --git a/Changes b/Changes
index 33df2f3..2c26604 100644
--- a/Changes
+++ b/Changes
@@ -1,252 +1,254 @@
+ - add Riak target, allowing backups to a riak cluster (Gavin Carr)
+
- add uid/gid info to metafile, and use in restores (where possible)
(Gavin Carr)
- allow multiple gpg recipients to be specif... |
throughnothing/brackup | 7ace239840d42d2dbeffc58637b6717c7823a918 | Add ownership entry to Changes. | diff --git a/Changes b/Changes
index 1b49102..33df2f3 100644
--- a/Changes
+++ b/Changes
@@ -1,249 +1,252 @@
+ - add uid/gid info to metafile, and use in restores (where possible)
+ (Gavin Carr)
+
- allow multiple gpg recipients to be specified, any can restore (Alex
Vandiver)
- if IO::Compress::Gzip ... |
throughnothing/brackup | ea7fbbee27340493436bd062f3a7110be92bcf35 | Add --list-sources and --list-targets options to brackup. | diff --git a/brackup b/brackup
index 03501dc..45e0274 100755
--- a/brackup
+++ b/brackup
@@ -1,205 +1,225 @@
#!/usr/bin/perl
=head1 NAME
brackup - do a backup using Brackup
=head1 SYNOPSIS
$ brackup [-v] --from=<source> --to=<target> [--output=my_backup.brackup] [--save-stats]
=head2 OPTIONS
=over 4... |
throughnothing/brackup | cceedaeea7360f16fb8b9105cda51b59a0dbc2cc | Add .brackup-digest.db-journal to backup ignore list (Alex Vandiver). | diff --git a/lib/Brackup/Root.pm b/lib/Brackup/Root.pm
index ddec6be..642a2de 100644
--- a/lib/Brackup/Root.pm
+++ b/lib/Brackup/Root.pm
@@ -1,328 +1,328 @@
package Brackup::Root;
use strict;
use warnings;
use Carp qw(croak);
use File::Find;
use Brackup::DigestCache;
use Brackup::Util qw(io_print_to_fh);
use IP... |
throughnothing/brackup | 351b868d910fff6582e6c1cf62363364c805c4d8 | Tweak warning message if GTop not available (Alex Vandiver). | diff --git a/lib/Brackup/BackupStats.pm b/lib/Brackup/BackupStats.pm
index ee0ad81..d9d0371 100644
--- a/lib/Brackup/BackupStats.pm
+++ b/lib/Brackup/BackupStats.pm
@@ -1,145 +1,145 @@
package Brackup::BackupStats;
use strict;
sub new {
my $class = shift;
my %opts = @_;
croak("Unknown options: " . j... |
throughnothing/brackup | 74f8f7b6921ba0540e8b28f5e3e6e6a72c8720ba | Add new test keyrings to MANIFEST. | diff --git a/MANIFEST b/MANIFEST
index 5034cc7..c58ee91 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,99 +1,103 @@
brackup
brackup-mount
brackup-restore
brackup-target
brackup-verify-inventory
Changes
doc/data-structures.txt
doc/databases.txt
doc/design-decisions.txt
doc/exampleconfig.txt
doc/notes.txt
doc/ove... |
throughnothing/brackup | 6830d3ef854dff4e2e64acc6439ceec1091f4d52 | Add tests for multiple gpg recipient handling. | diff --git a/t/02-gpg.t b/t/02-gpg.t
index 74d1d45..00807a3 100644
--- a/t/02-gpg.t
+++ b/t/02-gpg.t
@@ -1,50 +1,64 @@
# -*-perl-*-
use strict;
use Test::More;
use Brackup::Test;
use FindBin qw($Bin);
use Brackup::Util qw(tempfile);
############### Backup
if (`gpg --version`) {
- plan tests => 13;
+ ... |
throughnothing/brackup | a1938f26664e2fadfe7e44ec1e032a4acf0b7c3b | Allow specification of multiple GPG recipients, any can restore (Alex Vandiver). | diff --git a/Changes b/Changes
index fd04c49..1b49102 100644
--- a/Changes
+++ b/Changes
@@ -1,247 +1,249 @@
+ - allow multiple gpg recipients to be specified, any can restore (Alex
+ Vandiver)
- if IO::Compress::Gzip is available, write a compressed brackup metafile in
unencrypted mode, and handle prope... |
throughnothing/brackup | 9cf858fc725d65297e204c993e61656f9f8a1c5f | Set local GNUPGHOME in Brackup::Test to avoid user dependency (Alex Vandiver). | diff --git a/lib/Brackup/Test.pm b/lib/Brackup/Test.pm
index 86a794a..0fa5784 100644
--- a/lib/Brackup/Test.pm
+++ b/lib/Brackup/Test.pm
@@ -1,275 +1,278 @@
# support module for helping test brackup
package Brackup::Test;
require Exporter;
use strict;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(... |
throughnothing/brackup | f7d33a6be530e270c0d754cb071076b0b76b6514 | Specify min Net::SFTP::Foreign version in Brackup::Target::Sftp. | diff --git a/lib/Brackup/Target/Sftp.pm b/lib/Brackup/Target/Sftp.pm
index b7bddc5..b405b89 100644
--- a/lib/Brackup/Target/Sftp.pm
+++ b/lib/Brackup/Target/Sftp.pm
@@ -1,367 +1,367 @@
package Brackup::Target::Sftp;
use strict;
use warnings;
use base 'Brackup::Target::Filebased';
use File::Basename;
-use Net::SFTP... |
throughnothing/brackup | 3c5e9650e56afed636c5ecd0c5fb36d6afba0bc4 | Specify min versions for ExtUtils::Manifest/Test::More; ignore .git files (Alex Vandiver). | diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index 9bc281d..40c7751 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -1,36 +1,37 @@
makedocs.pl
\.shipit
\.brackup$
# Avoid version control files.
\bRCS\b
\bCVS\b
\bSCCS\b
,v$
\B\.svn\b
\B\.bzr\b
+\B\.git\b
\b_darcs\b
# Avoid Makemaker generated and utility... |
throughnothing/brackup | 461553c651e7f6922bbaba64f024e73e9432cbc4 | Document some missing command-line options in brackup (Alex Vandiver). | diff --git a/brackup b/brackup
index e740b55..03501dc 100755
--- a/brackup
+++ b/brackup
@@ -1,186 +1,205 @@
#!/usr/bin/perl
=head1 NAME
brackup - do a backup using Brackup
=head1 SYNOPSIS
$ brackup [-v] --from=<source> --to=<target> [--output=my_backup.brackup] [--save-stats]
=head2 OPTIONS
=over 4... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.