On Fri, Sep 12, 2008 at 05:59:04PM +0400, Dmitry Kurochkin wrote:
> On Fri, Sep 12, 2008 at 5:34 PM, Eric Kow <[EMAIL PROTECTED]> wrote:
> > On Fri, Sep 12, 2008 at 16:59:29 +0400, Dmitry Kurochkin wrote:
> >> David, what do you think about setting up a CGI script that accepts
> >> POSTed patched and resends them just as 'darcs send'? I did not
> >> investigate this myself, but if everyone agrees (and with some help
> >> probably) I am ready to work on this. In general I believe HTTP is
> >> more accessible than SMTP, e.g. I can do HTTP POST from behind my
> >> corporate proxy but I am not able to send mail easily.
> >
> > Dmitry, have a look at tools/upload.cgi.  I think it does what we want.
> > If David agrees and if you help me, I could put it on darcs.net.

That would be nice, if you can figure it out.

> It is Perl :) But otherwise looks good and simple. The only thing we
> need to change is invoking sendmail instead of putting patches to
> mailbox. I can work on this and do testing.

It would also be a good idea to check that the patch is valid before
sending it as email (which we could do by simply running darcs apply
--dry-run).  This would both serve as a deterrent to spammers, and
would also serve as a sanity check for posters if they are about to
submit a patch that cannot be applied.

> Another question: how do you choose whether to submit patches through
> email or POST?

That I do not know and would have to look at the code... (or perhaps
darcs changes).

David
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to