Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 2725 Bytes
1 | # Rakefile for Rack. -*-ruby-*- |
2 | require 'rake/rdoctask' |
3 | |
4 | desc "Run all the tests" |
5 | task :default => [:test] |
6 | |
7 | desc "Make an archive as .tar.gz" |
8 | task :dist => [:chmod, :changelog, :rdoc, "SPEC"] do |
9 | sh "git archive --format=tar --prefix=#{release}/ HEAD^{tree} >#{release}.tar" |
10 | sh "pax -waf #{release}.tar -s ':^:#{release}/:' SPEC ChangeLog doc rack.gemspec" |
11 | sh "gzip -f -9 #{release}.tar" |
12 | end |
13 | |
14 | desc "Make an official release" |
15 | task :officialrelease do |
16 | puts "Official build for #{release}..." |
17 | sh "rm -rf stage" |
18 | sh "git clone --shared . stage" |
19 | sh "cd stage && rake officialrelease_really" |
20 | sh "mv stage/#{release}.tar.gz stage/#{release}.gem ." |
21 | end |
22 | |
23 | task :officialrelease_really => ["SPEC", :dist, :gem] do |
24 | sh "sha1sum #{release}.tar.gz #{release}.gem" |
25 | end |
26 | |
27 | def release |
28 | "rack-#{File.read("rack.gemspec")[/s.version *= *"(.*?)"/, 1]}" |
29 | end |
30 | |
31 | desc "Make binaries executable" |
32 | task :chmod do |
33 | Dir["bin/*"].each { |binary| File.chmod(0775, binary) } |
34 | Dir["test/cgi/test*"].each { |binary| File.chmod(0775, binary) } |
35 | end |
36 | |
37 | desc "Generate a ChangeLog" |
38 | task :changelog do |
39 | File.open("ChangeLog", "w") { |out| |
40 | `git log -z`.split("\0").map { |chunk| |
41 | author = chunk[/Author: (.*)/, 1].strip |
42 | date = chunk[/Date: (.*)/, 1].strip |
43 | desc, detail = $'.strip.split("\n", 2) |
44 | detail ||= "" |
45 | detail = detail.gsub(/.*darcs-hash:.*/, '') |
46 | detail.rstrip! |
47 | out.puts "#{date} #{author}" |
48 | out.puts " * #{desc.strip}" |
49 | out.puts detail unless detail.empty? |
50 | out.puts |
51 | } |
52 | } |
53 | end |
54 | |
55 | |
56 | desc "Generate Rack Specification" |
57 | task "SPEC" do |
58 | File.open("SPEC", "wb") { |file| |
59 | IO.foreach("lib/rack/lint.rb") { |line| |
60 | if line =~ /## (.*)/ |
61 | file.puts $1 |
62 | end |
63 | } |
64 | } |
65 | end |
66 | |
67 | desc "Run all the fast tests" |
68 | task :test do |
69 | opts = ENV['TEST'] || '-a' |
70 | specopts = ENV['TESTOPTS'] || |
71 | "-q -t '^(?!Rack::Adapter|Rack::Session::Memcache|rackup)'" |
72 | |
73 | sh "bacon -I./lib:./test -w #{opts} #{specopts}" |
74 | end |
75 | |
76 | desc "Run all the tests" |
77 | task :fulltest => [:chmod] do |
78 | opts = ENV['TEST'] || '-a' |
79 | specopts = ENV['TESTOPTS'] || '-q' |
80 | sh "bacon -I./lib:./test -w #{opts} #{specopts}" |
81 | end |
82 | |
83 | task :gem => ["SPEC"] do |
84 | sh "gem build rack.gemspec" |
85 | end |
86 | |
87 | desc "Generate RDoc documentation" |
88 | task :rdoc => ["SPEC"] do |
89 | sh(*%w{rdoc --line-numbers --main README |
90 | --title 'Rack\ Documentation' --charset utf-8 -U -o doc} + |
91 | %w{README KNOWN-ISSUES SPEC} + |
92 | Dir["lib/**/*.rb"]) |
93 | end |
94 | |
95 | task :pushsite => [:rdoc] do |
96 | sh "cd site && git gc" |
97 | sh "rsync -avz doc/ chneukirchen@rack.rubyforge.org:/var/www/gforge-projects/rack/doc/" |
98 | sh "rsync -avz site/ chneukirchen@rack.rubyforge.org:/var/www/gforge-projects/rack/" |
99 | sh "cd site && git push" |
100 | end |