{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/3796","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/3796/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3796/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/3796/events","html_url":"https://github.com/gogits/gogs/issues/3796","id":184625164,"number":3796,"title":"Rewrite hooks from console","user":{"login":"schneefux","id":15379000,"avatar_url":"https://avatars.githubusercontent.com/u/15379000?v=3","gravatar_id":"","url":"https://api.github.com/users/schneefux","html_url":"https://github.com/schneefux","followers_url":"https://api.github.com/users/schneefux/followers","following_url":"https://api.github.com/users/schneefux/following{/other_user}","gists_url":"https://api.github.com/users/schneefux/gists{/gist_id}","starred_url":"https://api.github.com/users/schneefux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schneefux/subscriptions","organizations_url":"https://api.github.com/users/schneefux/orgs","repos_url":"https://api.github.com/users/schneefux/repos","events_url":"https://api.github.com/users/schneefux/events{/privacy}","received_events_url":"https://api.github.com/users/schneefux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-22T11:28:33Z","updated_at":"2016-10-22T13:12:03Z","closed_at":null,"body":"I am [packaging](https://github.com/NixOS/nixpkgs/pull/19361) Gogs for [NixOS](https://nixos.org/).\r\nWith every update of the Gogs package, the Gogs binary path changes so that it is necessary to rewrite all git hooks.\r\nCan you provide a shell command, for example `gogs admin rewrite-hooks` so that this can be done automatically by NixOS?"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/255527592","html_url":"https://github.com/gogits/gogs/issues/3796#issuecomment-255527592","issue_url":"https://api.github.com/repos/gogits/gogs/issues/3796","id":255527592,"user":{"login":"LefsFlarey","id":22112509,"avatar_url":"https://avatars.githubusercontent.com/u/22112509?v=3","gravatar_id":"","url":"https://api.github.com/users/LefsFlarey","html_url":"https://github.com/LefsFlarey","followers_url":"https://api.github.com/users/LefsFlarey/followers","following_url":"https://api.github.com/users/LefsFlarey/following{/other_user}","gists_url":"https://api.github.com/users/LefsFlarey/gists{/gist_id}","starred_url":"https://api.github.com/users/LefsFlarey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LefsFlarey/subscriptions","organizations_url":"https://api.github.com/users/LefsFlarey/orgs","repos_url":"https://api.github.com/users/LefsFlarey/repos","events_url":"https://api.github.com/users/LefsFlarey/events{/privacy}","received_events_url":"https://api.github.com/users/LefsFlarey/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T13:12:03Z","updated_at":"2016-10-22T13:12:03Z","body":"I was thinking of more of having a python like structure, where all python version are symlinked to simpler executable names. There are, after all, no incompatibilities between Gogs versions and repositories.\r\n\r\nNevertheless, you guys do what you guys gotta do ^_^"}}
{"actor":{"display_login":"LefsFlarey"}}