b9 0.5.3 → 0.5.4
raw patch · 3 files changed
+6/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- b9.cabal +1/−1
- src/lib/B9/B9Monad.hs +2/−1
- src/lib/B9/Builder.hs +3/−0
b9.cabal view
@@ -1,5 +1,5 @@ name: b9-version: 0.5.3+version: 0.5.4 synopsis: A tool and library for building virtual machine images.
src/lib/B9/B9Monad.hs view
@@ -59,8 +59,9 @@ where run' buildId now buildDir = do+ maybe (return ()) setCurrentDirectory (buildDirRoot cfg) -- Check repositories- repoCache <- initRepoCache (maybe defaultRepositoryCache id (repositoryCache cfg))+ repoCache <- initRepoCache (fromMaybe defaultRepositoryCache (repositoryCache cfg)) let remoteRepos = getConfiguredRemoteRepos cfgParser remoteRepos' <- mapM (initRemoteRepo repoCache) remoteRepos let ctx = BuildState
src/lib/B9/Builder.hs view
@@ -28,6 +28,8 @@ import Data.Monoid import Text.Printf ( printf ) import Text.Show.Pretty (ppShow)+import Control.Monad.IO.Class+import System.Directory import B9.B9Monad import B9.ConfigUtils@@ -55,6 +57,7 @@ buildArtifacts artifactGenerator cfgParser cliCfg = withB9Config cfgParser cliCfg $ \cfg -> run cfgParser cfg $ do+ traceL =<< liftIO getCurrentDirectory infoL "BUILDING ARTIFACTS" getConfig >>= traceL . printf "USING BUILD CONFIGURATION: %v" . ppShow assemble artifactGenerator