{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/3381","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/3381/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/3381/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/3381/events","html_url":"https://github.com/haskell/cabal/pull/3381","id":151205565,"number":3381,"title":"Move most solver code to new module namespace","user":{"login":"BardurArantsson","id":459138,"avatar_url":"https://avatars.githubusercontent.com/u/459138?v=3","gravatar_id":"","url":"https://api.github.com/users/BardurArantsson","html_url":"https://github.com/BardurArantsson","followers_url":"https://api.github.com/users/BardurArantsson/followers","following_url":"https://api.github.com/users/BardurArantsson/following{/other_user}","gists_url":"https://api.github.com/users/BardurArantsson/gists{/gist_id}","starred_url":"https://api.github.com/users/BardurArantsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BardurArantsson/subscriptions","organizations_url":"https://api.github.com/users/BardurArantsson/orgs","repos_url":"https://api.github.com/users/BardurArantsson/repos","events_url":"https://api.github.com/users/BardurArantsson/events{/privacy}","received_events_url":"https://api.github.com/users/BardurArantsson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell/cabal/labels/solver","name":"solver","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"kosmikus","id":293191,"avatar_url":"https://avatars.githubusercontent.com/u/293191?v=3","gravatar_id":"","url":"https://api.github.com/users/kosmikus","html_url":"https://github.com/kosmikus","followers_url":"https://api.github.com/users/kosmikus/followers","following_url":"https://api.github.com/users/kosmikus/following{/other_user}","gists_url":"https://api.github.com/users/kosmikus/gists{/gist_id}","starred_url":"https://api.github.com/users/kosmikus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosmikus/subscriptions","organizations_url":"https://api.github.com/users/kosmikus/orgs","repos_url":"https://api.github.com/users/kosmikus/repos","events_url":"https://api.github.com/users/kosmikus/events{/privacy}","received_events_url":"https://api.github.com/users/kosmikus/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2016-04-26T18:24:23Z","updated_at":"2016-04-27T18:36:48Z","closed_at":"2016-04-27T14:37:57Z","pull_request":{"url":"https://api.github.com/repos/haskell/cabal/pulls/3381","html_url":"https://github.com/haskell/cabal/pull/3381","diff_url":"https://github.com/haskell/cabal/pull/3381.diff","patch_url":"https://github.com/haskell/cabal/pull/3381.patch"},"body":"---\r\n\r\nThis *should* basically be good to go as the first step in moving all the solver bits to a separate namespace. There are a few types left in `Client.Dependency.Types` -- I'll submit a follow-up for those sometime during the week if we can get this PR merged.\r\n\r\n~~I'm anxious to get this merged before 1.24.x if possible because a) it's generally pretty conflict-prone even though it's trivial code movement, and b) so that we don't spurious conflicts if we're going to cherry-pick bits from master into 1.24.x following 1.24.0.~~ (EDIT: Nevermind that, I don't think it's really feasible unless loads of other stuff from master gets merged.)\r\n\r\nI've elected to move some type definitions into smaller modules under `Client.Solver.Types`. This means:\r\n\r\n- The \"turn off orphan warnings\" pragma covers a lot less code.\r\n- Each of those modules has a lot less \"noise\" (unused imports, intermingling with unrelated types/instances, etc.)\r\n- Mostly no need to use explicit import lists at use sites."},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/215185436","html_url":"https://github.com/haskell/cabal/pull/3381#issuecomment-215185436","issue_url":"https://api.github.com/repos/haskell/cabal/issues/3381","id":215185436,"user":{"login":"BardurArantsson","id":459138,"avatar_url":"https://avatars.githubusercontent.com/u/459138?v=3","gravatar_id":"","url":"https://api.github.com/users/BardurArantsson","html_url":"https://github.com/BardurArantsson","followers_url":"https://api.github.com/users/BardurArantsson/followers","following_url":"https://api.github.com/users/BardurArantsson/following{/other_user}","gists_url":"https://api.github.com/users/BardurArantsson/gists{/gist_id}","starred_url":"https://api.github.com/users/BardurArantsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BardurArantsson/subscriptions","organizations_url":"https://api.github.com/users/BardurArantsson/orgs","repos_url":"https://api.github.com/users/BardurArantsson/repos","events_url":"https://api.github.com/users/BardurArantsson/events{/privacy}","received_events_url":"https://api.github.com/users/BardurArantsson/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T18:36:48Z","updated_at":"2016-04-27T18:36:48Z","body":"@kosmikus NP. (Sure, it's been a bit frustrating, but such is the nature of \"Big Bang\" changes.)"}}