darcs

Issue 1150 enable darcs send over http for darcs.net

Title enable darcs send over http for darcs.net
Priority wishlist Status wont-fix
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, mornfall, thorkilnaur, twb
Assigned To kowey
Topics Devel

Created on 2008-10-19.13:26:29 by kowey, last changed 2009-08-27.14:32:08 by admin.

Messages
msg6342 (view) Author: kowey Date: 2008-10-19.13:26:24
It would be nice if this was re-enabled, because quite a few people have trouble
setting up darcs to send mail (and we want to make it easy for people to send us
patches)

As I understand it, sending from darcs.net to darcs-users@darcs.net doesn't work
because darcs.net thinks that darcs-users is a local mail recipient.  Tricky
business.

Maybe a quick and dirty solution would be to send mail to a non-darcs.net address?

http://lists.osuosl.org/pipermail/darcs-users/2008-September/013779.html
msg6896 (view) Author: twb Date: 2008-12-26.13:33:45
AIUI the web server darcs.net doesn't host the MTA that processes darcs.net
addresses, which is why it's bad for darcs-users@darcs.net to be treated as
a local address.

That being the case, would it work to simply add to /etc/aliases the line

    darcs-users: darcs-users@<IP address>

or something similar?  (Don't forget to run newaliases.)

A summary of the MTA and HTTPd software (versions and relevant config) and
what hosts are involved and their network config (hostnames, etc.) would
help us armchair commentators make informed (if still unhelpful) suggest-
ions.

I guess this is ultimately blocked on getting net-/sys-admin help?
http://wiki.darcs.net/index.html/DarcsTeam has that role filled by Eric,
but no "help wanted" flag?
msg6926 (view) Author: mornfall Date: 2008-12-28.16:10:10
I'd use real hostname of the target machine instead of its IP. Moreover, it 
might be better to use transport table (instead of an alias) if you are using 
postfix.
msg8275 (view) Author: kowey Date: 2009-08-18.22:36:35
I guess I ought to look into this: 
  darcs-users@lists.osuosl.org will do what we want

so the main task is just for me to learn how to deploy that cgi script
msg8282 (view) Author: twb Date: 2009-08-19.02:14:03
On Tue, Aug 18, 2009 at 10:36:38PM +0000, Eric Kow wrote:
> I guess I ought to look into this:
>   darcs-users@lists.osuosl.org will do what we want
>
> So the main task is just for me to learn how to deploy that cgi
> script.

Are we talking about the recent work so that "darcs send <repo>" will
use HTTP POST instead of email?  If so, what will the CGI script that
receives the bundle do with it?  Bounce it to the mailing list?

Is there a way to disable the use of HTTP POST on the client side, if
the remote repo declares that it supports it, but it is (say)
temporarily broken?
msg8441 (view) Author: kowey Date: 2009-08-23.21:40:15
On Wed, Aug 19, 2009 at 02:14:05 +0000, Trent W. Buck wrote:
> Are we talking about the recent work so that "darcs send <repo>" will
> use HTTP POST instead of email?  If so, what will the CGI script that
> receives the bundle do with it?  Bounce it to the mailing list?

It will bounce it to the mailing list indeed.

> Is there a way to disable the use of HTTP POST on the client side, if
> the remote repo declares that it supports it, but it is (say)
> temporarily broken?

I don't think so.

Moreover, when I send --dry-run it said:
  Patch bundle would be sent to: http://darcs.net/cgi-bin/upload.cgi darcs-users@darcs.net
which sounds potentially unpleasant.

So now I'm not sure how to proceed.  I guess we'll just have to live
without HTTP post for the darcs repo and assume that people either won't
mind the duplication or can live with mutual exclusivity.
History
Date User Action Args
2008-10-19 13:26:29koweycreate
2008-12-26 13:33:48twbsetstatus: unread -> unknown
nosy: + twb
messages: + msg6896
2008-12-28 16:10:13mornfallsetnosy: + mornfall
messages: + msg6926
2008-12-29 18:32:27droundysetnosy: - droundy
2009-08-10 23:48:30adminsetnosy: - dagit
2009-08-18 22:36:37koweysetstatus: unknown -> needs-implementation
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, mornfall
messages: + msg8275
assignedto: kowey
2009-08-19 02:14:05twbsetnosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, mornfall
messages: + msg8282
2009-08-23 21:40:19koweysetstatus: needs-implementation -> wont-fix
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, mornfall
messages: + msg8441
2009-08-24 15:10:09koweysettopic: + Devel, - Community
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, mornfall
2009-08-25 17:31:26adminsetnosy: + darcs-devel, - simon
2009-08-27 14:32:08adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin, mornfall