Alexey Verkhovsky
2006-Mar-19 09:00 UTC
[Rails] [ANN] Instiki 0.11.0 - ActiveRecord Forever
Dear all, If you thought Instiki was a dead project, you were right. Since I''ve got a day job that doesn''t suck (Official Ruby Zealot of ThoughtWorks Canada), my motivation to do open source greatly sufferred :) But... but... but! Here is Instiki 0.11.0, and in this version Instiki is (finally!) moving to ActiveRecord backend and (finally!) has the File Upload feature. Instiki is a Wiki Clone <http://www.c2.com/cgi/wiki?WikiWikiClones> that''s so easy to set up and so pretty to look at, you''?l be wondering whether this is a real wiki at all. It is also the most frequently downloaded end-user application on RubyForge, surpassed only by Rails, One Click Installer and RubyGems. Changes in this version: SQL-based backend (ActiveRecord) File uploads (finally) Upgraded to Rails 1.0.0 Replaced internal link generator with routing Fixed --daemon option Removed Rubygem and native OS X distributions Improved HTML diff More accurate "See Changes" The released files are available at http://rubyforge.org/frs/?group_id=186 Online documentation is at http://instiki.org. Source code and bug tracker are at http://dev.instiki.org README at http://svn.instiki.org/instiki/tags/release-0.11.0/README contains instructions on how to install this version and migrate data from Instiki 0.10 or Instiki-AR beta. Especially big thanks to Rick Olson aka technoweenie for his help with porting Instiki to ActiveRecord. Big thanks to DHH and Co. for Rails, to Why the Lucky Stiff for RedCloth, and everybody who sent me patches and otherwise prodded me to keep going for that extra bit of motivation. Best regards, Alexey Verkhovsky
> Removed Rubygem and native OS X distributionsIs the Mac OS X install package coming back anytime soon? I think a lot of people would love that, me for sure! Thanks.
Alexey Verkhovsky
2006-Mar-19 09:26 UTC
[Instiki] Need feedback and help with packaging Instiki for Linux and OSX
So far, Instiki 0.11.0 is only packaged for Windows. It will work on any other platform that Rails works on, as long as you have SQLite or MySQL installed, and edit config/database.yml appropriately, but only on Windows you can download, unzip and run it out of the box. The sole reason why I didn''t package it the same way for Linux or OS X is that I don''t have either at hand. Can somebody help? Also, please tell me if Instiki works out of the box on your Windows PC. It does on both my laptop and desktop, but that''s not very convincing (they aren''t very "normal" PCs). Best regards, Alex Verkhovsky
Alexey Verkhovsky
2006-Mar-19 09:28 UTC
[Instiki] [ANN] Instiki 0.11.0 - ActiveRecord Forever
wolf2k5 wrote:>> Removed Rubygem and native OS X distributions >> >> > >Is the Mac OS X install package coming back anytime soon? > >I think a lot of people would love that, me for sure! > >Same story as with 0.10 releases. If somebody wants a .dmg strongly enough to create it, I''ll gladly make it available for downloading. Alex
Hi Alexey, I''m getting deadlock errors on windows: http://ruby:2500/mywiki/new/HomePage -> /mywiki/show/HomePage deadlock 0x363a7b8: run:- - (null):0 deadlock 0x2795628: sleep:ST(1142800030.644000) (main) - c:/ruby/lib/ruby/1.8/we brick/server.rb:88 deadlock 0x37314c0: sleep:T(1142800059.575000) - c:/ruby/lib/ruby/1.8/timeout.r b:41 [2006-03-19 15:27:09] ERROR fatal: Thread(0x37314c0): deadlock c:/ruby/lib/ruby/1.8/timeout.rb:41:in `start'' Any ideas? Hammed On 3/19/06, Alexey Verkhovsky <alex@verk.info> wrote:> > Dear all, > > If you thought Instiki was a dead project, you were right. Since I''ve got > a day job that doesn''t suck > (Official Ruby Zealot of ThoughtWorks Canada), my motivation to do open > source greatly sufferred :) > > But... but... but! Here is Instiki 0.11.0, and in this version Instiki is > (finally!) moving to ActiveRecord backend > and (finally!) has the File Upload feature. > > Instiki is a Wiki Clone <http://www.c2.com/cgi/wiki?WikiWikiClones> that''s > so easy to set up and so pretty to look at, > you''?l be wondering whether this is a real wiki at all. > > It is also the most frequently downloaded end-user application on > RubyForge, surpassed only by Rails, One Click Installer and RubyGems. > > Changes in this version: > > SQL-based backend (ActiveRecord) > File uploads (finally) > Upgraded to Rails 1.0.0 > Replaced internal link generator with routing > Fixed --daemon option > Removed Rubygem and native OS X distributions > Improved HTML diff > More accurate "See Changes" > > The released files are available at http://rubyforge.org/frs/?group_id=186 > Online documentation is at http://instiki.org. > Source code and bug tracker are at http://dev.instiki.org > > README at http://svn.instiki.org/instiki/tags/release-0.11.0/READMEcontains instructions on how to install this version > and migrate data from Instiki 0.10 or Instiki-AR beta. > > Especially big thanks to Rick Olson aka technoweenie for his help with > porting Instiki to ActiveRecord. > Big thanks to DHH and Co. for Rails, to Why the Lucky Stiff for RedCloth, > and everybody who sent me patches and otherwise > prodded me to keep going for that extra bit of motivation. > > Best regards, > Alexey Verkhovsky > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- ----- Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=c2FobWVkMTQ%3D -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060319/7cdb678e/attachment.html
Alexey Verkhovsky
2006-Mar-19 21:11 UTC
[Rails] [ANN] Instiki 0.11.0 - ActiveRecord Forever
Hammed Malik wrote:> I''m getting deadlock errors on windows: > > Any ideas?Hmm... Neither c:/ruby/lib/ruby/1.8/webrick/server.rb:88, nor c:/ruby/lib/ruby/1.8/timeout.rb:41 contain anything remotely interesting on my PC. The latter is in the middle of a large comment block, in fact. I suspect your Ruby version is not the same as mine. I have One Click Installer 1.8.4.16 preview3: C:\eclipse\workspace\instiki>ruby -v ruby 1.8.4 (2005-12-24) [i386-mswin32] What''s yours? In case it''s not the same, can you try to upgrade from http://rubyforge.org/frs/download.php/8338/ruby184-16p3.exe and see what happens? Alex
At 2:28 AM -0700 3/19/06, Alexey Verkhovsky wrote:> If somebody wants a .dmg strongly enough to create it, > I''ll gladly make it available for downloading.Count me as an interested "customer" for such a DMG. Also, I''d love to be able to package up snapshots of my Instiki-based wikis. A script (or at least, a HOWTO) for this would be way cool to have. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development
Alexey Verkhovsky
2006-Mar-20 01:55 UTC
[Instiki] [ANN] Instiki 0.11.0 - ActiveRecord Forever
Rich Morin wrote:>Count me as an interested "customer" for such a DMG. > >Also, I''d love to be able to package up snapshots of my >Instiki-based wikis. A script (or at least, a HOWTO) for > >Rich, What we need is an interested _creator_ of such a DMG, somebody with a Macbook and few hours to spare for the benefit of the humankind :) As for snapshots. Not sure if I understand the question right, but if we are talking about taking a backup copy of the data, the way to do it depends on which database you are using. For SQLite (default option), backing it up is simply a matter of copying the database file, which by default is located at instiki-0.11.0/db/production.db.sqlite3. This location, by the way, can be changed by editing instiki-0.11.0/config/database.yml, specifically the last line in the following section: production: adapter: sqlite3 database: db/production.db.sqlite3 Note: all whitespace in database.yml file format is important, especially the indentation. Best regards, Alex
At 6:55 PM -0700 3/19/06, Alexey Verkhovsky wrote:> What we need is an interested _creator_ of such a DMG, somebody with > a Macbook and few hours to spare for the benefit of the humankind :)Understood, but I''m not that person. Meanwhile, I don''t think it hurts to mention desired features. Maybe they''ll be a no-brainer for whoever builds the DMG...> As for snapshots. Not sure if I understand the question right, but if > we are talking about taking a backup copy of the data, the way to do > it depends on which database you are using. > > For SQLite (default option), backing it up is simply a matter ...Thanks for the info. Sounds like adding this to the DMG-building process should be relatively simple. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development
me> Understood, but I''m not that person. BTW, I _can_ volunteer to try out the DMG, proofread (and edit, if need be) any documentation, etc. If that helps... -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development
My spouse reminded me that I have a copy of DMG Tool, an app that will create a DMG from a folder. So, as an experiment, I grabbed instiki-0.11.0.zip from the net. This being OSX, the zip file automagically got unpacked into a folder. I then created a DMG archive from the folder and copied it to: http://www.cfcl.com/rdm/tmp/instiki-0.11.0.dmg However, this isn''t any real improvement on the zip file. Mounting a DMG isn''t, after all much different than unpacking an archive into a folder. If anyone wants to suggest specific things that should be done in addition to creating the DMG, please let me know. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development
Alex, My Ruby version: ruby 1.8.2 (2004-12-25) [i386-mswin32] I''m a bit hesitant to upgrade since all my current apps work well with this version and my host (TD) is also at this version. I''ll try running it with InstantRails (ruby 1.8.4 (2005-12-24) [i386-mswin32]) and see if that works better. I poked around while running it under Instant Rails and no problems so far. Thanks Hammed On 3/19/06, Alexey Verkhovsky <alex@verk.info> wrote:> > Hammed Malik wrote: > > > I''m getting deadlock errors on windows: > > > > Any ideas? > > Hmm... > > Neither c:/ruby/lib/ruby/1.8/webrick/server.rb:88, nor > c:/ruby/lib/ruby/1.8/timeout.rb:41 contain anything remotely interesting > on my PC. The latter is in the middle of a large comment block, in fact. > I suspect your Ruby version is not the same as mine. I have One Click > Installer 1.8.4.16 preview3: > > C:\eclipse\workspace\instiki>ruby -v > ruby 1.8.4 (2005-12-24) [i386-mswin32] > > What''s yours? In case it''s not the same, can you try to upgrade from > http://rubyforge.org/frs/download.php/8338/ruby184-16p3.exe and see what > happens? > > Alex > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- ----- Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=c2FobWVkMTQ%3D -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060320/165403d8/attachment.html
On 3/19/06, Alexey Verkhovsky <alex at verk.info> wrote:> wolf2k5 wrote:>> >> Removed Rubygem and native OS X distributions> >>> >>> >> >Is the Mac OS X install package coming back anytime soon?> >> >I think a lot of people would love that, me for sure!> >> >> Same story as with 0.10 releases. If somebody wants a .dmg strongly> enough to create it, I''ll gladly make it available for downloading.>> Alex> _______________________________________________> Instiki-users mailing list> Instiki-users at rubyforge.org> http://rubyforge.org/mailman/listinfo/instiki-users> For all the users interested in a native Mac OS X installer, I''mcurrently working on an update of my v0.10 Instiki DMG, complete witha step-by-step installation guide - the process is not quitestraight-forward. However, if I''ll find a way to create a no-brainerall-inclusive Universal Binary - you''ll be first to hear it from me:-) --Oleg "2sheds" Kourapovmailto:ok at 2sheds.ruhttp://www.2sheds.ru
Oleg Kourapov
2006-Mar-20 09:52 UTC
[Instiki] Need feedback and help with packaging Instiki for Linux and OSX
Alex, I''ll send a Mac OS X version to you ASAP. On 3/19/06, Alexey Verkhovsky <alex at verk.info> wrote:> So far, Instiki 0.11.0 is only packaged for Windows. It will work on any> other platform that Rails works on, as long as you have SQLite or MySQL> installed, and edit config/database.yml appropriately, but only on> Windows you can download, unzip and run it out of the box.>> The sole reason why I didn''t package it the same way for Linux or OS X> is that I don''t have either at hand. Can somebody help?>> Also, please tell me if Instiki works out of the box on your Windows PC.> It does on both my laptop and desktop, but that''s not very convincing> (they aren''t very "normal" PCs).>> Best regards,> Alex Verkhovsky> _______________________________________________> Instiki-users mailing list> Instiki-users at rubyforge.org> http://rubyforge.org/mailman/listinfo/instiki-users>> --Oleg "2sheds" Kourapovmailto:ok at 2sheds.ruhttp://www.2sheds.ru
Luigi Rizzo
2006-Mar-20 10:17 UTC
[Instiki] Need feedback and help with packaging Instiki for Linux and OSX
The version I checked out the SVN repository is working for me on Win2003 using the latest Mongrel as a server. On 3/19/06, Alexey Verkhovsky <alex at verk.info> wrote:> Also, please tell me if Instiki works out of the box on your Windows PC. > It does on both my laptop and desktop, but that''s not very convincing > (they aren''t very "normal" PCs).
Alexey Verkhovsky
2006-Mar-21 03:09 UTC
[Instiki] Need feedback and help with packaging Instiki for Linux and OSX
Luigi Rizzo wrote:>The version I checked out the SVN repository is working for me on >Win2003 using the latest Mongrel as a server. > >On 3/19/06, Alexey Verkhovsky <alex at verk.info> wrote: > > >>Also, please tell me if Instiki works out of the box on your Windows PC. >>It does on both my laptop and desktop, but that''s not very convincing >>(they aren''t very "normal" PCs). >> >>Cool, thanks for the good news. Can you please write about this option on instiki.org? When should one choose Mongrel over other options (Apache, Lighttpd and Webrick)? What does it take to run Instiki under it? Best regards, Alex
Alexey Verkhovsky
2006-Mar-21 03:24 UTC
[Instiki] Need feedback and help with packaging Instiki for Linux and OSX
Oleg Kourapov wrote:>Alex, I''ll send a Mac OS X version to you ASAP. > >Now we are rolling! :) Oleg, The main obstacle that did not exist before is the need to package SQLite3 binary and a blank database file (with empty tables). On any *nix platform it should be as follows (assuming that working directory is instiki root folder, the one that contains README): 1. Download or build a native binary of sqlite-3.3.4.so 2. Place it under ./lib/native/linux 3. Create a shell script that puts ./lib/native/linux in the beginning of LD_LIBRARY_PATH and/or SHLIB_PATH, then launches ruby ./script/server -e production 4. Delete ./db/production.db.sqlite3 5. Execute rake environment RAILS_ENV=production migrate, this should create ./db/production.db.sqlite3 again. At this point, you should be able to copy the instiki root folder to another computer (that has Ruby, but no SQLite3), and run it just like that. Then spin your OS X magic wand :) A similar process worked for me on Windoze. I am going to try it on a Linux now. By the way, if you want commit rights to Instiki Subversion for your OS X build work, please mail me off-list. Best regards, Alex P.S. Send patches! Send patches! Send patches!
Alexey Verkhovsky
2006-Mar-21 05:48 UTC
[Instiki] [Rails] [ANN] Instiki 0.11.0 - ActiveRecord Forever
Hammed Malik wrote:> My Ruby version: ruby 1.8.2 (2004-12-25) [i386-mswin32] > I poked around while running it under Instant Rails [Ruby 1.8.4] and > no problems so far.Yup, that''s what I suspected. Don''t remember why, but Rails 1.0 doesn''t go well with Ruby 1.8.2. Alex
Thank you, Alexey, for a wonderful product. I love Instiki, and now that it is running with an SQL Lite backend, I feel much safer ... You have made an outstanding contribution to our computing world. I found your installation instructions excellent and it really is easy ... just ruby and instiki and away you go. I do have two questions: 1) Is there a way to take a textile exported file and import it into the new instiki. I have some old instiki sites I would love to simply move over to your system. 2) How difficult is it to change to a different SQL DB backend? -----Original Message----- From: instiki-users-bounces at rubyforge.org [mailto:instiki-users-bounces at rubyforge.org] On Behalf Of Alexey Verkhovsky Sent: Sunday, March 19, 2006 4:01 AM To: Mail list for discussing Instiki; Ruby Talk; Rails Subject: [Instiki] [ANN] Instiki 0.11.0 - ActiveRecord Forever Dear all, If you thought Instiki was a dead project, you were right. Since I''ve got a day job that doesn''t suck (Official Ruby Zealot of ThoughtWorks Canada), my motivation to do open source greatly sufferred :) But... but... but! Here is Instiki 0.11.0, and in this version Instiki is (finally!) moving to ActiveRecord backend and (finally!) has the File Upload feature. Instiki is a Wiki Clone <http://www.c2.com/cgi/wiki?WikiWikiClones> that''s so easy to set up and so pretty to look at, you''?l be wondering whether this is a real wiki at all. It is also the most frequently downloaded end-user application on RubyForge, surpassed only by Rails, One Click Installer and RubyGems. Changes in this version: SQL-based backend (ActiveRecord) File uploads (finally) Upgraded to Rails 1.0.0 Replaced internal link generator with routing Fixed --daemon option Removed Rubygem and native OS X distributions Improved HTML diff More accurate "See Changes" The released files are available at http://rubyforge.org/frs/?group_id=186 Online documentation is at http://instiki.org. Source code and bug tracker are at http://dev.instiki.org README at http://svn.instiki.org/instiki/tags/release-0.11.0/README contains instructions on how to install this version and migrate data from Instiki 0.10 or Instiki-AR beta. Especially big thanks to Rick Olson aka technoweenie for his help with porting Instiki to ActiveRecord. Big thanks to DHH and Co. for Rails, to Why the Lucky Stiff for RedCloth, and everybody who sent me patches and otherwise prodded me to keep going for that extra bit of motivation. Best regards, Alexey Verkhovsky _______________________________________________ Instiki-users mailing list Instiki-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instiki-users
Alexey Verkhovsky
2006-Mar-23 07:54 UTC
[Instiki] [ANN] Instiki 0.11.0 - ActiveRecord Forever
David Guest wrote:>Thank you, Alexey, for a wonderful product. I love Instiki, and now that it >is running with an SQL Lite backend, I feel much safer ... You have made an >outstanding contribution to our computing world. I found your installation >instructions excellent and it really is easy ... just ruby and instiki and >away you go. > >Wow... Thanks for the kind words. :)>1) Is there a way to take a textile exported file and import it into the new >instiki. I have some old instiki sites I would love to simply move over to >your system. > >No, but there will be in 0.11.1.>2) How difficult is it to change to a different SQL DB backend? > >Absolutely. Instiki.org is running on MySQL now, I also use it in development. Just change config/database.yml to connect to MySQL instead of SQLite (there are examples in the config/database.yml itself). Then run migration (rake environment RAILS_ENV=production migrate). Rails also supports a number of other databases (Postgres, Oracle, SQLServer and even DB/2). Although I have never tried, it may be possible to deploy Instiki against one of those other databases. By the way, if somebody tries, please tell us about the outcome. Alex
Alex. thank you for the upgrade! I was almost going to use some other wiki system :) Following the README, I just tested the conversion from 0.10.1 to the 0.11 and it went smoothly. this is on debian stable. our wiki is in chinese, btw. not a big deal but i thought i might just mention here. regardless i am using sqlite, "Execute ruby script\reset_references" this step gave me bunch of mysql error. it''s not harmful as instiki still starts fine. _______________________________ % ruby script/reset_references Loading Rails for development environment... ./vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:104:in `initialize'': No such file or directory - /tmp/mysql.sock (Errno::ENOENT) from ./vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:104:in `new'' from ./vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:104:in `real_connect'' -------------------------------- also, is there any spam filter kind of thing available or being working on? thanks again! Qiang --- Alexey Verkhovsky <alex at verk.info> wrote:> Dear all,> But... but... but! Here is Instiki 0.11.0, and in this version Instiki is (finally!) moving to > ActiveRecord backend > and (finally!) has the File Upload feature. > > Instiki is a Wiki Clone <http://www.c2.com/cgi/wiki?WikiWikiClones> that''s so easy to set up and > so pretty to look at, > you''???l be wondering whether this is a real wiki at all. > > It is also the most frequently downloaded end-user application on RubyForge, surpassed only by > Rails, One Click Installer and RubyGems.__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com