Open philderbeast opened 1 day ago
Interestingly enough, PackageDescription
allows more SourceRepos
:
I wonder whether there is a legitimate use-case for multiple repos.
It's pretty clear to me that at least two should be allowed, as long one is head
and one is this
(not that I think it's a great idea to have both). If we could emit a soft warning on the repetitive head
or this
, that would be an (admittedly slight) improvement.
Can we have
cabal check
warn if there is more than onesource-repository head
or more than onesource-repository this
stanza?I ran a quick
cabal check
and we can have as manysource-repository
stanza as we please. The following passescabal check
;Originally posted by @philderbeast in https://github.com/haskell/cabal/issues/9655#issuecomment-1907990554