public
Description: El Dorado is a full-stack community web application written in Ruby/Rails.
Homepage: http://almosteffortless.com/eldorado/
Clone URL: git://github.com/trevorturk/el-dorado.git
adding warning about timezones and timestamps to import rake task

git-svn-id: http://eldorado.googlecode.com/svn/trunk@422 
9c008b19-a030-0410-9975-d76d301b4276
trevorturk (author)
Sat Aug 11 18:00:35 -0700 2007
commit  ce41d71a6c0685dce7466572108616505ee78704
tree    50575b114d7a29f8f6adb2d67488d55763340039
parent  05549086c96f4a543fe846ecb4152a08cd9d063e
...
6
7
8
 
9
10
11
...
17
18
19
 
20
21
22
...
6
7
8
9
10
11
12
...
18
19
20
21
22
23
24
0
@@ -6,6 +6,7 @@ namespace :import do
0
     puts "It will import into your 'development' database unless you specify otherwise (e.g. 'rake db:import RAILS_ENV=production')."
0
     puts "Please make sure the receiving database is empty before continuing."
0
     puts "Tested with PunBB version 1.2.15."
0
+ puts "WARNING: The importing of timestamps and timezones isn't 100% accurate. Proceed at your own risk."
0
     puts "Type '1' to continue, or '2' to quit."
0
     confirmation = STDIN.gets.chomp
0
     exit unless confirmation == "1"
0
@@ -17,6 +18,7 @@ namespace :import do
0
     # This will import a PunBB database into the El Dorado structure. Only tested with PunBB 1.2.15.
0
     # The user with id 2 (the "guest" user is 1) will be set as the only "admin" user.
0
     # Any topics, posts, etc made by a user not in the database will be assigned to the "guest" user.
0
+ # WARNING: The importing of timestamps and timezones isn't 100% accurate. Proceed at your own risk.
0
     #
0
     # importing: pun_bans, pun_categories, pun_config, pun_forums, pun_posts, pun_ranks, pun_topics, pun_users, pun_subscriptions
0
     # ignoring: pun_censoring, pun_forum_perms, pun_groups, pun_online, pun_reports, pun_search_cache, pun_search_matches, pun_search_words

Comments

    No one has commented yet.