[darcs-users] performance; clone?
David Roundy
droundy at abridgegame.org
Thu Apr 10 17:18:41 UTC 2003
On Wed, Apr 09, 2003 at 01:15:20PM -0700, Aaron Denney wrote:
> On Wed, Apr 09, 2003 at 09:04:34AM -0400, David Roundy wrote:
> >
> > Hmmm. I added a note about the possibility of an unpull. Do you think
> > this is enough (you'll have to check it out in the darcs repo on
> > abridgegame, or on the docs at abridgegame.org), or should I add a bit more
> > explanation?
>
> Well, I certainly won't make the same mistake again. I think you want
> to explain why revert is a good idea...
I just added an explanation strongly modelled after your suggestion.
> ... So, really, they're just example files for zsh users.
Sounds good. If you want to write up an explanation of how to use them,
I'll add it to the manual (and it might motivate me to do something like
that with the bash completion...).
> > Obviously push could use some serious polishing, as you ought to be
> > able to edit text of the email that gets sent, and I'd like to be able
> > to gpg sign patches sent with darcs push. I just haven't figured out
> > how best to do this. Any suggestions are definitely welcome.
>
> One thing that comes to mind is to just package the patches together
> and let the user deal with signing and e-mailing them. This also
> means other transports (scp, ftp PUT, etc.) can be used.
Yeah, I had thought of doing this, and probably should at least give it as
an option. But my grand plan for supporting something the central
repository model of cvs is to do it by email (which may just be stupid),
making the server be something like a procmail script that reads the mail
generated by push, checks its gpg signature against a list of valid keys,
and then calls darcs apply on the attached patch. So this way darcs itself
would never have to deal with user permissions issues. The catch is that
in order for this to be convenient, the user can't be required to fire up a
mail program and attach a patch every time he wants to submit a patch to
the central repo.
Hmmm. But certainly I should implement saving the patch bundle as a file
as an option...
> Oh, the mime-type for the attachment should probably be
> text/x-darcs-patch, rather than text/darcs
Makes sense. Made this change also.
--
David Roundy
http://civet.berkeley.edu/droundy/
More information about the darcs-users
mailing list