Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package shake for openSUSE:Factory checked in at 2021-09-10 23:41:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/shake (Old) and /work/SRC/openSUSE:Factory/.shake.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "shake" Fri Sep 10 23:41:21 2021 rev:7 rq:917514 version:0.19.6 Changes: -------- --- /work/SRC/openSUSE:Factory/shake/shake.changes 2021-08-25 20:58:31.437136321 +0200 +++ /work/SRC/openSUSE:Factory/.shake.new.1899/shake.changes 2021-09-10 23:41:43.426585720 +0200 @@ -1,0 +2,7 @@ +Wed Sep 8 08:11:07 UTC 2021 - [email protected] + +- Update shake to version 0.19.6. + 0.19.6, released 2021-09-07 + #810, don't hash files in &%> if you don't have to + +------------------------------------------------------------------- Old: ---- shake-0.19.5.tar.gz New: ---- shake-0.19.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ shake.spec ++++++ --- /var/tmp/diff_new_pack.L3w8Hq/_old 2021-09-10 23:41:43.894586218 +0200 +++ /var/tmp/diff_new_pack.L3w8Hq/_new 2021-09-10 23:41:43.894586218 +0200 @@ -19,7 +19,7 @@ %global pkg_name shake %bcond_with tests Name: %{pkg_name} -Version: 0.19.5 +Version: 0.19.6 Release: 0 Summary: Build system library, like Make, but more accurate dependencies License: BSD-3-Clause ++++++ shake-0.19.5.tar.gz -> shake-0.19.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shake-0.19.5/CHANGES.txt new/shake-0.19.6/CHANGES.txt --- old/shake-0.19.5/CHANGES.txt 2001-09-09 03:46:40.000000000 +0200 +++ new/shake-0.19.6/CHANGES.txt 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,7 @@ Changelog for Shake (* = breaking change) +0.19.6, released 2021-09-07 + #810, don't hash files in &%> if you don't have to 0.19.5, released 2021-07-04 #807, fix space leak in Database module #796, fix a bug with newCache dependencies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shake-0.19.5/shake.cabal new/shake-0.19.6/shake.cabal --- old/shake-0.19.5/shake.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/shake-0.19.6/shake.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,7 +1,7 @@ cabal-version: 1.18 build-type: Simple name: shake -version: 0.19.5 +version: 0.19.6 license: BSD3 license-file: LICENSE category: Development, Shake diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shake-0.19.5/src/Development/Shake/Internal/Core/Action.hs new/shake-0.19.6/src/Development/Shake/Internal/Core/Action.hs --- old/shake-0.19.5/src/Development/Shake/Internal/Core/Action.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/shake-0.19.6/src/Development/Shake/Internal/Core/Action.hs 2001-09-09 03:46:40.000000000 +0200 @@ -99,15 +99,20 @@ pure res -- | If an exception is raised by the 'Action', perform some 'IO' then reraise the exception. +-- This function is implemented using 'actionBracket'. actionOnException :: Action a -> IO b -> Action a actionOnException act free = actionBracketEx False (pure ()) (const free) (const act) -- | After an 'Action', perform some 'IO', even if there is an exception. +-- This function is implemented using 'actionBracket'. actionFinally :: Action a -> IO b -> Action a actionFinally act free = actionBracket (pure ()) (const free) (const act) --- | Like `bracket`, but where the inner operation is of type 'Action'. Usually used as +-- | Like 'bracket', but where the inner operation is of type 'Action'. Usually used as -- @'actionBracket' alloc free use@. +-- +-- The @free@ action will be run masked. The cost of 'actionBracket' is _O(n log n)_ +-- in the number of simultaneous 'actionBracket' calls active in the program. actionBracket :: IO a -> (a -> IO b) -> (a -> Action c) -> Action c actionBracket = actionBracketEx True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shake-0.19.5/src/Development/Shake/Internal/Rules/Files.hs new/shake-0.19.6/src/Development/Shake/Internal/Rules/Files.hs --- old/shake-0.19.5/src/Development/Shake/Internal/Rules/Files.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/shake-0.19.6/src/Development/Shake/Internal/Rules/Files.hs 2001-09-09 03:46:40.000000000 +0200 @@ -119,7 +119,9 @@ case v of Just v -> case filesEqualValue opts old v of NotEqual -> rebuild - EqualCheap -> pure $ RunResult ChangedNothing (fromJust o) v + -- See #810, important we pass old (which can be cheaply evaluated) + -- and not v, which might have some lazily-evaluated file hashes in + EqualCheap -> pure $ RunResult ChangedNothing (fromJust o) old EqualExpensive -> pure $ RunResult ChangedStore (runBuilder $ putEx $ Result ver v) v Nothing -> rebuild _ -> rebuild
