Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 171
- Log:
Initial import of Beast 0.9 from downloaded Tarball. Beast is a Ruby
On Rails based forum application. The original tarball came from the
following location:http://s3.amazonaws.com/beast-forum/beast-0.9.tar.gz
The forum post which announced this version's availability was at:
http://beast.caboo.se/forums/1/topics/446
- Author:
- rool
- Date:
- Fri Mar 02 15:51:55 +0000 2007
- Size:
- 1490 Bytes
1 | desc "freeze rails edge" |
2 | task :deploy_edge do |
3 | ENV['SHARED_PATH'] = '../../shared' unless ENV['SHARED_PATH'] |
4 | ENV['RAILS_PATH'] ||= File.join(ENV['SHARED_PATH'], 'rails') |
5 | |
6 | checkout_path = File.join(ENV['RAILS_PATH'], 'trunk') |
7 | export_path = "#{ENV['RAILS_PATH']}/rev_#{ENV['REVISION']}" |
8 | symlink_path = 'vendor/rails' |
9 | |
10 | # do we need to checkout the file? |
11 | unless File.exists?(checkout_path) |
12 | puts 'setting up rails trunk' |
13 | get_framework_for checkout_path do |framework| |
14 | system "svn co http://dev.rubyonrails.org/svn/rails/trunk/#{framework}/lib #{checkout_path}/#{framework}/lib --quiet" |
15 | end |
16 | end |
17 | |
18 | # do we need to export the revision? |
19 | unless File.exists?(export_path) |
20 | puts "setting up rails rev #{ENV['REVISION']}" |
21 | get_framework_for export_path do |framework| |
22 | system "svn up #{checkout_path}/#{framework}/lib -r #{ENV['REVISION']} --quiet" |
23 | system "svn export #{checkout_path}/#{framework}/lib #{export_path}/#{framework}/lib" |
24 | end |
25 | end |
26 | |
27 | puts 'linking rails' |
28 | rm_rf symlink_path |
29 | mkdir_p symlink_path |
30 | |
31 | get_framework_for symlink_path do |framework| |
32 | ln_s File.expand_path("#{export_path}/#{framework}/lib"), "#{symlink_path}/#{framework}/lib" |
33 | end |
34 | |
35 | touch "vendor/rails_#{ENV['REVISION']}" |
36 | end |
37 | |
38 | def get_framework_for(*paths) |
39 | %w( railties actionpack activerecord actionmailer activesupport activeresource ).each do |framework| |
40 | paths.each { |path| mkdir_p "#{path}/#{framework}" } |
41 | yield framework |
42 | end |
43 | end |