packages feed

iridium 0.1.5.1 → 0.1.5.2

raw patch · 5 files changed

+34/−17 lines, 5 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,8 +1,13 @@ # Revision history for iridium +## 0.1.5.2  -- 2016-03-11++  * Improve stackage upper-bound check error output+ ## 0.1.5.1  -- 2016-03-11    * Fix iridium package pvp compliance (lower bounds)+  * First hackage release  ## 0.1.5.0  -- 2016-03-11 
README.md view
@@ -20,6 +20,12 @@  - Uploading of both the package itself and the documentation. +iridium does all testing locally, in contrast to e.g. github's travis. ++The output on errors is certainly not optimal; for example the stackage+upper bound checking will print a typical, hard-to-consume cabal hell error+message. iridium's aim is only to note _if_ something is wrong.+ # Usage  Install iridium, run iridium in the directory containing the cabal package.@@ -27,28 +33,31 @@  ~~~~ $ iridium-Checking compilation and tests with different compiler versions+Checking compilation with different compiler versions   Checking with compiler ghc-7.8.4:                                   clear.-  Checking with compiler ghc-7.10.3:                                  clear. Checking upper bounds using stackage:                                 clear. Checking documentation:                                               clear. Checking basic compilation:                                           clear.-Checking that all dependencies have upper bounds:                     clear.+Checking that all dependencies have a lower bound:                    clear.+Checking that all dependencies have an upper bound:                   clear. Checking package validity:                                            clear.+Testing the source distribution package:                              clear.+Testing if the changelog mentions the latest version:                 clear. Comparing local version to hackage version:                           clear. [git]   Testing for uncommitted changes:                                    clear. Summary:-  Package:         iridium-  Version:         0.1.2.0-  Warning count:   0-  Error   count:   0-  Not -Wall clean:+  Package:                iridium+  Version:                0.1.5.1+  Warning count:          0+  Error   count:          0+  Not -Wall clean:        []   [git]-    Branch:        master--  Actions:         Upload package, Upload documentation-+    Branch:               master+  Actions:                Tag the current commit with "0.1.5.1"+                          Push current branch and tag to upstream repo+                          Upload package+                          Upload documentation > Continue [y]es [n]o? > y Performing upload.. Building source dist for iridium-0.1.2.0...@@ -80,6 +89,9 @@ | hlint | `forM_ hs-source-dirs $ \dir -> (\dir -> call "hlint " ++ dir)` | | testsuites | run `cabal test` when compiling. | | upper-bounds-stackage | Check that upper bounds are up-to-date by using a stackage cabal.config. This is not the best way, because not all packages are on stackage, but it is better than nothing. |-| upper-bounds-exist | Check that all dependencies have upper bounds. (You _do_ want to conform with the PVP, right?) |+| lower-bounds-exist | Check that all dependencies have a lower bound. |+| upper-bounds-exist | Check that all dependencies have an upper bound. (You _do_ want to conform with the PVP, right?) | | documentation | Check that haddocks can be created without problems (calling `cabal haddock`). | | changelog | Check if the changelog mentions (contains) the latest version. |+| package-sdist | Check that all necessary stuff is contained in the source distribution by installing the packaged package. |+| compiler-versions | Compile and run tests for several compiler versions (other than the default compiler on $PATH). |
data/default-iridium.yaml view
@@ -79,9 +79,9 @@     enabled: False     use-nightly: False     # blacklist: [omit, check, for, these, packages] # not supported yet-  upper-bounds-exist:-    enabled: True   lower-bounds-exist:+    enabled: True+  upper-bounds-exist:     enabled: True   changelog:     enabled: True
iridium.cabal view
@@ -1,5 +1,5 @@ name:                iridium-version:             0.1.5.1+version:             0.1.5.2 synopsis:            Automated Testing and Package Uploading license:             BSD3 license-file:        LICENSE
src/Development/Iridium/Checks.hs view
@@ -415,7 +415,7 @@             liftIO $ Text.IO.writeFile (encodeString cabalConfigPath) (Text.unlines filteredLines)             let testsArg = ["--enable-tests" | testsEnabled]             runCommandSuccessCabal ["clean"]-            runCommandSuccessCabal $ ["install", "--dep", "--force-reinstalls", "--dry-run"] ++ testsArg+            runCommandSuccessCabal $ ["--no-require-sandbox", "--ignore-sandbox", "install", "--dep", "--global", "--dry-run"] ++ testsArg           pushLog LogLevelInfo $ "Cleanup (cabal.config)"           unless alreadyExists $ Turtle.rm cabalConfigPath           when alreadyExists $ Turtle.mv cabalConfigBackupPath cabalConfigPath