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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to