{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/oasis/issues/96","repository_url":"https://api.github.com/repos/ocaml/oasis","labels_url":"https://api.github.com/repos/ocaml/oasis/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/oasis/issues/96/comments","events_url":"https://api.github.com/repos/ocaml/oasis/issues/96/events","html_url":"https://github.com/ocaml/oasis/issues/96","id":207496066,"number":96,"title":"Optional deps become mandatory in _tags","user":{"login":"Chris00","id":1255665,"avatar_url":"https://avatars.githubusercontent.com/u/1255665?v=3","gravatar_id":"","url":"https://api.github.com/users/Chris00","html_url":"https://github.com/Chris00","followers_url":"https://api.github.com/users/Chris00/followers","following_url":"https://api.github.com/users/Chris00/following{/other_user}","gists_url":"https://api.github.com/users/Chris00/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris00/subscriptions","organizations_url":"https://api.github.com/users/Chris00/orgs","repos_url":"https://api.github.com/users/Chris00/repos","events_url":"https://api.github.com/users/Chris00/events{/privacy}","received_events_url":"https://api.github.com/users/Chris00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-14T11:59:40Z","updated_at":"2017-02-27T01:39:10Z","closed_at":null,"body":"As an example, [this `_oasis` file](https://github.com/Chris00/ocaml-cairo/blob/master/_oasis) optionally compiles a library, making the `lablgtk2` dependency [optional](https://github.com/Chris00/ocaml-cairo/blob/master/_oasis#L36).  However, the `_tag` file contains\r\n```\r\n<src/*.ml{,i,y}>: package(lablgtk2)\r\n```\r\nwhich turns it into a compulsory dependency."},"comment":{"url":"https://api.github.com/repos/ocaml/oasis/issues/comments/282608095","html_url":"https://github.com/ocaml/oasis/issues/96#issuecomment-282608095","issue_url":"https://api.github.com/repos/ocaml/oasis/issues/96","id":282608095,"user":{"login":"Chris00","id":1255665,"avatar_url":"https://avatars.githubusercontent.com/u/1255665?v=3","gravatar_id":"","url":"https://api.github.com/users/Chris00","html_url":"https://github.com/Chris00","followers_url":"https://api.github.com/users/Chris00/followers","following_url":"https://api.github.com/users/Chris00/following{/other_user}","gists_url":"https://api.github.com/users/Chris00/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris00/subscriptions","organizations_url":"https://api.github.com/users/Chris00/orgs","repos_url":"https://api.github.com/users/Chris00/repos","events_url":"https://api.github.com/users/Chris00/events{/privacy}","received_events_url":"https://api.github.com/users/Chris00/received_events","type":"User","site_admin":false},"created_at":"2017-02-27T01:39:10Z","updated_at":"2017-02-27T01:39:10Z","body":"I think, dependencies should be managed at a module level: if a module `M` appears in several Library and/or Executable sections, the _intersection_ of these sections dependencies should be used for `m.ml{,i,y}`.\r\n\r\nThis should allow to have _optional_ sections, only built if the proper dependencies are present."}}
{"actor":{"display_login":"Chris00"}}