[Monotone-devel] Calling the shell from a hook

2006-11-17 Thread William Uther
Hi, I'm just playing with monotone to see if I want to do some projects with it. Is there a way to get the output of a another process from within one of the lua hooks? Background: I use a Mac as my main machine, and it can store passwords in a 'keychain' for me - like the ssh-agent

[Monotone-devel] mtn automate tcp

2006-11-17 Thread Lapo Luchini
I was thinking... wouldn't a automate tcp be useful? I mean something that just accepts TCP connections and then talks the automate stdio protocol: having an always-on server listening on 127.0.0.1:something could be very nice e.g. from PHP access, when it would be difficult to maintain an open

Re: [Monotone-devel] mtn automate tcp

2006-11-17 Thread Thomas Keller
Ulf Ochsenfahrt schrieb: 1. Security Anyone who can connect is allowed unlimited access to your db. Even if you only allow connections from localhost, you can run into problems on multi-user systems. You could, however, add an authentication layer before you actually allow operations. This

[Monotone-devel] Re: mtn automate tcp

2006-11-17 Thread Lapo Luchini
Thomas Keller wrote: Ulf Ochsenfahrt schrieb: 1. Security Hrm... maybe its not that good idea... I was thinking about 127.0.0.1 anyway, but there's the multiuser problem of course (thought it would not be an issue in the use-case I have a dedicated web server and I want to access monotone from

Re: [Monotone-devel] mtn automate tcp

2006-11-17 Thread Ulf Ochsenfahrt
Thomas Keller wrote: 4. Limited Operations automate stdio doesn't support such basic operations as add, drop, rename, or commit. This is just because there is not enough man power involved (most of the commands require a lot refactoring since automate.cc isn't yet split like command.cc is).

Re: [Monotone-devel] Re: mtn automate tcp

2006-11-17 Thread Alex Queiroz
Hallo, On 11/17/06, Lapo Luchini [EMAIL PROTECTED] wrote: I was thinking about 127.0.0.1 anyway, but there's the multiuser problem of course (thought it would not be an issue in the use-case I have a dedicated web server and I want to access monotone from some web-app). Oddly enough, I

Re: [Monotone-devel] BUG: No add + commit after propagate?

2006-11-17 Thread Nathaniel Smith
On Fri, Nov 17, 2006 at 12:41:13PM +0200, Evangelos Tsagkas wrote: I tried to add a file to a branch after I had propagated the changes on that branch to my main trunk. I received the following: mtn: warning: restriction excludes addition of 'quidoc/custom/config/import' but includes

[Monotone-devel] Long delays for mails to this list

2006-11-17 Thread Thomas Moschny
Hi, Recently some mails to this mailing list have seen a very long delay (5 hours, 8 hours and more) at the host lists.gnu.org. I don't know why this happens, and why it does only happen to a minority of all mails, but personally, I find that disturbing. It effectively hinders discussing here.

Re: [Monotone-devel] Calling the shell from a hook

2006-11-17 Thread Thomas Moschny
On Friday 17 November 2006 12:01, William Uther wrote: I'm just playing with monotone to see if I want to do some projects with it. Is there a way to get the output of a another process from within one of the lua hooks? [...] I was hoping something like this would work: function

[Monotone-devel] Re: mtn automate tcp

2006-11-17 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alex Queiroz wrote: I'm the author of a web interface for monotone written in Lua, and got myself thinking that, as I already have monotone running all the time to serve monotone clients, it could as well receive fastCGI requests and process them.

Re: [Monotone-devel] Calling the shell from a hook

2006-11-17 Thread Brian May
William == William Uther [EMAIL PROTECTED] writes: William but that just prints the password on stdout before William returning 0... not what I want. It seems that some other My lua is kind of rusty... Is the password printed before or after the finished executing message? William

Re: [Monotone-devel] Calling the shell from a hook

2006-11-17 Thread Larry Hastings
Brian May wrote: Apparently Mercurial was written in Eiffel, and Monotone was written in C++ (IIRC). I prefer the compiled to native code one - Monotone. Mercurial was written in Python with C extensions for speed. It was not written in Eiffel. Of the two I gather Mercurial is generally

Re: [Monotone-devel] sync file-to-file problem

2006-11-17 Thread Timothy Brownawell
On Thu, 2006-11-16 at 11:06 -0800, Nathaniel Smith wrote: On Thu, Nov 16, 2006 at 12:21:28PM -0600, Timothy Brownawell wrote: On Thu, 2006-11-16 at 09:14 -0800, Nathaniel Smith wrote: On Thu, Nov 16, 2006 at 03:03:04PM +0100, mariusz moleda wrote: I have a problem with synchronization

Re: [Monotone-devel] sync file-to-file problem

2006-11-17 Thread Nathaniel Smith
On Fri, Nov 17, 2006 at 10:16:01PM -0600, Timothy Brownawell wrote: ...I tried making a test, but it won't fail. Odd, that. Is there really any need to pass the include/exclude patterns when we spawn the server? That should be kinda redundant with the client specifying what it wants.