Re: various suggestions for mr

2011-11-06 Thread Adam Spiers
On Sun, Oct 30, 2011 at 1:26 PM, Adam Spiers vcs-h...@adamspiers.org wrote: On Sat, Oct 29, 2011 at 5:52 PM, Joey Hess j...@kitenet.net wrote: Adam Spiers wrote: However, the basename operation does not preserve the uniqueness property which $MR_REPO had, and that's why I say that we need an

Re: various suggestions for mr

2011-10-30 Thread Adam Spiers
On Sat, Oct 29, 2011 at 5:52 PM, Joey Hess j...@kitenet.net wrote: Adam Spiers wrote: However, the basename operation does not preserve the uniqueness property which $MR_REPO had, and that's why I say that we need an additional namespace. So pick an operation that does? tr / _ would do, for

Re: various suggestions for mr

2011-10-29 Thread Adam Spiers
On Fri, Oct 28, 2011 at 6:08 PM, Joey Hess j...@kitenet.net wrote: Having two namespaces for the same thing does not strike me as necessarily a good idea. But if you wanted to do that with mr, you could maybe take advantage of a little-known thing it does with determining the absolute path:

Re: various suggestions for mr

2011-10-29 Thread Joey Hess
Adam Spiers wrote: I already did this; in fact I *had* to, in order to support GNU stow, which requires the stow package namespace to be the list of directories under a single stow directory. If you look for $STOW_PKG_PATH in the code I originally posted, you'll see:

various suggestions for mr

2011-10-28 Thread Adam Spiers
Hi all, I've been tracking my dot files and related stuff since around 1999, and was very excited to discover this mailing list two years ago. Since then I've only been able to lurk, but finally have a bit of spare time to participate. Since 2005 I have been using my own (as yet unpublished)

Re: various suggestions for mr

2011-10-28 Thread Dieter Plaetinck
Sorry that I go slightly off-topic but you mentioned Gnu Stow, I looked it up and it seems very nice. i haven't run it yet, but (for those who don't want to read the long description) from the description it seems like a simple and elegant tool, which you give a directory (i want symlinks here)

Re: various suggestions for mr

2011-10-28 Thread Adam Spiers
On Fri, Oct 28, 2011 at 12:40 PM, Dieter Plaetinck die...@plaetinck.be wrote: Sorry that I go slightly off-topic but you mentioned Gnu Stow, I looked it up and it seems very nice. i haven't run it yet, but (for those who don't want to read the long description) from the description it seems

Re: various suggestions for mr

2011-10-28 Thread Dieter Plaetinck
On Fri, 28 Oct 2011 14:34:16 +0100 Adam Spiers vcs-h...@adamspiers.org wrote: On Fri, Oct 28, 2011 at 12:40 PM, Dieter Plaetinck die...@plaetinck.be wrote: Sorry that I go slightly off-topic but you mentioned Gnu Stow, I looked it up and it seems very nice. i haven't run it yet, but (for

Re: various suggestions for mr

2011-10-28 Thread Adam Spiers
On Fri, Oct 28, 2011 at 2:43 PM, Dieter Plaetinck die...@plaetinck.be wrote: On Fri, 28 Oct 2011 14:34:16 +0100 Adam Spiers vcs-h...@adamspiers.org wrote: On Fri, Oct 28, 2011 at 12:40 PM, Dieter Plaetinck die...@plaetinck.be wrote: Sorry that I go slightly off-topic but you mentioned Gnu

Re: various suggestions for mr

2011-10-28 Thread Adam Spiers
On Fri, Oct 28, 2011 at 3:26 PM, Dieter Plaetinck die...@plaetinck.be wrote: You wrote However I might very well want to manually place other files inside ~/local which have nothing to do with stow. Now you wrote As far as I'm aware, all my files are nicely separated into appropriate

Re: to symlink or not to symlink (was: Re: various suggestions for mr)

2011-10-28 Thread Richard Hartmann
mumble.. [1] https://github.com/RichiH/vcsh ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home

Re: various suggestions for mr

2011-10-28 Thread Joey Hess
Adam Spiers wrote: So far mr is clearly winning :-) However, cfgctl does have one or two tricks up its sleeve: - Config modules / packages / repositories / whatever you want to call them are indexed by name within a unique namespace, rather than by directory path, and packages

Re: to symlink or not to symlink (was: Re: various suggestions for mr)

2011-10-28 Thread Richard Hartmann
On Fri, Oct 28, 2011 at 18:23, Adam Spiers vcs-h...@adamspiers.org wrote: Ah thanks, I did wonder about that. Yah, I hope the old version will drop off of google at some point to avoid confusion. Sure, there's no right and wrong.  It sounds like your preference is based on a sense of