-
Notifications
You must be signed in to change notification settings - Fork 116
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
New repository in Git Hosting. #774
Comments
push funcsion is also working.. |
I don't see any problem here. Could you elaborate your question/problem? |
I face very probably the same problem:
Simply, the GUI doesn't reflect new commits in the repository, changesets aren't fetched. |
I've tried took a bit deeper into the problem and it seems to be related to the following code. If a new Gitolite repo is created, the variable Gitolitable::Validations
def empty?
extra_info.nil? || (!extra_info.key?('heads') && !extra_info.key?('branches'))
end
RepositoriesControllerPatch
def show
if @repository.is_a?(Repository::Xitolite) && @repository.empty?
# Fake list of repos
@repositories = @project.gitolite_repos
render 'git_instructions'
else
super
end
end |
Hi @picman, I do not have this problem with new repositories. How looks your config test on /settings/plugin/redmine_git_hosting?tab=gitolite_config_test? Are all hooks installed/green? Also check your Gitolite Hooks configuration, if this is configured right for your system configuration? If async jobs is active, Sidekiq could also be the problem. Just for your information: the "Fetch changesets" is triggered by a gitolite hook, which is not fired in your case (as it looks). Maybe this info helps you to solve the problem. Maybe just installing the hooks again solves your problem (press link "install hooks" at Hooks settings page) |
Install hooks pressed |
Check the hook URL in admin |
Also you should see something in logs : https://github.com/jbox-web/redmine_git_hosting/blob/f8f7abb65fd22de6393ca4eeb0d975495a02bd32/app/services/redmine_hooks/fetch_changesets.rb#L26 |
The problem is that this hook is not called at all. Where is the place from where is the hook called? I've added a log message into
|
I am facing the same problem. Any solution to this?? It will be much helpful. |
In Storage Config, I can see like this.
Surely, It said to me repository exists in gitolite,
But.. I can see like this ( Repository is empty ) . What is the problem??
The text was updated successfully, but these errors were encountered: