Running subgit mirror with https, config below. I see some users being remapped to my username in svn when their commits hit the master (Trunk) branch. Note that my username is the one in the config’s auth section.
The first user I looked at is not in the authors map or in the passwd file, so I read the documentation on author mapping.
I tried setting/changing mapGitCommitter
(and restarting the translation process) but that had no effect; I tried adding the user to the authors mapping (and restarting the translation process) also had no effect.
Question 1
- Now that I am done with the initial import, would it be safe to switch to automatic mapping?
Question 2:
- Do I understand correctly that to continue with an authors mapping file, I need to have every new git user added to the authors mapping file AND the passwd file AND restart the background conversion process?
Question 3:
- For author mapping, does the
passwd
entry for each user need to be genuine, or only for the user used to making the https connection?
Question 4:
- Is it possible that having my username in the server URI is the cause of this, what do I look for in the logs to determine that subgit is making the change?
Thanks,
-Oliver
# This is SubGit configuration file.
[core]
shared = false
logs = subgit/logs
authorsFile = subgit/authors.txt
authorsFileEncoding = UTF-8
defaultDomain = superevilmegacorp.com
pathEncoding = UTF-8
[translate]
eols = false
ignores = true
externals = true
[svn]
url = https://oliver@svn/svn/repos/Project
trunk = Trunk:refs/heads/Trunk
branches = Branches/*:refs/heads/svn/branch/*
branches = Tags/*:refs/heads/svn/tag/*
fetchInterval = 60
connectTimeout = 45
readTimeout = 900
httpSpooling = true
keepGitCommitTime = false
auth = default
triggerGitGC = 100
minimalRevision = 122441
[auth "default"]
userName = oliver
passwords = subgit/passwd
useDefaultSubversionConfigurationDirectory = false
subversionConfigurationDirectory = /var/opt/gitlab/.subversion
# sshKeyFile = /var/opt/gitlab/.ssh/id-rsa-blank
# sshKeyFilePassphrase =
[daemon]
pidFile = subgit/daemon.pid
idleTimeout = infinity
classpath = subgit/lib
[hooks]
directory = custom_hooks