From paul at luon.net Wed Nov 1 07:53:58 2006 From: paul at luon.net (Paul van Tilburg) Date: Wed, 1 Nov 2006 13:53:58 +0100 Subject: 0.5 release nears -- last call In-Reply-To: <1160523152.5602.0.camel@localhost.localdomain> References: <1159566125.31624.5.camel@localhost.localdomain> <20060930071202.GA11226@power.luon.net> <1159734683.13812.37.camel@localhost.localdomain> <20061002174726.GD15122@mazirian.com> <1160101328.5766.57.camel@phandaal> <20061006211956.GA4995@power.luon.net> <20061008170613.GA21422@mazirian.com> <20061009153455.GD4477@power.luon.net> <1160523152.5602.0.camel@localhost.localdomain> Message-ID: <20061101125358.GB12878@power.luon.net> On Tue, Oct 10, 2006 at 07:32:32PM -0400, MenTaLguY wrote: > On Mon, 2006-10-09 at 17:34 +0200, Paul van Tilburg wrote: > > Well, I added it to my Hobix almost as-is and it works fine. Bounced all > > 6 spam comments already. Maybe some parts are a bit 'unhobixish', but I > > can work it out. > > Mental, what do you think, include it for 0.5 or wait for post 0.(>= 5) ? > > I say go for it. I'm still busy getting ready for Small Press Expo. I commited it to SVN (well, a few days ago but forgot to report it). I'd say, 0.5 is ready. I'm feeling ready to gear up for the new release/version. :) Paul -- Student @ Eindhoven | email: paul at luon.net University of Technology, The Netherlands | JID: paul at luon.net >>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061101/bb77ca22/attachment.bin From mental at rydia.net Wed Nov 1 13:05:33 2006 From: mental at rydia.net (MenTaLguY) Date: Wed, 01 Nov 2006 13:05:33 -0500 Subject: 0.5 release nears -- last call In-Reply-To: <20061101125358.GB12878@power.luon.net> References: <1159566125.31624.5.camel@localhost.localdomain> <20060930071202.GA11226@power.luon.net> <1159734683.13812.37.camel@localhost.localdomain> <20061002174726.GD15122@mazirian.com> <1160101328.5766.57.camel@phandaal> <20061006211956.GA4995@power.luon.net> <20061008170613.GA21422@mazirian.com> <20061009153455.GD4477@power.luon.net> <1160523152.5602.0.camel@localhost.localdomain> <20061101125358.GB12878@power.luon.net> Message-ID: <1162404333.11525.4.camel@localhost.localdomain> On Wed, 2006-11-01 at 13:53 +0100, Paul van Tilburg wrote: > I commited it to SVN (well, a few days ago but forgot to report it). > I'd say, 0.5 is ready. I'm feeling ready to gear up for the new > release/version. :) Ok. There are still a few minor bugs I'd like to iron out (e.g. Page#next_link and Page#prev_link are broken right now), but other than that I think we're basically ready for 0.5. Would someone like to collect a list of changes since 0.4/0.3, so I can craft them into a release announcement? -mental -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061101/4bea7f53/attachment.bin From splaestro at gmail.com Wed Nov 1 19:07:45 2006 From: splaestro at gmail.com (Brian C Young) Date: Wed, 01 Nov 2006 19:07:45 -0500 Subject: 0.5 release nears -- last call In-Reply-To: <1162404333.11525.4.camel@localhost.localdomain> References: <1159566125.31624.5.camel@localhost.localdomain> <20060930071202.GA11226@power.luon.net> <1159734683.13812.37.camel@localhost.localdomain> <20061002174726.GD15122@mazirian.com> <1160101328.5766.57.camel@phandaal> <20061006211956.GA4995@power.luon.net> <20061008170613.GA21422@mazirian.com> <20061009153455.GD4477@power.luon.net> <1160523152.5602.0.camel@localhost.localdomain> <20061101125358.GB12878@power.luon.net> <1162404333.11525.4.camel@localhost.localdomain> Message-ID: <454936D1.5090401@gmail.com> MenTaLguY wrote: > On Wed, 2006-11-01 at 13:53 +0100, Paul van Tilburg wrote: > >> I commited it to SVN (well, a few days ago but forgot to report it). >> I'd say, 0.5 is ready. I'm feeling ready to gear up for the new >> release/version. :) >> > > Ok. There are still a few minor bugs I'd like to iron out (e.g. > Page#next_link and Page#prev_link are broken right now), but other than > that I think we're basically ready for 0.5. > Hi folks-- I asked about this awhile back [1], but never saw a response-- patch for bin/hobix to make it usable on Windows. Again, I'm unsure if removing some of the code is a good idea. Pls see link below for the full discussion. Index: hobix =================================================================== --- hobix (revision 151) +++ hobix (working copy) @@ -58,13 +58,9 @@ puts "*** type `hobix help' and check your spelling." exit end - hobix_weblog = URI::parse( cmdline.config['weblogs'][ weblog ] ) - if hobix_weblog.scheme + hobix_weblog = URI::parse(URI::escape(cmdline.config['weblogs'][ weblog ])) + if hobix_weblog.scheme and cmdline.respond_to? "#{ hobix_weblog.scheme }_#{ cmd }_remote" mname = "#{ hobix_weblog.scheme }_#{ cmd }_remote" - unless cmdline.respond_to? mname - opts.unshift cmd - mname = hobix_weblog.scheme - end else hobix_weblog = Hobix::Weblog.load( cmdline.config['weblogs'][ weblog ] ) mname = "#{ cmd }_action" 1. http://rubyforge.org/pipermail/hobix-is-the-way/2006-October/000820.html Thanks. -- ------------------------------------------------------------------------ Brian C. Young ?...the depth of human sinfulness is expressed in the way in which human beings deceive themselves into believing that the defense of, or commitment to, their own people requires the harm of other people.? --Duane K. Friesen From mental at rydia.net Wed Nov 1 23:58:58 2006 From: mental at rydia.net (MenTaLguY) Date: Wed, 01 Nov 2006 23:58:58 -0500 Subject: 0.5 release nears -- last call In-Reply-To: <454936D1.5090401@gmail.com> References: <1159566125.31624.5.camel@localhost.localdomain> <20060930071202.GA11226@power.luon.net> <1159734683.13812.37.camel@localhost.localdomain> <20061002174726.GD15122@mazirian.com> <1160101328.5766.57.camel@phandaal> <20061006211956.GA4995@power.luon.net> <20061008170613.GA21422@mazirian.com> <20061009153455.GD4477@power.luon.net> <1160523152.5602.0.camel@localhost.localdomain> <20061101125358.GB12878@power.luon.net> <1162404333.11525.4.camel@localhost.localdomain> <454936D1.5090401@gmail.com> Message-ID: <1162443538.15069.18.camel@localhost.localdomain> On Wed, 2006-11-01 at 19:07 -0500, Brian C Young wrote: > I asked about this awhile back [1], but never saw a response-- > patch for bin/hobix to make it usable on Windows. Again, I'm > unsure if removing some of the code is a good idea. The bigger problem is that it breaks URI processing, because of the URI escaping which is added. If Ruby's URI class supported the usual conventions for representing Windows paths better, I'd suggest we simply always treated the 'weblog' field as a URI. Probably the best we can do at the moment is a hueristic in addition to the current does-it-have-a-scheme test: if it doesn't parse as a URI or has a single-character protocol, then also treat it as a native path. I've committed that to SVN; see how it works for you. -mental -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061101/4ab86255/attachment.bin From paul at luon.net Fri Nov 3 07:52:52 2006 From: paul at luon.net (Paul van Tilburg) Date: Fri, 3 Nov 2006 13:52:52 +0100 Subject: 0.5 release nears -- last call In-Reply-To: <1162404333.11525.4.camel@localhost.localdomain> References: <20060930071202.GA11226@power.luon.net> <1159734683.13812.37.camel@localhost.localdomain> <20061002174726.GD15122@mazirian.com> <1160101328.5766.57.camel@phandaal> <20061006211956.GA4995@power.luon.net> <20061008170613.GA21422@mazirian.com> <20061009153455.GD4477@power.luon.net> <1160523152.5602.0.camel@localhost.localdomain> <20061101125358.GB12878@power.luon.net> <1162404333.11525.4.camel@localhost.localdomain> Message-ID: <20061103125252.GB30159@power.luon.net> On Wed, Nov 01, 2006 at 01:05:33PM -0500, MenTaLguY wrote: > On Wed, 2006-11-01 at 13:53 +0100, Paul van Tilburg wrote: > > I commited it to SVN (well, a few days ago but forgot to report it). > > I'd say, 0.5 is ready. I'm feeling ready to gear up for the new > > release/version. :) > > Ok. There are still a few minor bugs I'd like to iron out (e.g. > Page#next_link and Page#prev_link are broken right now), but other than > that I think we're basically ready for 0.5. Ok, so I have looked back through my mails and notes to see what we have addressed and what we didn't address. This leads in combination with your remarks to a small TODO. I'd like to give my "bug triage" views/opinions on these issues concerning their relevancy for the 0.5 release. Please comment on them: 1. Fix minor bugs concerning Page#{next,prev}_link which are broken. I agree this should be fixed for 0.5. 2. The generated .htaccess has a hardcoded /control path, but if the blog live under a subdir, this doesn't work. Can be addressed with the Hobix Reboot, leave it as is for now. 3. If you use Hobix with lighttpd, all hobix.cgi stuff doesn't work because lighttpd has no MultiViews support (i.e. /blog/hobix.cgi/some/path). Also for Hobix Reboot, easily solved with Camping. 4. The publisher only works partially atm. I would mark it as an experimental thing for the 0.5 release, not everything works, but some parts do. The rest can be left for the Hobix Reboot. 5. There seems some rudimentary login support, but couldn't find anything about it No idea what to do with this, but I can imagine this can be done properly with Camping later on. 6. If you enable comments.rb, it overrides some header/footer that the user might have adapted in hobix.yaml. However, code-wise it seems to want to append the headers, so something is wrong. I tried to find how this works and what goes wrong, but couldn't find it? It would be nice to have this fixed for 0.5 too, however it is not really critical. 7. hobix.cgi is not created with executable perms. This is quite mindboggling when you enable something that applies the patch that creates hobix.cgi. I reckon either the patch format has to be extended to do this. Opinions? 8. My sections index.html pages are no longer generated. While I am using tags now it is still confusing when you go up in a directory, i.e. from foo/bar/SomePost to foo/bar and you see an old index page. Is this a bug? I'd like this to be solved for 0.5 too, but I'm not really knowledgable about this part of Hobix. Anyone? 9. If comments are enabled, it can add an field/element to the RSS feed so ppl can directly go to the comment section from their feedreader. This is feature request, postpone it for after 0.5 ;) So, I think that 1 and 8 and preferable also 6 and 7 should be fixed for the 0.5 release. Items 2, 3, 4, 5 and 9 can be done later on. > Would someone like to collect a list of changes since 0.4/0.3, so I can > craft them into a release announcement? Sure, but note that 0.3c -> 0.4 is already included in doc/Changelog. I can imagine though you want to announce these changes in the 0.5 release tough, since that release went by so silently. There is no tag nor log entry for it in SVN, so I deduced it to be 2005-05-22. 0.4 -> 0.5 * Added trackback support (courtesy of Leon Bredt). * Added experimental publisher web interface plugin for administration. * Added new plugins: - akismet.rb: spam blocker for comments using Akismet - bloglines.rb: sidebar Bloglines blogroll - calendar.rb: sidebar calendar - flickr.rb: sidebar Flickr "badge" (recent photos) - recent_comments.rb: sidebar recent comments - sections.rb: sidebar section map - tags.rb: sidebar tag map * Improved tagging support. * New patch system to apply patches on blogs enabling certain features, facets and plugins. * Added new remote API that is usable over HTTP. * Performed Atom (1.0) and RSS output fixes. * Improved XHTML compliant format. * Fixes for support of Ruby >= 1.8.3. * Added support for staging (using the HOBIX_ENV environment variable). * Performed a lot of small misc fixes! The list above lists the major changes, though a lot more has been done since 0.4. These are probably to detaillistic or implementation-oriented for the users. :) Kind regards, Paul -- Student @ Eindhoven | email: paul at luon.net University of Technology, The Netherlands | JID: paul at luon.net >>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061103/b046e0dd/attachment-0001.bin From splaestro at gmail.com Sun Nov 5 19:34:22 2006 From: splaestro at gmail.com (Brian C Young) Date: Sun, 05 Nov 2006 19:34:22 -0500 Subject: 0.5 release nears -- last call In-Reply-To: <1162443538.15069.18.camel@localhost.localdomain> References: <1159566125.31624.5.camel@localhost.localdomain> <20060930071202.GA11226@power.luon.net> <1159734683.13812.37.camel@localhost.localdomain> <20061002174726.GD15122@mazirian.com> <1160101328.5766.57.camel@phandaal> <20061006211956.GA4995@power.luon.net> <20061008170613.GA21422@mazirian.com> <20061009153455.GD4477@power.luon.net> <1160523152.5602.0.camel@localhost.localdomain> <20061101125358.GB12878@power.luon.net> <1162404333.11525.4.camel@localhost.localdomain> <454936D1.5090401@gmail.com> <1162443538.15069.18.camel@localhost.localdomain> Message-ID: <454E830E.5090104@gmail.com> MenTaLguY wrote: > Probably the best we can do at the moment is a hueristic in addition to > the current does-it-have-a-scheme test: if it doesn't parse as a URI or > has a single-character protocol, then also treat it as a native path. > > I've committed that to SVN; see how it works for you. > Thanks, Mental, your patch for the URI issue works fine for me. On to the next problem: in 0.4, there was a lockfile feature added, which I suppose is useful for those running Hobix on machines that host multi-author blogs (?). I am having considerable difficulty with this in processing entries on Windows. The library seems to rely on POSIX-oriented methods, e.g., File#link, File::Stat#ino, File::Stat#rdev, that Windows just doesn't support properly, or at least Windows XP Home. One symptom of this is that Lockfile#lock polls repeatedly and never is able to establish a lock, in a directory where it should be able to. The observed behavior is a long pause after completing an entry (see the block at lines 190-213 in hobix/storage/lockfile.rb, especially the conditions that raise a StatLockError at lines 200-201). FWIW, this process is also described on the RAA at http://raa.ruby-lang.org/project/lockfile/. So some questions: 1. Are there any Windows Hobix users running either 0.4 or 0.5 that have been able to get the lockfile stuff working properly? If so, what did you do, and what version of Windows are you running? 2. I would like to propose some way of making the use of the lockfile library configurable, perhaps in the .hobixrc. Does anyone see a problem with this, or can you think of a more elegant way of solving the problem? If it's not obvious, I don't understand the library well enough to try making it work for Windows. Thanks. -- ------------------------------------------------------------------------ Brian C. Young "...the depth of human sinfulness is expressed in the way in which human beings deceive themselves into believing that the defense of, or commitment to, their own people requires the harm of other people." --Duane K. Friesen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061105/8e733587/attachment.html From mental at rydia.net Mon Nov 6 00:41:22 2006 From: mental at rydia.net (MenTaLguY) Date: Mon, 06 Nov 2006 00:41:22 -0500 Subject: 0.5 release nears -- last call In-Reply-To: <454E830E.5090104@gmail.com> References: <1159566125.31624.5.camel@localhost.localdomain> <20060930071202.GA11226@power.luon.net> <1159734683.13812.37.camel@localhost.localdomain> <20061002174726.GD15122@mazirian.com> <1160101328.5766.57.camel@phandaal> <20061006211956.GA4995@power.luon.net> <20061008170613.GA21422@mazirian.com> <20061009153455.GD4477@power.luon.net> <1160523152.5602.0.camel@localhost.localdomain> <20061101125358.GB12878@power.luon.net> <1162404333.11525.4.camel@localhost.localdomain> <454936D1.5090401@gmail.com> <1162443538.15069.18.camel@localhost.localdomain> <454E830E.5090104@gmail.com> Message-ID: <1162791682.11021.14.camel@localhost.localdomain> On Sun, 2006-11-05 at 19:34 -0500, Brian C Young wrote: > On to the next problem: in 0.4, there was a lockfile feature added, > which I suppose is useful for those running Hobix on machines that > host multi-author blogs (?). Not just that. There are lots of situations in which you could potentially have more than one Hobix process running at a time -- for example, if Hobix is also running as a webapp, or simply running hobix commands from two terminals at once. > I am having considerable difficulty with this in processing entries > on Windows. The library seems to rely on POSIX-oriented methods, e.g., > File#link, File::Stat#ino, File::Stat#rdev, that Windows just doesn't > support properly, or at least Windows XP Home. Yeah... Lockfile is pretty Unix-bound. > 1. I would like to propose some way of making the use of the > lockfile library configurable, perhaps in the .hobixrc. Does > anyone see a problem with this, or can you think of a more > elegant way of solving the problem? If it's not obvious, I > don't understand the library well enough to try making it > work for Windows. The best answer is probably simply to not try to do locking on Windows, until we can make it work. I'll have to think about that some. -mental -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061106/c09667ad/attachment.bin