Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unset or empty federation folder value does not trigger pulling process #630

Open
gitblit opened this issue Aug 12, 2015 · 0 comments
Open

Comments

@gitblit
Copy link
Collaborator

gitblit commented Aug 12, 2015

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 jonathan_w_brown@hotmail.com on 2013-11-14 20:07:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants