<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On Wed, Mar 23, 2005 at 08:45:20AM -0800, Steven E. Harris wrote:<br>
<blockquote cite="mid20050323180127.GF24268@hinegardner.org" type="cite">
  <blockquote type="cite">
    <pre wrap="">Michael G Schwern <a class="moz-txt-link-rfc2396E" href="mailto:schwern@pobox.com">&lt;schwern@pobox.com&gt;</a> writes:

    </pre>
    <blockquote type="cite">
      <pre wrap="">darcs works over plain, dumb HTTP and also SSH (and probably FTP).
So what you'd do is put your main darcs repository up on your
FTP/HTTP site.
      </pre>
    </blockquote>
    <pre wrap="">I've been struggling with this same goal, and regret to note that it's
just not this simple for anything but read-only tracking of a public
"master" repository.
    </pre>
  </blockquote>
</blockquote>
Despite all the solutions given, it still seems that it is not very
easy to have a public<br>
repository: all solutions require things like "scp" and/or "darcs
send/apply" via email.<br>
<br>
I think it would be a great selling point if darcs could push/pull to
any ssh accessible<br>
site even when darcs is not installed. It is surely possible, here is a
slow but working<br>
algorithm:<br>
<br>
1) lock and scp the entire repo from the server to the client<br>
2) do darcs push locally<br>
3) scp everything back and unlock<br>
<br>
Maybe the above solution is too expensive, but one can probably
optimize the needed<br>
traffic on the wire. This would make darcs *much* more usable as any
old http site could<br>
serve as a darcs server -- no darcs installation required and no admin
hassle. <br>
Of course, if it is too much work to implement, this might not be a
good idea, but otherwise,<br>
it would be a major selling point for darcs in favor of other SCM's&nbsp;
(but don't worry,<br>
I am already convinced :)<br>
<br>
-- Daan Leijen.<br>
<br>
<br>
<br>
<blockquote cite="mid20050323180127.GF24268@hinegardner.org" type="cite">
  <blockquote type="cite">
    <pre wrap="">In order to push changes back to this master repository, that
repository must sit on a host that has darcs available. That poses a
problem for those who have some public storage space between two
disconnected workspaces (say, home, work, and an ISP in between), but
do not have darcs available on that public host.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
wouldn't 'darcs send' work well for this?  I have never used it
personally so someone correct me if I am wrong.  I'm imagining this
scenario, and this is all complete conjecture.

    home: darcs master repository, darcs, incoming email 
    work: darcs working repository, darcs, outgoing email
    ISP : darcs master read-only repository, no darcs, webserver

The process would be something like this:

    home -&gt; ISP : sync the home master repositor to an ISP read-only
                  repository via rscync/scp/ftp/other periodically.
                  Here's where a post-record trigger would be nice

    ISP -&gt; work : darcs pull

    work -&gt; home: darcs send --to=home-email-address
                  - on the home side, procmail pics up the sent patch
                    bundle and feeds it to some script.
                  - the script applies the patch to the home darcs
                    repository, and then ISP repository with the home
                    repository.

Its a bit convoluted but it might work.

enjoy,

-jeremy
                    
--
========================================================================
Jeremy Hinegardner                              <a class="moz-txt-link-abbreviated" href="mailto:jeremy@hinegardner.org">jeremy@hinegardner.org</a> 


_______________________________________________
darcs-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:darcs-users@darcs.net">darcs-users@darcs.net</a>
<a class="moz-txt-link-freetext" href="http://www.abridgegame.org/mailman/listinfo/darcs-users">http://www.abridgegame.org/mailman/listinfo/darcs-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>