Commits

Kaspar Schiess committed 6c26ca1

Preparing the release

Comments (0)

Files changed (5)

+= 0.2.0
+ 
+ . first public release
+ - zfs_incremental_sync deleted. Not the general solution of the problem we'd
+   hoped for. 
+
+== 0.1.8
+ 
+ ! Pool name can now contain spaces.
+ * Update to the newest activesupport gem, works with Ruby 1.9.2
+ * Dismiss the use of pfexec to run commands that need special privileges, in
+   favor of sudo.
+ * Reworked tools to use the library instead of issuing commands themselves.
+ * [zfs_incremental_sync] Fixed: full synch.
+ * [zfs_incremental_sync] Fixed: Missing snapshots on the target 
+   would be the cause for a failed synch. I hope this is fixed now.
+ * [zfs_list_obsolete_snapshots] Works with datasets that have no snapshots
+ * [zfs_incremental_sync] Fixed: Bug where sync would abort because there 
+   were no initial snapshots. 
+ * zfs_incremental_sync doesn't use sudo anymore. All commands that need 
+   special privileges are run through pfexec.
+ * Now gives incremental sync snapshots special names. This avoids collision
+   with the ones done hourly and it also provides information about where
+   the snapshot went (to which host).

History.txt

-== 0.1.8 / 20Feb2012
- 
- ! Pool name can now contain spaces.
-
-== 0.1.6 / 20Sept2011
-
- * Update to the newest activesupport gem, works with Ruby 1.9.2
-
-== 0.1.5
-
- * Dismiss the use of pfexec to run commands that need special privileges, in
-   favor of sudo.
-
-== 0.1.4
-  
-  * Reworked tools to use the library instead of issuing commands themselves.
-  
-  * [zfs_incremental_sync] Fixed: full synch.
-
-== 0.1.3 / 29Apr10
-  
-  * [zfs_incremental_sync] Fixed: Missing snapshots on the target 
-    would be the cause for a failed synch. I hope this is fixed now.
-
-== 0.1.2
-
-  * [zfs_list_obsolete_snapshots] Works with datasets that have no snapshots
-
-  * [zfs_incremental_sync] Fixed: Bug where sync would abort because there 
-    were no initial snapshots. 
-    
-
-== 0.1.1
-
-  * zfs_incremental_sync doesn't use sudo anymore. All commands that need 
-    special privileges are run through pfexec.
-    
-  * Now gives incremental sync snapshots special names. This avoids collision
-    with the ones done hourly and it also provides information about where
-    the snapshot went (to which host).
   # Safely destroy some dataset (recursively). This will always ask for
   # permission!
   zfs_safe_destroy pool1/my/dataset
+
+STATUS
+
+  This is useful in production; the code needs to be cleaned up.
+
+LICENSE
+  
+  MIT license, see LICENSE file.
+
+HACKING
+
+  To run the specs, type `rspec`. 
+
+  Pull requests welcome. 

Rakefile

-require 'rdoc/task'
-require 'sdoc'
-
-require 'rspec/core/rake_task'
-require "rubygems/package_task"
-
-desc "Run all tests: Exhaustive."
-RSpec::Core::RakeTask.new
-
-task :default => :spec
-
-# Generate documentation
-RDoc::Task.new do |rdoc|
-  rdoc.title    = "zfs_incremental_sync - a tool suite for zfs snapshot manipulation"
-  rdoc.options << '--line-numbers'
-  rdoc.options << '--fmt' << 'shtml' # explictly set shtml generator
-  rdoc.template = 'direct' # lighter template used on railsapi.com
-  rdoc.main = "README"
-  rdoc.rdoc_files.include("README", "lib/**/*.rb")
-  rdoc.rdoc_dir = "rdoc"
-end
-
-desc 'Clear out RDoc'
-task :clean => [:clobber_rdoc, :clobber_package]
-
-# This task actually builds the gem. 
-task :gem => :spec
-spec = eval(File.read('zfs_incremental_sync.gemspec'))
-
-desc "Generate the gem package."
-Gem::PackageTask.new(spec) do |pkg|
-  pkg.gem_spec = spec
-end

zfs-tools.gemspec

 
   s.authors = ["Kaspar Schiess"]
   s.email = %q{kaspar.schiess@absurd.li}
-  s.executables = ["zfs_incremental_sync", "zfs_list_obsolete_snapshots", "zfs_snapshot"]
-  s.files = ["Rakefile"] + Dir.glob("{lib,bin,spec}/**/*")
-  s.homepage = %q{http://absurd.li}
+  s.executables = [
+    "zfs_safe_destroy", 
+    "zfs_list_obsolete_snapshots", 
+    "zfs_snapshot"]
+  s.files = %w(LICENSE HISTORY README) + Dir.glob("{lib,bin}/**/*")
+  s.homepage = %q{http://bitbucket.org/kschiess/zfs-tools}
   s.require_paths = ["lib"]
   s.summary = %q{
     A few ZFS tools, mostly related to snapshotting, cleaning up and synching. }