
Manuel M T Chakravarty wrote:
An automated system would be cool, but it'd require some effort to set up. In the meantime, we should probably go with SimonM's proposal and just make GHC use a subset-branch of the main Cabal repo. Pulling changes over into GHC's Cabal branch would be a manual process, which would involve running validate. Especially, if, as you wrote, you guys are currently looking at breaking changes, that would be fairly urgent. I'd rather not have another round of the GHC build breaking every week.
I've just made GHC's Cabal into a branch. The main Cabal repo is http://darcs.haskell.org/cabal and GHC's branch is http://darcs.haskell.org/packages/Cabal (the latter used to be a symbolic link to the former, now they're separate repos). Can Cabal developers check that they're using the main Cabal repo when pushing, please? Cheers, Simon

On Wed, Aug 08, 2007 at 04:19:29PM +0100, Simon Marlow wrote:
I've just made GHC's Cabal into a branch.
FWIW I think this is a mistake. It'll make changing Cabal as part of changes to the larger system harder, and increases the global amount of effort necessary. Also, I think Cabal patches would benefit from being checked with GHC's testsuite. I don't think that Duncan's argument that requiring validation of Cabal patches would hamper new developers is valid, as their patches will always be being applied by someone like Duncan, who could do the validation. Thanks Ian

Ian Lynagh wrote:
On Wed, Aug 08, 2007 at 04:19:29PM +0100, Simon Marlow wrote:
I've just made GHC's Cabal into a branch.
FWIW I think this is a mistake. It'll make changing Cabal as part of changes to the larger system harder, and increases the global amount of effort necessary.
Also, I think Cabal patches would benefit from being checked with GHC's testsuite.
I don't think that Duncan's argument that requiring validation of Cabal patches would hamper new developers is valid, as their patches will always be being applied by someone like Duncan, who could do the validation.
I'm not especially keen on having another branch either, but the alternative is that patches to Cabal must pass GHC's validate before being pushed, and that puts the burden on the Cabal developers to fix GHC and the core packages when breaking changes are made to Cabal - that doesn't seem right. OTOH it's true that the GHC build is a good testcase for Cabal (it looks like Cabal is broken right now, and testing with GHC would have discovered that). Duncan, any thoughts? Do you prefer the branch, or would you be happy to run GHC's validate before pushing to Cabal? This would affect people like Ross who push directly to Cabal too. Cheers, Simon

On Thu, 2007-08-09 at 09:07 +0100, Simon Marlow wrote:
Duncan, any thoughts? Do you prefer the branch, or would you be happy to run GHC's validate before pushing to Cabal?
I think at the moment it's an advantage to get contributed changes in and shared quicker. The balance may well change later and we could move to using validate. Duncan
participants (3)
-
Duncan Coutts
-
Ian Lynagh
-
Simon Marlow