darcs

Issue 743 Additional setpref options (eg for managing permissions, symlinks, etc)

Title Additional setpref options (eg for managing permissions, symlinks, etc)
Priority wishlist Status given-up
Milestone Resolved in
Superseder Nosy List R.P.Evans, darcs-devel, dmitry.kurochkin, kowey, manveru, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-03-09.15:47:21 by manveru, last changed 2017-07-30.23:08:19 by gh.

Messages
msg3851 (view) Author: manveru Date: 2008-03-09.15:47:19
What I'd like to propose is a way to share more configuration among
repositories, setperf would do what i want but it has a too limited scope.

Something similar was put forward already:

http://lists.osuosl.org/pipermail/darcs-users/2005-June/007786.html

I was trying to make a repo easier to get today, the issue being that essential
scripts are not being set executable. For now i have created a kind of hack that
does what --set-scripts-executable should do. However, that still has to be
executed separately and is not obvious.

I am aware of the security issues mentioned at:

http://lists.osuosl.org/pipermail/darcs-users/2005-November/008777.html

but i don't think noop commandline parameters to darcs should be a problem in
this case.
msg8645 (view) Author: kowey Date: 2009-09-02.19:13:49
This sounds doable and even potentially useful.

Suppose we invented a new setpref value like "permissionsfile" or
"symlinksfile".  Would older versions of Darcs choke on them?  

It may be acceptable if they simply ignored them, but if we could add new
setpref values, it would mean being able to add better support for things like
permissions (you could imagine a file that tells you which files should be
executable), a subset of permitted global flags, some sort of mechanism for
keeping track of symlinks, etc.

It wouldn't be going nearly as far as adding a new patch type, just sort of
handy functionality through the back door.

I think we need somebody to see how darcs 2.3.0 reacts to arbitrary setpref
patches and also darcs 1.0.9 for good measure.  If they both accept them with a
shrug (which I think they would since the code is pretty dumb), then we're in! :-)
History
Date User Action Args
2008-03-09 15:47:21manverucreate
2008-03-09 18:11:40markstossetstatus: unread -> deferred
nosy: droundy, tommy, beschmi, kowey, manveru
title: Adding _darcs/prefs/shared or further options to setpref -> wish: Adding _darcs/prefs/shared or further options to setpref
2009-08-06 17:56:25adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, manveru
2009-08-06 21:00:22adminsetnosy: - beschmi
2009-08-10 22:17:51adminsetnosy: + manveru, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 18:07:32adminsetnosy: + darcs-devel, - simon
2009-08-27 13:56:31adminsetnosy: tommy, kowey, darcs-devel, thorkilnaur, manveru, dmitry.kurochkin
2009-09-02 19:13:52koweysetstatus: deferred -> needs-reproduction
nosy: + R.P.Evans
topic: - Darcs2, UI
messages: + msg8645
title: wish: Adding _darcs/prefs/shared or further options to setpref -> Additional setpref options (eg for managing permissions, symlinks, etc)
2009-09-07 15:26:15koweylinkissue54 superseder
2017-07-30 23:08:19ghsetstatus: needs-reproduction -> given-up