Dear Sir or Madame.
We have now completed our migration project from SVN to GitLab. Do you have any instruction on how t fully remove SubGit? Is this all that is required?
cd git@gitinternal:“/home/git-data/repositories/@hashed/12/53”
JAVA_HOME=/fserver/engine/jdk/linux/jdk-12 subgit-3.3.11/bin/subgit shutdown 1253e9373e781b7500266caa55150e08e210bc8cd8cc70d89985e3600155e860.git
to remove SubGit from a Git repository run the following command:
subgit uninstall <REPO>
where REPO stands for the path to the repository. This command will leave some of SUbGit metadata in the repository, to completely remove everything add the purge option:
The developer also included Java Environment Variable in the command. In this example Java is installed on a file server, do you know if this is required when using the uninstall command?
subgit shutdown command stops actual mirror operations shutting down SubGit daemon and leaving all SubGit metadata in the repository thus making possible restarting the daemon later. The subgit uninstall command performs the shutdown by itself prior removing the metadata from the repository, so it’s not mandatory to run shutdown prior to uninstall yet it would not break anything, of course.
For some reason the developer preferred to use this particular JDK for SubGit, I’m not sure why exactly, may assume that the system JDK is somehow incompatible with SubGit and thus I would recommend using the same way to invoke all the SubGit commands.
ildar.
Thank you for your advice, we ran the shutdown and then the uninstall command and everything looks good. Are you aware of any other clean up tasks we should be aware of?
Paul