{"action":"closed","issue":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/415","labels_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/415/comments","events_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/415/events","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/415","id":67080726,"number":415,"title":"The plugin deletes all gitolite mirroring attributes","user":{"login":"paolosystemx","id":9263652,"avatar_url":"https://avatars.githubusercontent.com/u/9263652?v=3","gravatar_id":"","url":"https://api.github.com/users/paolosystemx","html_url":"https://github.com/paolosystemx","followers_url":"https://api.github.com/users/paolosystemx/followers","following_url":"https://api.github.com/users/paolosystemx/following{/other_user}","gists_url":"https://api.github.com/users/paolosystemx/gists{/gist_id}","starred_url":"https://api.github.com/users/paolosystemx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paolosystemx/subscriptions","organizations_url":"https://api.github.com/users/paolosystemx/orgs","repos_url":"https://api.github.com/users/paolosystemx/repos","events_url":"https://api.github.com/users/paolosystemx/events{/privacy}","received_events_url":"https://api.github.com/users/paolosystemx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"n-rodriguez","id":3433835,"avatar_url":"https://avatars.githubusercontent.com/u/3433835?v=3","gravatar_id":"","url":"https://api.github.com/users/n-rodriguez","html_url":"https://github.com/n-rodriguez","followers_url":"https://api.github.com/users/n-rodriguez/followers","following_url":"https://api.github.com/users/n-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/n-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/n-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/n-rodriguez/orgs","repos_url":"https://api.github.com/users/n-rodriguez/repos","events_url":"https://api.github.com/users/n-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/n-rodriguez/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/milestones/11","html_url":"https://github.com/jbox-web/redmine_git_hosting/milestones/v1.2.0","labels_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/milestones/11/labels","id":1152967,"number":11,"title":"v1.2.0","description":"","creator":{"login":"n-rodriguez","id":3433835,"avatar_url":"https://avatars.githubusercontent.com/u/3433835?v=3","gravatar_id":"","url":"https://api.github.com/users/n-rodriguez","html_url":"https://github.com/n-rodriguez","followers_url":"https://api.github.com/users/n-rodriguez/followers","following_url":"https://api.github.com/users/n-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/n-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/n-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/n-rodriguez/orgs","repos_url":"https://api.github.com/users/n-rodriguez/repos","events_url":"https://api.github.com/users/n-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/n-rodriguez/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2015-06-06T20:26:23Z","updated_at":"2015-07-05T20:01:34Z","due_on":"2015-07-30T22:00:00Z","closed_at":null},"comments":13,"created_at":"2015-04-08T08:50:34Z","updated_at":"2015-07-05T20:01:34Z","closed_at":"2015-07-05T20:01:34Z","body":"Hi Nicolas,\r\n\r\nWe are using the gitolite mirroring feature (http://gitolite.com/gitolite/mirroring.html), which requires to add attributes to the repository description in gitolite.conf such as:\r\nrepo foo\r\n    ...access rules...\r\n\r\n    option mirror.master        =   mars\r\n    option mirror.slaves        =   phobos deimos\r\n    option mirror.redirectOK    =   all\r\n\r\nWe have setup such mirroring for some of our redmine managed repos and it works fine, until someone makes changes through redmine, e.g. adding new project members.\r\nAt this point, the repo configuration is rewritten and the mirroring attributes are lost.\r\n\r\nDo you think it would be possible that all attributes that the plugin does not manage be kept as they are found?\r\n\r\nIf you agree with that design and are willing to head me to the code where the rewrite operation is done, I'd fork and suggest a pull request with pleasure.\r\n\r\nPlease let me know and thank you for this great plugin!\r\n\r\nCheers,\r\n\r\nPaolo"}}