From assaph at gmail.com Fri Nov 4 04:02:02 2005 From: assaph at gmail.com (Assaph Mehr) Date: Fri, 4 Nov 2005 20:02:02 +1100 Subject: [Instiki-devel] Fwd: [Instiki] Instiki, Instiki-AR, i2 ??? In-Reply-To: <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> References: <78870765-CBA9-46CC-986B-9E37A761529F@loudthinking.com> <1131033684.13408.46.camel@bgpc.dymaxion.ca> <436AE2B5.70408@verk.info> <3ff47be90511032044r4601f30ek69892878650cb5c8@mail.gmail.com> <436AECB4.8050103@verk.info> <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> Message-ID: <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> (moved discussion here as it's probably more appropriate) Hi Alexy, Mostly I want to know how much you think the code base is due to change between beta1, beta2 and Instiki 1.0 (or 0.11 if you insist ;) >- Get rid of Madeleine >- Upgrade to Rails 1.0; I thought these were mostly done in beta1, no? I did see some comments in the code that you expect to change it (e.g. the page renderer). How much of this is in there? > presumably, this should enable you > to repackage Pimki as plugins (if that's what you want to do); Am not sure this will be enough. I plan to do some extensive modifications of the data-model and page content handling (embedding objects in it), so I don't believe a simple plugin will be enough. And since SQLite doesn't support migrations, it also seems like it'll have to be a more permanent fork - not something I expected to do. > This is as far as I see now. For all we know today, I may then retire to > Inner Mongolia and live peacefully ever after... but this is unlikely :) I dunno, I never could get used to the taste of Yak cheese :-) Cheers, Assaph From alex at verk.info Fri Nov 4 11:08:37 2005 From: alex at verk.info (Alexey Verkhovsky) Date: Fri, 04 Nov 2005 09:08:37 -0700 Subject: [Instiki-devel] Fwd: [Instiki] Instiki, Instiki-AR, i2 ??? In-Reply-To: <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> References: <78870765-CBA9-46CC-986B-9E37A761529F@loudthinking.com> <1131033684.13408.46.camel@bgpc.dymaxion.ca> <436AE2B5.70408@verk.info> <3ff47be90511032044r4601f30ek69892878650cb5c8@mail.gmail.com> <436AECB4.8050103@verk.info> <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> Message-ID: <436B8785.1060706@verk.info> Assaph Mehr wrote: >>- Get rid of Madeleine >>- Upgrade to Rails 1.0; >> >> >I thought these were mostly done in beta1, no? > > Yes for Madeleine, not completely for Rails 1.0. Since beta1 the AR branch has undergone some changes, such as 0.14.2 script/*, public/*, db/* and config/*. Rakefile.rb, too. All this to make it a "usual Rails experience" for any would-be developer as much as possible. >I did see some comments in the code that you expect to change it (e.g. >the page renderer). How much of this is in there? > > For now, I do not plan to change it at all. I don't particularly like the chunks stuff (because it is so much extra complexity), but it works and I don't plan to rebuild it. At least, not until there is RedCloth that supports Markdown in a consistent way - and that will probably never happen. >>presumably, this should enable you >>to repackage Pimki as plugins (if that's what you want to do); >> >> >Am not sure this will be enough. I plan to do some extensive >modifications of the data-model and page content handling (embedding >objects in it), so I don't believe a simple plugin will be enough. And >since SQLite doesn't support migrations, it also seems like it'll have >to be a more permanent fork - not something I expected to do. > > In fact, I'm telling everybody nowadays that although Instiki-AR will be prepackaged with SQLite, in any serious scenario it is best to use it with MySQL. For that very reason. Alex From assaph at gmail.com Wed Nov 9 03:21:35 2005 From: assaph at gmail.com (Assaph Mehr) Date: Wed, 9 Nov 2005 19:21:35 +1100 Subject: [Instiki-devel] Fwd: [Instiki] Instiki, Instiki-AR, i2 ??? In-Reply-To: <436B8785.1060706@verk.info> References: <78870765-CBA9-46CC-986B-9E37A761529F@loudthinking.com> <1131033684.13408.46.camel@bgpc.dymaxion.ca> <436AE2B5.70408@verk.info> <3ff47be90511032044r4601f30ek69892878650cb5c8@mail.gmail.com> <436AECB4.8050103@verk.info> <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> <436B8785.1060706@verk.info> Message-ID: <3ff47be90511090021q2951887co378907e8ca142cec@mail.gmail.com> Hi Alexey, Thanks for sharing your experiences. >> ... And since SQLite doesn't support migrations... > > In fact, I'm telling everybody nowadays that although Instiki-AR will be > prepackaged with SQLite, in any serious scenario it is best to use it > with MySQL. For that very reason. I think we deserve a big d'oh! I mucked about a bit in the AR code, and it looks like SQLite does support Schema and Migrations. The docos says no, but the code says yes :-) For my purposes MySQL is not an option. Even though SQLite can be good enough, I am still interested in seeing if I can make an AR adapter for KirbyBase - a pure ruby plain text DBMS. It doesn't support SQL (because it doesn't need to), so I am not sure I will be able to make it work. But if I can it should be great - one less external dependency. Your thoughts and comments are most welcome. Cheers, Assaph From assaph at gmail.com Wed Nov 9 18:54:55 2005 From: assaph at gmail.com (Assaph Mehr) Date: Thu, 10 Nov 2005 10:54:55 +1100 Subject: [Instiki-devel] Fwd: [Instiki] Instiki, Instiki-AR, i2 ??? In-Reply-To: <3ff47be90511090021q2951887co378907e8ca142cec@mail.gmail.com> References: <78870765-CBA9-46CC-986B-9E37A761529F@loudthinking.com> <1131033684.13408.46.camel@bgpc.dymaxion.ca> <436AE2B5.70408@verk.info> <3ff47be90511032044r4601f30ek69892878650cb5c8@mail.gmail.com> <436AECB4.8050103@verk.info> <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> <436B8785.1060706@verk.info> <3ff47be90511090021q2951887co378907e8ca142cec@mail.gmail.com> Message-ID: <3ff47be90511091554y8f07b4dra7970a154fa02816@mail.gmail.com> > I mucked about a bit in the AR code, and it looks like SQLite does > support Schema and Migrations. The docos says no, but the code says > yes :-) And as proof, attached is a schema.rb file that implements the db schema from beta1. You can create a database by: rake db_schema_import This will happily create the sqlite dbs. The schema also includes a couple of tweak I'd be happy if they were incorporated in the main line. Hope you like this patch :-) Cheers, Assaph -------------- next part -------------- A non-text attachment was scrubbed... Name: schema.rb Type: application/octet-stream Size: 1789 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-devel/attachments/20051110/c4707b86/schema.obj From assaph at gmail.com Wed Nov 9 20:08:46 2005 From: assaph at gmail.com (Assaph Mehr) Date: Thu, 10 Nov 2005 12:08:46 +1100 Subject: [Instiki-devel] Fwd: [Instiki] Instiki, Instiki-AR, i2 ??? In-Reply-To: <3ff47be90511091554y8f07b4dra7970a154fa02816@mail.gmail.com> References: <1131033684.13408.46.camel@bgpc.dymaxion.ca> <436AE2B5.70408@verk.info> <3ff47be90511032044r4601f30ek69892878650cb5c8@mail.gmail.com> <436AECB4.8050103@verk.info> <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> <436B8785.1060706@verk.info> <3ff47be90511090021q2951887co378907e8ca142cec@mail.gmail.com> <3ff47be90511091554y8f07b4dra7970a154fa02816@mail.gmail.com> Message-ID: <3ff47be90511091708h43f3e372i401c0af3eed5d7be@mail.gmail.com> Hi Alexey, > And as proof, attached is a schema.rb file that implements the db > schema from beta1. Double d'oh! I tried to get a latest version of Instiki svn, but the server seems to be down. I checked it out and the Trac browser is up.... and I saw you already implemented a schema.rb file. Alexey, you should really start blogging about your Instiki progress :-) Cheers, Assaph From alex at verk.info Thu Nov 10 01:08:38 2005 From: alex at verk.info (Alexey Verkhovsky) Date: Thu, 10 Nov 2005 00:08:38 -0600 Subject: [Instiki-devel] Fwd: [Instiki] Instiki, Instiki-AR, i2 ??? In-Reply-To: <3ff47be90511091708h43f3e372i401c0af3eed5d7be@mail.gmail.com> References: <1131033684.13408.46.camel@bgpc.dymaxion.ca> <436AE2B5.70408@verk.info> <3ff47be90511032044r4601f30ek69892878650cb5c8@mail.gmail.com> <436AECB4.8050103@verk.info> <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> <436B8785.1060706@verk.info> <3ff47be90511090021q2951887co378907e8ca142cec@mail.gmail.com> <3ff47be90511091554y8f07b4dra7970a154fa02816@mail.gmail.com> <3ff47be90511091708h43f3e372i401c0af3eed5d7be@mail.gmail.com> Message-ID: <4372E3E6.2040307@verk.info> Assaph Mehr wrote: > Alexey, you should really start blogging about your Instiki progress :-) > This is my blog: http://dev.instiki.org/timeline :) Alex From assaph at gmail.com Fri Nov 11 15:43:35 2005 From: assaph at gmail.com (Assaph Mehr) Date: Sat, 12 Nov 2005 07:43:35 +1100 Subject: [Instiki-devel] Fwd: [Instiki] Instiki, Instiki-AR, i2 ??? In-Reply-To: <4372E3E6.2040307@verk.info> References: <3ff47be90511032044r4601f30ek69892878650cb5c8@mail.gmail.com> <436AECB4.8050103@verk.info> <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> <436B8785.1060706@verk.info> <3ff47be90511090021q2951887co378907e8ca142cec@mail.gmail.com> <3ff47be90511091554y8f07b4dra7970a154fa02816@mail.gmail.com> <3ff47be90511091708h43f3e372i401c0af3eed5d7be@mail.gmail.com> <4372E3E6.2040307@verk.info> Message-ID: <3ff47be90511111243o55649a7s352764eaa29cdcc6@mail.gmail.com> > This is my blog: > http://dev.instiki.org/timeline > :) Cute :-P Is there a way to get email notifications of checkins? Or an RSS feed of changesets? Cheers, Assaph From alex at verk.info Fri Nov 11 22:40:18 2005 From: alex at verk.info (Alexey Verkhovsky) Date: Fri, 11 Nov 2005 21:40:18 -0600 Subject: [Instiki-devel] Fwd: [Instiki] Instiki, Instiki-AR, i2 ??? In-Reply-To: <3ff47be90511111243o55649a7s352764eaa29cdcc6@mail.gmail.com> References: <3ff47be90511032044r4601f30ek69892878650cb5c8@mail.gmail.com> <436AECB4.8050103@verk.info> <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> <436B8785.1060706@verk.info> <3ff47be90511090021q2951887co378907e8ca142cec@mail.gmail.com> <3ff47be90511091554y8f07b4dra7970a154fa02816@mail.gmail.com> <3ff47be90511091708h43f3e372i401c0af3eed5d7be@mail.gmail.com> <4372E3E6.2040307@verk.info> <3ff47be90511111243o55649a7s352764eaa29cdcc6@mail.gmail.com> Message-ID: <43756422.2080400@verk.info> Assaph Mehr wrote: >> This is my blog: >> http://dev.instiki.org/timeline >> :) >> > Cute :-P > Is there a way to get email notifications of checkins? Or an RSS feed > of changesets? > Of course! If you look at the HTML head tag of that page, you'll see this: It is an auto-discovery link for the RSS feed to the Trac timeline. Alex From assaph at gmail.com Sat Nov 12 06:55:29 2005 From: assaph at gmail.com (Assaph Mehr) Date: Sat, 12 Nov 2005 22:55:29 +1100 Subject: [Instiki-devel] Fwd: [Instiki] Instiki, Instiki-AR, i2 ??? In-Reply-To: <43756422.2080400@verk.info> References: <3ff47be90511040055i7a3aa346s10757acfc133cb14@mail.gmail.com> <3ff47be90511040102r77e37685le3c2f64d5c0c24db@mail.gmail.com> <436B8785.1060706@verk.info> <3ff47be90511090021q2951887co378907e8ca142cec@mail.gmail.com> <3ff47be90511091554y8f07b4dra7970a154fa02816@mail.gmail.com> <3ff47be90511091708h43f3e372i401c0af3eed5d7be@mail.gmail.com> <4372E3E6.2040307@verk.info> <3ff47be90511111243o55649a7s352764eaa29cdcc6@mail.gmail.com> <43756422.2080400@verk.info> Message-ID: <3ff47be90511120355q722aa0d3xb1aa25c0dbe9602a@mail.gmail.com> > Of course! If you look at the HTML head tag of that page, you'll see this: > > > > > It is an auto-discovery link for the RSS feed to the Trac timeline. Great! Thanks. Now I just have to wait for interesting updates ;-) Cheers, Assaph