[dev] Linking a directory tree of configuration files

From: Thomas Levine <__AT_thomaslevine.com>
Date: Thu, 31 Aug 2017 07:19:52 +0000

Having trouble installing rcm on some computers, I came up with the
following alternative a couple weeks ago. I have been pleased.

Here is an example of where I have used it to compose configurations.

Does something else like this exist? I could do without some of the
features; for example, it would be acceptable to have something like
cp -R that differed only in that it made hard links instead of copies.

Also, while I do like how this is working, I suspect that it could be
resolved more cleanly by designing the filesystem better. Consider,
for example, the following rules.

* All configuration files are stored in only a couple places so that
  they are easy to find and commit to version control.
* There are separate directories for private and public files so that
  they can easily be put in separate version control repositories.
* Directories containing configuration files do not contain any garbage,
  such as caches, examples, nor big files.

This way, you could put the configuration locations directly into
version control, without creating so many links. I am not pleased with
these rules, but they should give you an idea of what I am thinking.
Received on Thu Aug 31 2017 - 09:19:52 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 31 2017 - 09:24:19 CEST