{"action":"created","issue":{"url":"https://api.github.com/repos/dan-t/cabal-bounds/issues/7","labels_url":"https://api.github.com/repos/dan-t/cabal-bounds/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/dan-t/cabal-bounds/issues/7/comments","events_url":"https://api.github.com/repos/dan-t/cabal-bounds/issues/7/events","html_url":"https://github.com/dan-t/cabal-bounds/issues/7","id":86722997,"number":7,"title":"write cabal.config / loosen bounds","user":{"login":"lspitzner","id":7702390,"avatar_url":"https://avatars.githubusercontent.com/u/7702390?v=3","gravatar_id":"","url":"https://api.github.com/users/lspitzner","html_url":"https://github.com/lspitzner","followers_url":"https://api.github.com/users/lspitzner/followers","following_url":"https://api.github.com/users/lspitzner/following{/other_user}","gists_url":"https://api.github.com/users/lspitzner/gists{/gist_id}","starred_url":"https://api.github.com/users/lspitzner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lspitzner/subscriptions","organizations_url":"https://api.github.com/users/lspitzner/orgs","repos_url":"https://api.github.com/users/lspitzner/repos","events_url":"https://api.github.com/users/lspitzner/events{/privacy}","received_events_url":"https://api.github.com/users/lspitzner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-09T20:18:26Z","updated_at":"2015-06-11T20:13:12Z","closed_at":"2015-06-11T19:20:47Z","body":"It would be nice if instead of changing the .cabal file, `cabal-bounds` could just print out a cabal.config (similar to what stackage does) with the exact versions of a haskell-platform release. That way\r\na) no annoying reformatting happens\r\nb) i can still see relatively quickly which of my bounds conflict with some platform release.\r\n\r\nChanging the .cabal file would also make sense, but only for loosening bounds. This is currently not possible, is it? I.e. \"take current bounds, and loosen them sufficiently to work with platform xy\". Together with printing cabal.config, this seems to enable fast workflows like\r\n1. loosen bounds for platform xy and write the exact bounds into cabal.config\r\n2. try to compile/test (using sandbox of course)\r\n3. a) everything is fine -> delete cabal.config; b) fix fixable problems, then delete cabal.config or c) revert 1.\r\n\r\nsorry if `cabal-bounds` supports such a workflow already, i may not have read the readme sufficiently carefully."},"comment":{"url":"https://api.github.com/repos/dan-t/cabal-bounds/issues/comments/111263293","html_url":"https://github.com/dan-t/cabal-bounds/issues/7#issuecomment-111263293","issue_url":"https://api.github.com/repos/dan-t/cabal-bounds/issues/7","id":111263293,"user":{"login":"dan-t","id":750714,"avatar_url":"https://avatars.githubusercontent.com/u/750714?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-t","html_url":"https://github.com/dan-t","followers_url":"https://api.github.com/users/dan-t/followers","following_url":"https://api.github.com/users/dan-t/following{/other_user}","gists_url":"https://api.github.com/users/dan-t/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-t/subscriptions","organizations_url":"https://api.github.com/users/dan-t/orgs","repos_url":"https://api.github.com/users/dan-t/repos","events_url":"https://api.github.com/users/dan-t/events{/privacy}","received_events_url":"https://api.github.com/users/dan-t/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T20:13:12Z","updated_at":"2015-06-11T20:13:12Z","body":"There has been a web side comparing the versions of the libraries for each haskell platform. But\r\nI can't recall where it was."}}