{"action":"created","issue":{"url":"https://api.github.com/repos/ros-infrastructure/ros_buildfarm/issues/84","labels_url":"https://api.github.com/repos/ros-infrastructure/ros_buildfarm/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/ros-infrastructure/ros_buildfarm/issues/84/comments","events_url":"https://api.github.com/repos/ros-infrastructure/ros_buildfarm/issues/84/events","html_url":"https://github.com/ros-infrastructure/ros_buildfarm/issues/84","id":91385321,"number":84,"title":"Access denied with github enterprise private mode turned on","user":{"login":"dejanpan","id":17376,"avatar_url":"https://avatars.githubusercontent.com/u/17376?v=3","gravatar_id":"","url":"https://api.github.com/users/dejanpan","html_url":"https://github.com/dejanpan","followers_url":"https://api.github.com/users/dejanpan/followers","following_url":"https://api.github.com/users/dejanpan/following{/other_user}","gists_url":"https://api.github.com/users/dejanpan/gists{/gist_id}","starred_url":"https://api.github.com/users/dejanpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dejanpan/subscriptions","organizations_url":"https://api.github.com/users/dejanpan/orgs","repos_url":"https://api.github.com/users/dejanpan/repos","events_url":"https://api.github.com/users/dejanpan/events{/privacy}","received_events_url":"https://api.github.com/users/dejanpan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-26T23:27:49Z","updated_at":"2015-08-07T19:02:59Z","closed_at":null,"body":"There are several issues with github enterprise private mode (https://help.github.com/enterprise/2.1/admin/articles/private-mode/) when running following scripts or using following config files:\r\na) ```generate_all_jobs.py https://raw.githubusercontent.com/YOUR_FORK/ros_buildfarm_config/master/index.yaml```\r\nWe currently fixed this by cloning our fork of the rosdistro and ros_buildfarm_config on repo machine in /var/repos and in https://raw.githubusercontent.com/YOUR_FORK/ros_buildfarm_config/master/index.yaml changed: ```rosdistro_index_url: http://bfrepo/rosdistro/index.yaml```\r\n\r\nb) https://github.com/ros/rosdistro/blob/master/indigo/distribution.yaml (forked alternative)\r\nWe currently fixed this such that urls to the repositories listed in forked version of https://github.com/ros/rosdistro/blob/master/indigo/distribution.yaml must contain token access (https://help.github.com/articles/creating-an-access-token-for-command-line-use/)\r\n\r\nc) bloom\r\nTo fix this we currently run bloom as following ``` bloom-release -r indigo -t indigo deepfield —edit``` => then we pass the link to the repo manually (which works because the user doing release has a private ssh key) => manually enter the changes in distro-name/distribution.yaml and enable access with the access token.\r\nAnother alternative would be to generate an ssh keypair for jenkins user on the repo machine and have ssh urls in the distribution.yaml file."},"comment":{"url":"https://api.github.com/repos/ros-infrastructure/ros_buildfarm/issues/comments/128796359","html_url":"https://github.com/ros-infrastructure/ros_buildfarm/issues/84#issuecomment-128796359","issue_url":"https://api.github.com/repos/ros-infrastructure/ros_buildfarm/issues/84","id":128796359,"user":{"login":"tfoote","id":447804,"avatar_url":"https://avatars.githubusercontent.com/u/447804?v=3","gravatar_id":"","url":"https://api.github.com/users/tfoote","html_url":"https://github.com/tfoote","followers_url":"https://api.github.com/users/tfoote/followers","following_url":"https://api.github.com/users/tfoote/following{/other_user}","gists_url":"https://api.github.com/users/tfoote/gists{/gist_id}","starred_url":"https://api.github.com/users/tfoote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfoote/subscriptions","organizations_url":"https://api.github.com/users/tfoote/orgs","repos_url":"https://api.github.com/users/tfoote/repos","events_url":"https://api.github.com/users/tfoote/events{/privacy}","received_events_url":"https://api.github.com/users/tfoote/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T19:02:59Z","updated_at":"2015-08-07T19:02:59Z","body":"@jjekircp We'd be happy with PRs for both of them. The biggest issue will be to make sure that we have the right version of requests available from debian packages. Since we package these libraries as debian packages we need to have the dependencies available from debian packages as well. "}}