gitblit
gitblit copied to clipboard
Unset or empty federation folder value does not trigger pulling process
Originally reported on Google Code with ID 334
What steps will reproduce the problem?
1. Configure a typical federation
2. Either leave federation.<name>.folder commented out or empty
What is the expected output? What do you see instead?
The expected behavior is that the pulling gitblit instance should create the mirror
at ${git.repositoriesFolder}. However, the repositories are all stuck in a PENDING
state. If I change the value of federation.<name>.folder to a non-null/empty string
value it works (creates a subdir relative to my ${git.repositoriesFolder}. I was able
to get the mirrors created in ${git.repositoriesFolder} by specifying a value of '.'.
What version of the product are you using? On what operating system?
Gitblit 1.3.2
Linux (RedHat 6.4 primary, Centos 6.4 mirror)
Please provide any additional information below.
This configuration works to create a mirror under ${git.repositoriesFolder}:
federation.myrepo.url = http://myhost/
federation.myrepo.token = not_the_real_token
federation.myrepo.frequency = 15 mins
federation.myrepo.folder = .
federation.myrepo.bare = true
federation.myrepo.mirror = true
federation.myrepo.mergeAccounts = true
federation.myrepo.sendStatus = true
federation.myrepo.notifyOnError = true
federation.myrepo.include = *
Substituting the following values individually in the above property set leads to all
detected repositories being stuck in a PENDING state.
federation.myrepo.folder =
#federation.myrepo.folder =
Reported by [email protected] on 2013-11-14 20:07:24