Search code examples
gitclearcaseopenvms

Can Git be used on OpenVMS?


We are currently using ClearCase and ClearQuest for source control and issue tracking.

Our ClearCase client is running on a CentOS machine.
The OpenVMS machine mounts the required views via a combination of MVFS on the CentOS machine and NFS.
Then the code can be built and tested from OpenVMS.

Now we would like to migrate away from ClearCase and ClearQuest to something that has a bigger support community.

The question is whether Git could be a viable alternative?
And if yes, what would be the migration process?


Solution

  • I have provided migration advice from ClearCase to Git before, but the TLDR; remains:

    • Keep ClearCase in read-only for archive
    • Take a snapshot of the latest code, and create a Git repository in it, modifiy its .gitignore (in order to not add everything), add a remote and push to a Git repository hosting server.

    That is:

    cd /path/to/snapshot/view
    git init .
    # edit .gitignore
    git add .
    git commit -m "import from ClearCase"
    git remote add origin https://url/remote/empty/repo
    git push -u origin master
    

    (Note: I mentioned here the Git repository does not have to be in the ClearCase view)