Refactor installLocalPackage and installRepoPackages They share most code so pull the first and last bits out into the top level install function. They now need 2 and 3 fewer params respectively, which is a good sign. Rename them because they're generating plans now rather than doing the installation directly.
Refactor installLocalPackage and installRepoPackages
They share most code so pull the first and last bits out into the
top level install function. They now need 2 and 3 fewer params
respectively, which is a good sign. Rename them because they're
generating plans now rather than doing the installation directly.

eric-stanley/cabal,eric-stanley/cabal,christiaanb/cabal,kosmikus/cabal,mightybyte/cabal,typelead/epm,gridaphobe/cabal,lukexi/cabal,ghc-android/cabal,thoughtpolice/cabal,sopvop/cabal,Helkafen/cabal,Helkafen/cabal,corngood/cabal,seereason/cabal,mmakowski/cabal,martinvlk/cabal,themoritz/cabal,trskop/cabal,fugyk/cabal,triplepointfive/cabal,gbaz/cabal,headprogrammingczar/cabal,valderman/cabal,x-y-z/cabal,randen/cabal,fpco/cabal,gridaphobe/cabal,mydaum/cabal,kolmodin/cabal,Peaker/cabal,ghc-android/cabal,mmakowski/cabal,rimmington/cabal,ian-ross/cabal,anton-dessiatov/cabal,garetxe/cabal,mightybyte/cabal,corngood/cabal,beni55/cabal,rimmington/cabal,valderman/cabal,bennofs/cabal,thomie/cabal,bennofs/cabal,mydaum/cabal,headprogrammingczar/cabal,thoughtpolice/cabal,triplepointfive/cabal,martinvlk/cabal,Peaker/cabal,garetxe/cabal,Heather/cabal,x-y-z/cabal,ian-ross/cabal,Heather/cabal,themoritz/cabal,sopvop/cabal,edsko/cabal,plow-technologies/cabal,sopvop/cabal,randen/cabal,enolan/cabal,edsko/cabal,anton-dessiatov/cabal,thomie/cabal,plow-technologies/cabal,plumlife/cabal,seereason/cabal,typelead/epm,christiaanb/cabal,kosmikus/cabal,kolmodin/cabal,trskop/cabal,themoritz/cabal,enolan/cabal,lukexi/cabal,fugyk/cabal,beni55/cabal,fpco/cabal,gbaz/cabal,plumlife/cabal