[darcs-users] darcs dist output directory
Tommy Pettersson
ptp at lysator.liu.se
Sun Aug 27 12:31:32 UTC 2006
On Mon, Aug 21, 2006 at 06:42:37PM +0000, David Borja wrote:
> I want darcs to produce the dist tarball in some directory (say /tmp) outside of
> the working repo, this is because I have a cron job executed with no write
> permission on darcs repos.
Darcs is currently hard wired to put the tar file in the repo
root dir. I don't think that would be hard to change though. The
Dist command could also do with some options to supply extra
flags to tar and gzip, and to suppress tar and gzip altogether,
just extract a plain file tree and run dist hook on it. There
are already wishlist items for some of these features.
One question is how to tell darcs where to put the tar file.
Perhaps the --dist-name option could divide the distname into a
directory part and a base name part, and make sure the tar file
(or whatever) ends up at the right place. Would other darcs
users find this intuitive?
--
Tommy Pettersson <ptp at lysator.liu.se>
More information about the darcs-users
mailing list