On Wed, 12 Mar 2003, Kuba Ober wrote: > No sarcasm intended, but I'd drop CVS and switch to Aegis. I'm using Aegis and > it does exactly what you're looking for. No need to write scripts to do > simple things like that. > Sorry for going off topic here... but does anyone have a tool that solves this problem:
Background and goal: I've got multiple accounts (several at work, at home and on a laptop), but I want to have a similar environment and similarly configured software on all the machines. So far I've been using scripts, CVS and manual merging... Problem: Some files, typically configuration files, are slightly different on different machines. Mostly it's file paths, referring to for instance: ~/.something/aFile The problem is that '~' is different on the different accounts... and the configuration files don't understand '~' or '$HOME' (LyX doesn't understand this either, but I'm going to fix that someday). Solution: Basically I'd like a system that can do subsitutions transparently when accessing the repository. Here's an example of an imaginary config-file on one machine: set someOptionsFile = /home/chr/.pgm/options and here's the corresponding file on another machine: set someOptionsFiel = /afs/md.kth.se/md/home/chr/.pgm/options Even though they textually are different, they both correspond to: set someOptionssFile = $HOME/.pgm/options so I'd like the software to handle this. (I wouldof course have to let it know what and how to substitute stuff etc.) This doesn't strike me as that difficult.. it ought to just require a wrapper, but I haven't had time to write it... (Then I'd also like the system to handle soft links in a similar manner, but that's another story..) Does any of this ring a bell for someone? > PS. Okay, that's wishful thinking, because for whatever reason the developer > communities prefer to suffer with CVS rather than moving to something better > :( People shrug at Aegis and keep using CVS, which they complain about. I use > Aegis and live a better life. Your choice ;-))) I looked at it briefly just now, but I couldn't use it for my work since I have to do some stuff locally on windows (yes... I tried using a Samba server, but then the make system recompiled everything everytime... ) So, regardless of Aegis (potential) superiority, I'm stuck with CVS. PS. Feel free to throw stuff at me for going so off-topic here... guess TV sucks right now :) I might as well go completely overboard and describe a neat idea for a scam I just saw. Imagine that you recieve an anonymous tip successfully predicting who is going to win a sports game (say baseball). Then, the next week you recieve another tip.. also successfull. And the next week again.. again .. and again. You have now gotten this anonymous tip five weeks in a row, the sixth letter has a surprise for you. It says that the first five tips were free, but for this tip you have to pay (250 EUR)... What's going on here? How could he send you five successful predictions in a row? Should you pay the money and go to a bookie and make a bet? DS -- Christian Ridderström http://www.md.kth.se/~chr