Question:
- How to manage versions of Dynamic (Symbolic) Links in SCM Harvest ?
Answer:
- SCM Harvest does not manages special Unix Objects as Symbolic Links, the Object pointed by the Symbolic Link is what is Check In or Out by Harvest .
Suggested to use a script to recreate the Symbolic Links when needed and manage the
script file versions as any other text file in Harvest .
By example next basic script CreaSymLink.sh deletes/creates two Symbolic Links
when it runs :
cat CreaSymLink.sh :
rm libamexfmt.a libamexfmt.b
ln -s libamexfmt-0.0.nn.a libamexfmt.a
ln -s libamexfmt-0.0.nn.b libamexfmt.b
this updates Symbolic Links:
lrwxrwxrwx 1 root root 19 Aug 20 16:11 libamexfmt.a -> libamexfmt-0.0.nn.a
lrwxrwxrwx 1 root root 19 Aug 20 16:11 libamexfmt.b -> libamexfmt-0.0.nn.b