summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Sbuild.hs
AgeCommit message (Collapse)Author
2019-07-16update from Stable "stretch" to Stable "buster" in some examplesJoey Hess
2019-04-18wordingJoey Hess
To me, "standardly" seemed to imply the property might be included by default, but it is not.
2019-04-03Sbuild.built applies Localdir.removed to schrootsSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
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.
2019-04-01sbuild: break Apt.stdSourcesList out of Sbuilt.builtSean Whitton
Apt.stdSourcesList supports only Debian, so having it inside Sbuilt.built was blocking using Sbuild.built with non-Debian schroots. Note that we cannot break out the installation of eatmydata and ccache, because Sbuild.built assumes that those are available in the schroot config files that it writes out. This is a minimal fix. If it becomes clear that there are properties which would be wanted in every Buntish schroot, say, we might replace Sbuild.osDebianStandard with an Sbuild.standard property which uses pickOS to install the right set of properties. Reported-by: David Bremner <david@tethera.net> Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2017-12-23Sbuild: add notes about Debian jessie hosts and backportsSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2017-11-20prevent Sbuilt.useHostProxy from looping by not peeking too earlyJoey Hess
2017-11-19shorten output when destroying a schroot, tooSean Whitton
2017-11-19slightly improve readability of sample usageSean Whitton
2017-11-18insert missing call to aliasesLineSean Whitton
2017-11-18propertyList -> combineProperties to reduce noiseSean Whitton
2017-11-18fix name shadowing in Sbuild.useHostProxySean Whitton
2017-11-18export Sbuild.useHostProxySean Whitton
2017-11-18resolve TODO regarding suggested Sbuild usageSean Whitton
2017-11-18implement Sbuild.useHostProxySean Whitton
2017-11-18stop automatically setting up a proxy in the sbuild chrootSean Whitton
Instead, provide a property to let the user tell propellor to propagate the host's proxy into the chroot. This makes it easy to toggle on and off and lets the user explicitly specify how they want the chroot's proxy setup to work.
2017-11-13conditionalise union-type = overlaySean Whitton
2017-11-13emit an error when property is reverted, tooSean Whitton
Thanks Joey!
2017-11-12fail when schroot doesn't specify suite and/or archSean Whitton
2017-11-11fix redundant imports & a redundant qualificationSean Whitton
2017-11-11fix name shadowingSean Whitton
2017-11-11prepend user props to schroot propertiesSean Whitton
2017-11-11fix type errorsSean Whitton
2017-10-28wip: convert sbuild module to bypass sbuild-createchroot(1)Sean Whitton
2017-10-28replace Sbuild.installedSean Whitton
For most properties in this module we need more than just sbuild installed, so factor that out into a single property. Stop exporting this property as less generally useful.
2017-10-28update sbuild module docs in prep. for refactoringSean Whitton
2017-10-19Use isUnpopulated when creating a chroot or restoring a backupignore-lost-n-foundNicolas Schodet
2017-08-01fix typesSean Whitton
2017-08-01add Sbuild.userConfig, at Joey's suggestionSean Whitton
2017-08-01drop --fail-on-broken-symlinks from sample .sbuildrcSean Whitton
Too many false positives.
2017-08-01drop $run_* from sample .sbuildrcSean Whitton
This is a config file snippet, not a full config, and the user probably wants to set $run_* variables themselves.
2017-07-15add installing lintian to sample sbuild configSean Whitton
If the user has installed the sample .sbuildrc in /root, sbuild-createchroot will error out unless lintian is installed.
2017-07-15fix ordering of arguments to piuparts in sample .sbuildrcSean Whitton
2017-07-15assume cleanup property did nothingSean Whitton
2017-07-15ensure that cleaning up doesn't fail if nothing to clean upSean Whitton
2017-07-15factor out a 'return'Sean Whitton
2017-07-15commentSean Whitton
2017-07-15tweak sbuild haddockSean Whitton
Don't suggest enabling an apt cacher by running propellor inside the schroot, since we now have Apt.proxy.
2017-07-15sbuild properties set up an apt cache or use existing apt proxySean Whitton
2017-07-15drop Apt.piupartsConf, Apt.piupartsConfFor, Apt.shareAptCacheSean Whitton
Migrating to use apt-cacher-ng instead of bind mounting the apt cache. This will permit multiple builds to run simultaneously.
2017-05-15Removed dependency on MissingH, instead depends on split and hashable.Joey Hess
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.
2017-03-19shorten names of mirror propertiesSean Whitton
2017-03-19sbuild: use Apt.withHostMirrorSean Whitton
2017-02-26use ConfigurableValue where applicableJoey Hess
* 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.
2017-02-13deb.debian.orgJoey Hess
* 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.
2016-09-05Sbuild.built: ccache usage now toggleableSean Whitton
2016-09-05piupartsConf{,For} doesn't require Sbuild.builtSean Whitton
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.
2016-09-05add UNRELEASED-arch-piuparts alias for dgitSean Whitton
2016-09-05factor out code to check host archSean Whitton
2016-09-05add UNRELEASED-arch-sbuild alias for dgitSean Whitton