summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Ccache.hs
AgeCommit message (Collapse)Author
2019-04-01Added Utility.FileMode to the modules exported by Propellor.UtilitiesJoey Hess
Since File.mode uses FileMode, it seems it ought to be exported by propellor somewhere. I don't want to make propellor Property modules themselves export core data types though, so this is a compromise of dubious utility.
2018-04-30fix broken SemigroupMonoid transition <<loop>>Joey Hess
Turns out that with ghc 8.2.2, the instructions given on the page don't work. And the cppless variant that I had compiles, but into effectively mappend = mappend so it loops. The only way I can see to make it work without cpp is to use mappend = (Sem.<>) which is ugly and a land mine waiting to explode if someone changes it to a nicer mappend = (<>) with a newer version of ghc which will compile it and work ok, while breaking it with 8.2.2. Sigh. I posted to haskell-cafe about this.
2018-04-23semigroup monoid change fallout; drop ghc 7 supportJoey Hess
Fix build with ghc 8.4, which broke due to the Semigroup Monoid change. See https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid Dropped support for building propellor with ghc 7 (as in debian oldstable), to avoid needing to depend on the semigroups transitional package, but also because it's just too old to be worth supporting. If we indeed drop ghc 7 support entirely, some code to support "jessie" can be removed; concurrent-output can be de-embedded, and the Singletons code can be simplified. This commit was sponsored by Jack Hill on Patreon.
2017-02-26use val instead of showJoey Hess
2016-06-23fix Ccache.hs haddockSean Whitton
The Hackage API docs for the 3.1.0 release of propellor failed to build due to my use of '^' in a comment in Ccache.hs.
2016-06-21fix permissions of ccache on upgrade from 3.0.5Sean Whitton
2016-06-19Ccache.hasCache chmods cache root setgidSean Whitton
This should fix <http://propellor.branchable.com/forum/Bug_with_Sbuild/>. Thank you to Fred Picca for reporting and then also finding a fix for the problem.
2016-06-13sequencing errorMessage is pointlessJoey Hess
It throws an error, so only the first error would be shown. Instead, display them all.
2016-05-23more consistent layout in exampleJoey Hess
2016-05-22changesFile -> changesFileContentSean Whitton
2016-05-22rm dummy descSean Whitton
2016-05-22don't invoke ccache with no paramsSean Whitton
2016-05-22hasLimits requires installedSean Whitton
2016-05-22consistencySean Whitton
2016-05-22property to set the limits filled outSean Whitton
2016-05-22start reworking Ccache.Limit to Utility.DataSizeSean Whitton
2016-05-22hasGroupCache -> hasCacheSean Whitton
I was originally thinking that the name `Ccache.hasCache` might be for a property `User -> Property DebianLike`. However, someone wanted to write a property configuring a user cache, it would probably have the standard location `~/.ccache`. This cache would be implicitly created when required, so the name `Ccache.hasCache` would be needed.
2016-05-21descsSean Whitton
2016-05-21update Sbuild.hs for new Ccache.hsSean Whitton
2016-05-21generalise setting limit on ccacheSean Whitton
2016-05-19add Ccache.hsSean Whitton