Closed drakontia closed 12 years ago
Hello. This looks to me like you have your "repositories" setting set to "home/gitolite/repositories" instead of "repositories" which is what it should be set to.... (this setting cannot be absolute -- it is relative to the gitolite home).
(to be specific -- should be set to "repositories/").
--KUBI--
i think so, at first. i dont change repositories setting in init.rb. just "repositories/" and i check the setting view on Redmine. it's written "./home/gitolite/repositories/". these are correct settings, i think. why miss slash?
Hm.... Try changing this setting to "repositories/" on the setting page. See what happens
I'm not sure why it got messed up, but it should be "repositories/". Note that this setting cannot be absolute -- thus, if you happen to say "/home/gitolite/repositories/" it will change it to make it relative....
(Note that once you have started running, the init.rb file will not change any of the settings unless you use the special rake task to reinstall defaults; I don't recommend that here.)
By the way -- what you see in the settings page is not the right setting. It is saying that the repositories are in:
~git/home/gitolite/repositories/
Which they are clearly not. That setting should be "./repositories/".
i changed setting to "repositories/". ( before your last comment)
so, it seems that plugin create repositories correctly.
[root@drakontia Redmine]# ls -l /home/gitolite/repositories/
total 40
drwx------ 7 gitolite gitolite 4096 Apr 5 05:15 dotodo.git
drwx------ 8 gitolite gitolite 4096 Apr 5 05:15 gitolite-admin.git
drwx------ 7 gitolite gitolite 4096 Apr 5 05:15 server.git
drwx------ 7 gitolite gitolite 4096 Apr 5 05:15 test2.git
drwx------ 7 gitolite gitolite 4096 Apr 5 05:15 test3.git
drwx------ 7 gitolite gitolite 4096 Apr 5 05:15 test4.git
drwx------ 7 gitolite gitolite 4096 Apr 5 05:15 test5.git
drwx------ 7 gitolite gitolite 4096 Apr 5 05:15 test6.git
drwx------ 7 gitolite gitolite 4096 Apr 5 05:15 test.git
drwx------ 7 gitolite gitolite 4096 Apr 5 05:15 testing.git
(i tried to create new project "test6". i don't know why other repos already tried was create at same time) and check again settings. its changed to "./repositories/" so, maybe ok about the repos created at creating new project. i can't create repo after creating project yet. but i should be recreate project & repo, i think.
thanks
OK. I am going to close this issue now (since it seems that things are working).
Incidentally, the reason that the other projects "magically" appeared is because they were supposed to have been constructed earlier and weren't because of problems with the configuration. When you fixed the configuration, the plugin repaired the gitolite.conf file automatically (which constructs the new repos). This is proper behavior.
i see the behavior. when something magically happen, i will ask you again.
by the way, in installation steps of README, you write "git_gitolite_admin_id_rsa" on (1). but on (4) write "gitolite_admin_id_rsa" and in init.rb also. when you're free, please rewrite.
Oops. Thanks for finding the bug.
Hi, i failed to install the plugin of bishop version, so change to this version. i think the reason that my redmine is 1.3.2.
but, i don't complete to install yet. i think i need only little try. the error in production.log is below
just write "home/gitolite", not "/home/gitolite". passenger missing slash in the front of home. i didn't touch the setting about gitolitehome. it's easy problem?
thanks.