| Age | Commit message (Collapse) | Author |
|
MissingH is a heavy dependency, which pulls in parsec and a bunch of stuff.
So eliminating it makes propellor easier to install and less likely to
fail to build.
changesFileContent now uses hashable's hash. This may not be stable across
upgrades, I'm not sure -- but it's surely ok here, as the hash is not
stored.
socketFile also uses hash. I *think* this is ok, even if it's not stable.
If it's not stable, an upgrade might make propellor hash a hostname to a
different number, but with 9 digets of number in use, the chances of a
collision are small. In any case, I've opned a bug report asking for the
stability to be documented, and I think it's intended to be stable, only
the documentation is bad.
NB: I have not checked that the arch linux and freebsd packages for the new
deps, that Propellor.Bootstrap lists, are the right names or even exist.
Since propellor depends on hashable, it could be changed to use
unordered-containers, rather than containers, which would be faster and
perhaps less deps too.
This commit was sponsored by Alexander Thompson on Patreon.
|
|
|
|
|
|
* Removed fromPort (use val instead). (API change)
* Removed several Show instances that were only used for generating
configuration, replacing with ConfigurableValue instances. (API change)
It's somewhat annoying that IsInfo requires a Show instance.
That's needed to be able to display Info in ghci, but some non-derived Show
instances had to be kept to support that.
|
|
* Apt: Removed the mirrors.kernel.org line from stdSourcesList etc.
The mirror CDN has a new implementation that should avoid the problems
with httpredir that made an extra mirror sometimes be needed.
* Switch Debian CDN address to deb.debian.org.
httpredir.debian.org points to the same IPs as deb.debian.org now, so
this shouldn't change anything except to use the now preferred name.
|
|
|
|
Instead, do nothing if the corresponding schroot config does not yet
exist.
This change is needed because I intend to introduce an additional
parameter to Sbuild.built{,For} in a subsequent commit, and it would
overcomplicate things to make that an item of Info.
|
|
|
|
|
|
|
|
|
|
Previously, they were only ensured when first building the schroot.
|
|
|
|
Building for stretch requires newer sbuild.
|
|
|
|
|
|
This is only needed for building a chroot for squeeze or older, but the
code in Sbuild.built fails to configure a squeeze chroot: eatmydata is
not available, and there are probably other assumptions that break.
|
|
|
|
|
|
|
|
|
|
|
|
This makes Sbuild.keypairInsecurelyGenerated more robust, by handling
several conditions that could cause it to fail.
|
|
This reverts commit cde491e5767caca7bf10bca16d625e713ba24a9b.
|
|
|
|
|
|
|
|
|
|
- Suggest install autopkgtest to get adt-run(1)
- Easier to understand ordering of functions
- Fix hyperlinks to functions
- Using @ around paths containing slashes gets interpreted wrongly
|
|
|
|
|
|
|
|
(cherry picked from commit 3590a1241580ddcdd153e2619a3c02ce18a8db8c
but without the changes to src/Propellor/Precompiled.hs)
|
|
(cherry picked from commit e44ea6c16d84a8f369ae4ca27ff862f8f9844819)
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
File.isCopyOf doesn't work when the first argument doesn't exist yet
|
|
|
|
|
|
Doesn't seem to have the desired effect at present.
|
|
|
|
|