{"action":"opened","issue":{"url":"https://api.github.com/repos/ocaml/oasis2opam/issues/32","repository_url":"https://api.github.com/repos/ocaml/oasis2opam","labels_url":"https://api.github.com/repos/ocaml/oasis2opam/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/oasis2opam/issues/32/comments","events_url":"https://api.github.com/repos/ocaml/oasis2opam/issues/32/events","html_url":"https://github.com/ocaml/oasis2opam/issues/32","id":194537129,"number":32,"title":"Allow the use of 'SourceRepository opam-pin'","user":{"login":"gildor478","id":452797,"avatar_url":"https://avatars.githubusercontent.com/u/452797?v=3","gravatar_id":"","url":"https://api.github.com/users/gildor478","html_url":"https://github.com/gildor478","followers_url":"https://api.github.com/users/gildor478/followers","following_url":"https://api.github.com/users/gildor478/following{/other_user}","gists_url":"https://api.github.com/users/gildor478/gists{/gist_id}","starred_url":"https://api.github.com/users/gildor478/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gildor478/subscriptions","organizations_url":"https://api.github.com/users/gildor478/orgs","repos_url":"https://api.github.com/users/gildor478/repos","events_url":"https://api.github.com/users/gildor478/events{/privacy}","received_events_url":"https://api.github.com/users/gildor478/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-09T08:15:13Z","updated_at":"2016-12-09T08:15:13Z","closed_at":null,"body":"Right now `oasis2opam` uses  whatever source repository is available, like this one:\r\n```\r\nSourceRepository head\r\n  Type: git\r\n  Location: git://github.com/ocaml/oasis.git\r\n  Browser: https://github.com/ocaml/oasis\r\n```\r\n\r\nI think it would be better to differentiate between `head` and `opam-pin`, by introducing another source repository with a different name:\r\n```\r\nSourceRepository opam-pin\r\n  Type: git\r\n  Location: git://github.com/ocaml/oasis.git\r\n  Branch: opam/testing\r\n```\r\n\r\nIf not defined, we can fallback to the default behavior."}}
{"actor":{"display_login":"gildor478"}}