[darcs-users] read-only repositories

Ben Franksen benjamin.franksen at bessy.de
Thu Jul 19 21:28:04 UTC 2012


Owen Stephens wrote:
> On 18 July 2012 14:45, Benjamin Franksen <
> benjamin.franksen at helmholtz-berlin.de> wrote:
>> A long-time issue I have with darcs is that I cannot use read-only
>> repositories, even with commands that -- semantically speaking -- do not
>> change the repository, such as 'darcs whatsnew'.
> 
> How does one create a read-only repo? Or do you mean manually chmodding
> the files?

Yes, that's what I meant.

>> I am almost sure the issue has come up before and there is probably an
>> ancient entry in the bug tracker somewhere. Anyway, thought I might
> mention
>> it as a sort of reminder.
> 
> Yes, I think this is issue1959[1].
> 
> See the IRC log[2] for some discussion between Ganesh and myself about why
> it's
> not "obvious" that it shouldn't happen.

Thanks for the pointers.

>> If you think this belongs to the 'probably easy' category, I might try to
>> fix this myself.
> 
> I'm not sure, I don't know much about the Cache code, but it would be
> welcome
> if you do have a poke around and see what you can find out. I imagine we'd
> want
> just stop darcs dying if it fails to write to a cache (that's without
> thinking
> about it though).

Right, that seems reasonable. I'll take a look.

Cheers
Ben



More information about the darcs-users mailing list