{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/opam/issues/2328","labels_url":"https://api.github.com/repos/ocaml/opam/issues/2328/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/opam/issues/2328/comments","events_url":"https://api.github.com/repos/ocaml/opam/issues/2328/events","html_url":"https://github.com/ocaml/opam/pull/2328","id":112529018,"number":2328,"title":"This allows storing url and descr data in the opam file","user":{"login":"AltGr","id":807966,"avatar_url":"https://avatars.githubusercontent.com/u/807966?v=3","gravatar_id":"","url":"https://api.github.com/users/AltGr","html_url":"https://github.com/AltGr","followers_url":"https://api.github.com/users/AltGr/followers","following_url":"https://api.github.com/users/AltGr/following{/other_user}","gists_url":"https://api.github.com/users/AltGr/gists{/gist_id}","starred_url":"https://api.github.com/users/AltGr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltGr/subscriptions","organizations_url":"https://api.github.com/users/AltGr/orgs","repos_url":"https://api.github.com/users/AltGr/repos","events_url":"https://api.github.com/users/AltGr/events{/privacy}","received_events_url":"https://api.github.com/users/AltGr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-21T07:42:45Z","updated_at":"2015-10-27T11:56:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ocaml/opam/pulls/2328","html_url":"https://github.com/ocaml/opam/pull/2328","diff_url":"https://github.com/ocaml/opam/pull/2328.diff","patch_url":"https://github.com/ocaml/opam/pull/2328.patch"},"body":"Thus having packages needing only a single file on the repo.\nIt uses the opam-syntax \"sections\" that always existed but were never used.\n\nSeparate files are still allowed and __override__ what is in the opam file.\n\nThis should be backwards compatible with the repo, but opam now stores single files internally.\nThis also means less files to scan, and that they are now in the cache: opam search is much faster.\n\nNeeds testing..."},"comment":{"url":"https://api.github.com/repos/ocaml/opam/issues/comments/151467953","html_url":"https://github.com/ocaml/opam/pull/2328#issuecomment-151467953","issue_url":"https://api.github.com/repos/ocaml/opam/issues/2328","id":151467953,"user":{"login":"hannesm","id":228456,"avatar_url":"https://avatars.githubusercontent.com/u/228456?v=3","gravatar_id":"","url":"https://api.github.com/users/hannesm","html_url":"https://github.com/hannesm","followers_url":"https://api.github.com/users/hannesm/followers","following_url":"https://api.github.com/users/hannesm/following{/other_user}","gists_url":"https://api.github.com/users/hannesm/gists{/gist_id}","starred_url":"https://api.github.com/users/hannesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannesm/subscriptions","organizations_url":"https://api.github.com/users/hannesm/orgs","repos_url":"https://api.github.com/users/hannesm/repos","events_url":"https://api.github.com/users/hannesm/events{/privacy}","received_events_url":"https://api.github.com/users/hannesm/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T11:56:06Z","updated_at":"2015-10-27T11:56:06Z","body":"I agree hierarchical overwriting is painful.  I collected some statistics of the current opam-repository: 1036 packages, 422 have a single release (and thus are not relevant), 42 have a separate descr for each release, 177 have a different descr for some releases, 394 have the same descr for all releases.\r\n\r\nRethinking, having a single descr file feels very cumbersome and premature optimisation. Having each package version contained in a single file sounds like a very good idea."}}