Managing versions of Dynamic (Symbolic) Links in SCM Harvest
search cancel

Managing versions of Dynamic (Symbolic) Links in SCM Harvest

book

Article ID: 38619

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager

Issue/Introduction

Is there a way to manage versions of Dynamic (Symbolic) Links in SCM Harvest ?

 

Environment

Harvest Software Change Manager all versions
Linux/Unix platforms

Resolution

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 .

A possible workaround is to use a script to recreate the Symbolic Links when needed and manage the script file versions as any other text file in Harvest .

For example this 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