Closed tchoutri closed 11 months ago
This PR adapts the codebase to be less (or more) hackage-specific in several places:
if | name `Set.member` coreLibraries -> Namespace "haskell" | name `Set.member` repositoryPackages -> Namespace repo | otherwise -> Namespace "hackage"
This allows us to make reasonable decisions in the following cases:
If package A in repository "alt-repo" depends on package B in "hackage", then A is @alt-repo/A and B is @hackage/B.
@alt-repo/A
@hackage/B
If package A in repository "alt-repo" depends on package B in "alt-repo", and B also exists on "hackage", then @alt-repo/A depends on @alt-repo/B.
@alt-repo/B
Proposed changes
This PR adapts the codebase to be less (or more) hackage-specific in several places:
This allows us to make reasonable decisions in the following cases:
If package A in repository "alt-repo" depends on package B in "hackage", then A is
@alt-repo/A
and B is@hackage/B
.If package A in repository "alt-repo" depends on package B in "alt-repo", and B also exists on "hackage", then
@alt-repo/A
depends on@alt-repo/B
.Contributor checklist