{"action":"created","issue":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/552","labels_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/552/labels{/name}","comments_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/552/comments","events_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/552/events","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/552","id":121721260,"number":552,"title":"Redmine overwrites my gitolite configuration","user":{"login":"hjpotter92","id":3393533,"avatar_url":"https://avatars.githubusercontent.com/u/3393533?v=3","gravatar_id":"","url":"https://api.github.com/users/hjpotter92","html_url":"https://github.com/hjpotter92","followers_url":"https://api.github.com/users/hjpotter92/followers","following_url":"https://api.github.com/users/hjpotter92/following{/other_user}","gists_url":"https://api.github.com/users/hjpotter92/gists{/gist_id}","starred_url":"https://api.github.com/users/hjpotter92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjpotter92/subscriptions","organizations_url":"https://api.github.com/users/hjpotter92/orgs","repos_url":"https://api.github.com/users/hjpotter92/repos","events_url":"https://api.github.com/users/hjpotter92/events{/privacy}","received_events_url":"https://api.github.com/users/hjpotter92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-11T14:48:16Z","updated_at":"2015-12-17T11:40:10Z","closed_at":null,"body":"> Also posted on [gitolite Google group][1]\r\n\r\nA few weeks ago, right after installing gitolite and setting up redmine, I edited `gitolite.conf` file to put the following in it:\r\n\r\n    repo @all\r\n        RW+          = admin @all\r\nLater on, I created a repository using gitolite commands (without relying on redmine). Let's call this `some-repo`. So, when I do the following:\r\n\r\n    ssh git@myserver info\r\nI (and everyone else) am shown `R W` access on all repositories. So far, so fine. On the git/redmine server, I login as `git` user and do the following:\r\n\r\n1. Edit `projects.list` to remove `some-repo` from it\r\n2. `rm -rf repositories/some-repo.git`\r\n\r\nNow, I switch to `redmine` user to edit the `gitolite.conf` file and remove the previous inclusion I had done. I commit and push the changes. Doing the following now shows me correct permissions:\r\n\r\n    ssh git@myuser info\r\nThe output shows no project named `some-repo`, and proper permissions for the several other projects created via redmine. Now, I login to redmine and visit settings for any of my project, tweak anything and as soon as I save it; I get the following commit in `gitolite-admin` repository:\r\n\r\n> [gitolite-rugged] Merged `origin/master` into `master`\r\n\r\nSo, the repo's log is like:\r\n```\r\n$ git log --graph --oneline \r\n    * 0c73c10 update_repository : my/project/repo \r\n    *   9d789f9 [gitolite-rugged] Merged `origin/master` into `master` \r\n    |\\ \r\n    | * 2d203fc Deny RW+ acess to @all \r\n    |/ \r\n    * e1a3e60 disable_readme_creation : Disable README file creation for repositories \r\n```\r\nI understand that `gitolite-rugged` here is somehow caching my conf file from before and overwriting the changes I make on `gitolite-admin` repository. Is there anyway to resolve the issue?\r\n\r\n\r\n  [1]: https://groups.google.com/d/msg/gitolite/xcDVcepF4Kw/lziKjgVhCQAJ"},"comment":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/comments/165431668","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/552#issuecomment-165431668","issue_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/552","id":165431668,"user":{"login":"hjpotter92","id":3393533,"avatar_url":"https://avatars.githubusercontent.com/u/3393533?v=3","gravatar_id":"","url":"https://api.github.com/users/hjpotter92","html_url":"https://github.com/hjpotter92","followers_url":"https://api.github.com/users/hjpotter92/followers","following_url":"https://api.github.com/users/hjpotter92/following{/other_user}","gists_url":"https://api.github.com/users/hjpotter92/gists{/gist_id}","starred_url":"https://api.github.com/users/hjpotter92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjpotter92/subscriptions","organizations_url":"https://api.github.com/users/hjpotter92/orgs","repos_url":"https://api.github.com/users/hjpotter92/repos","events_url":"https://api.github.com/users/hjpotter92/events{/privacy}","received_events_url":"https://api.github.com/users/hjpotter92/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T11:40:10Z","updated_at":"2015-12-17T11:40:10Z","body":"@SomeBdyElse Yes. I have also tried to:\r\n\r\n1. Stop redmine server\r\n1. Clear all caches with `rake`\r\n1. Committing to `gitolite-admin` with the redmine server still stopped.\r\n1. Starting the server.\r\n\r\ngitolite-rugged still overwrites the changes."}}