{"action":"created","issue":{"url":"https://api.github.com/repos/snowleopard/shaking-up-ghc/issues/18","labels_url":"https://api.github.com/repos/snowleopard/shaking-up-ghc/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/snowleopard/shaking-up-ghc/issues/18/comments","events_url":"https://api.github.com/repos/snowleopard/shaking-up-ghc/issues/18/events","html_url":"https://github.com/snowleopard/shaking-up-ghc/issues/18","id":123348516,"number":18,"title":"Get rid of ghc-cabal and package-data.mk","user":{"login":"snowleopard","id":675286,"avatar_url":"https://avatars.githubusercontent.com/u/675286?v=3","gravatar_id":"","url":"https://api.github.com/users/snowleopard","html_url":"https://github.com/snowleopard","followers_url":"https://api.github.com/users/snowleopard/followers","following_url":"https://api.github.com/users/snowleopard/following{/other_user}","gists_url":"https://api.github.com/users/snowleopard/gists{/gist_id}","starred_url":"https://api.github.com/users/snowleopard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowleopard/subscriptions","organizations_url":"https://api.github.com/users/snowleopard/orgs","repos_url":"https://api.github.com/users/snowleopard/repos","events_url":"https://api.github.com/users/snowleopard/events{/privacy}","received_events_url":"https://api.github.com/users/snowleopard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snowleopard/shaking-up-ghc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"angerman","id":40449,"avatar_url":"https://avatars.githubusercontent.com/u/40449?v=3","gravatar_id":"","url":"https://api.github.com/users/angerman","html_url":"https://github.com/angerman","followers_url":"https://api.github.com/users/angerman/followers","following_url":"https://api.github.com/users/angerman/following{/other_user}","gists_url":"https://api.github.com/users/angerman/gists{/gist_id}","starred_url":"https://api.github.com/users/angerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angerman/subscriptions","organizations_url":"https://api.github.com/users/angerman/orgs","repos_url":"https://api.github.com/users/angerman/repos","events_url":"https://api.github.com/users/angerman/events{/privacy}","received_events_url":"https://api.github.com/users/angerman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/snowleopard/shaking-up-ghc/milestones/1","html_url":"https://github.com/snowleopard/shaking-up-ghc/milestones/first-shake","labels_url":"https://api.github.com/repos/snowleopard/shaking-up-ghc/milestones/1/labels","id":1498601,"number":1,"title":"first-shake","description":"The first Shaking up GHC release.","creator":{"login":"snowleopard","id":675286,"avatar_url":"https://avatars.githubusercontent.com/u/675286?v=3","gravatar_id":"","url":"https://api.github.com/users/snowleopard","html_url":"https://github.com/snowleopard","followers_url":"https://api.github.com/users/snowleopard/followers","following_url":"https://api.github.com/users/snowleopard/following{/other_user}","gists_url":"https://api.github.com/users/snowleopard/gists{/gist_id}","starred_url":"https://api.github.com/users/snowleopard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowleopard/subscriptions","organizations_url":"https://api.github.com/users/snowleopard/orgs","repos_url":"https://api.github.com/users/snowleopard/repos","events_url":"https://api.github.com/users/snowleopard/events{/privacy}","received_events_url":"https://api.github.com/users/snowleopard/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":1,"state":"open","created_at":"2016-01-12T00:31:53Z","updated_at":"2016-01-12T01:42:54Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2015-12-21T20:07:54Z","updated_at":"2016-01-12T14:21:42Z","closed_at":null,"body":"A large part of the build system is dedicated to dancing around `package-data.mk` files containing package-related data (such as package name, version, dependencies, etc.). These files are generated by `utils/ghc-cabal` program, which also needs to be built in a non-trivial way. See `Rules/Data.hs` and `Oracles/PackageData.hs` in particular.\r\n\r\nOur long term plan is to eliminate this and get rid of `ghc-cabal` and `package-data.mk` files altogether. See `Rules/Cabal.hs` where `Distribution.Package` is used instead of `ghc-cabal` to extract package dependencies directly from `.cabal` files.\r\n\r\nA potential solution will need to be carefully thought through and discussed. This is the thread to do this."},"comment":{"url":"https://api.github.com/repos/snowleopard/shaking-up-ghc/issues/comments/170925412","html_url":"https://github.com/snowleopard/shaking-up-ghc/issues/18#issuecomment-170925412","issue_url":"https://api.github.com/repos/snowleopard/shaking-up-ghc/issues/18","id":170925412,"user":{"login":"angerman","id":40449,"avatar_url":"https://avatars.githubusercontent.com/u/40449?v=3","gravatar_id":"","url":"https://api.github.com/users/angerman","html_url":"https://github.com/angerman","followers_url":"https://api.github.com/users/angerman/followers","following_url":"https://api.github.com/users/angerman/following{/other_user}","gists_url":"https://api.github.com/users/angerman/gists{/gist_id}","starred_url":"https://api.github.com/users/angerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angerman/subscriptions","organizations_url":"https://api.github.com/users/angerman/orgs","repos_url":"https://api.github.com/users/angerman/repos","events_url":"https://api.github.com/users/angerman/events{/privacy}","received_events_url":"https://api.github.com/users/angerman/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T14:21:42Z","updated_at":"2016-01-12T14:21:42Z","body":"> I wonder if the GADTs are an essential part of this patch, or could be removed? They seem to be causing a lot of problems.\r\n\r\nWell. I must admit, I've hit a wall trying to get `Binary` to work."}}