[darcs-users] Re: [1.0.1] darcs dist and tar

Aaron Denney wnoise at ofb.net
Fri Jan 28 18:46:56 UTC 2005


On 2005-01-28, Ralph Corderoy <ralph at inputplus.co.uk> wrote:
>
> Hi Juliusz,
>
>> > I need those plus some extra things to go into the tar.gz, e.g.
>> > ./configure.
>> 
>> $ darcs setpref predist 'autoconf; sh tools/remove-top-secret-files'
>> 
>> > The makefile generates those extra things and knows about them, it's
>> > its job to produce the tar.gz.
>> 
>> $ darcs setpref predist 'make predist'
>
> Doesn't help the tarball's recipient who doesn't have darcs and
> shouldn't need it to configure, build, modify, and further distribute.

It's not at ll needed for the first three -- having it around doesn't
help for the first two, and for the third, that's it's job.
It's not needed for the fourth, but makes it easier.

It does have the nice "feature" of encouraging others to use darcs
to record changes, which makes it easier for you to get patches back.

> It just shows what a wart `darcs dist' is, needing a `predist' hook to
> squeeze required processing in between the two tasks that should be
> separate:  tar and obtaining a list of files under darcs control.

Oh, agreed.  making a list of controlled files available would
be nicer.  But it's then still as much pain for someone else to
to distribute modifications -- they need to know what should be shipped
and what shouldn't, and feed that to tar.  You having darcs dist
doesn't make that job any harder.

-- 
Aaron Denney
-><-





More information about the darcs-users mailing list