Linux scm0 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.7.1908 (Core)
SubGit version 3.3.8 (‘Bobique’) build #4337
gitlab-ee.x86_64 12.3.5-ee.0.el7 @gitlab_gitlab-ee
jre1.8.x86_64 1.8.0_221-fcs @/jre-8u221-linux-x64
only thing strange i noticed when project was created through gui no user dir was present under repositories, only hashes?
[root@scm0 ~]# ls /var/opt/gitlab/git-data/repositories/
+gitaly @hashed
subgit created the user and lower dir.
[root@scm0 ~]# ls /var/opt/gitlab/git-data/repositories/hoyte
spiegel.git
-sh-4.2$ subgit configure --layout auto $SVN_PROJECT_URL $GIT_REPO_PATH
SubGit version 3.3.8 (‘Bobique’) build #4337
Configuring writable Git mirror of remote Subversion repository:
Subversion repository URL : ***
Git repository location : /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git
Detecting peg location…
Authentication realm: <***> *** DigiDoc Repositories
Peg location detected: r3102 trunk
Fetching SVN history… Done.
Growing trees… Done.
Project origin detected: r6 trunk
Building branches layouts… Done.
Combing beards… Done.
Generating SVN to Git mapping… Done.
CONFIGURATION SUCCESSFUL
To complete SubGit installation do the following:
- Adjust Subversion to Git branches mapping if necessary:
/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/config - Define at least one Subversion credentials in default SubGit passwd file at:
/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/passwd
OR configure SSH or SSL credentials in the [auth] section of:
/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/config - Optionally, add custom authors mapping to the authors.txt file(s) at:
/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/authors.txt - Run SubGit ‘install’ command:
subgit install /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git
-sh-4.2$ subgit configure --layout auto $SVN_PROJECT_URL $GIT_REPO_PATH
SubGit version 3.3.8 (‘Bobique’) build #4337
Configuring writable Git mirror of remote Subversion repository:
Subversion repository URL : ***
Git repository location : /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git
Detecting peg location…
Authentication realm: <***> *** DigiDoc Repositories
Peg location detected: r3102 trunk
Fetching SVN history… Done.
Growing trees… Done.
Project origin detected: r6 trunk
Building branches layouts… Done.
Combing beards… Done.
Generating SVN to Git mapping… Done.
CONFIGURATION SUCCESSFUL
To complete SubGit installation do the following:
- Adjust Subversion to Git branches mapping if necessary:
/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/config - Define at least one Subversion credentials in default SubGit passwd file at:
/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/passwd
OR configure SSH or SSL credentials in the [auth] section of:
/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/config - Optionally, add custom authors mapping to the authors.txt file(s) at:
/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/authors.txt - Run SubGit ‘install’ command:
subgit install /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git
-sh-4.2$ vi /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/config
-sh-4.2$ vi /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/passwd
-sh-4.2$ ls -l /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/passwd
-rw-rw-r-- 1 git root 318 Oct 13 12:49 /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/passwd
-sh-4.2$ chmod 660 /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/passwd
-sh-4.2$ vi /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/authors.txt
-sh-4.2$ subgit install /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git
SubGit version 3.3.8 (‘Bobique’) build #4337
Translating Subversion revisions to Git commits…
INSTALLATION FAILED
error: Cannot run program “git” (in directory “/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git”): error=2, No such file or directory
error: error=2, No such file or directory
error: Unexpected error has occurred; please report along with the logs (’/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git/subgit/subgit-install-20191013-125352.zip’)
error: to http://issues.tmatesoft.com/, thank you!
-bash-4.2$ /opt/subgit-3.3.8/bin/subgit import /var/opt/gitlab/git-data/repositories/hoyte/spiegel.git
SubGit version 3.3.8 (‘Bobique’) build #4337
Translating Subversion revisions to Git commits…
IMPORT FAILED
error: Cannot run program “git” (in directory “/var/opt/gitlab/git-data/repositories/hoyte/spiegel.git”): error=2, No such file or directory
error: error=2, No such file or directory
error: Unexpected error has occurred; please report along with the logs (’/tmp/svnkitsubgit5661936926202344264.tmp/subgit-import-20191013-131832.zip’)
error: to http://issues.tmatesoft.com/, thank you!