| Age | Commit message (Collapse) | Author |
|
|
|
|
|
* The github mirror of propellor's git repository has been removed,
since github's terms of service has started imposing unwanted licensing
requirements.
* propellor --init: The option to clone propellor's git repository
used to use the github mirror, and has been changed to use a different
mirror.
|
|
|
|
* 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.
|
|
* Added ConfigurableValue type class, for values that can be used in a
config file, or to otherwise configure a program.
* The val function converts such values to String.
This was motivated by the bug caused by type Port = Int changing to
newtype Port = Port Int deriving Show
After that change, some things that used show port to generate config
files were broken. By using the ConfigurableValue type class instead,
such breakage can be prevented.
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
* Arch Linux is now supported by Propellor!
Thanks to Zihao Wang for this port.
* Added Propellor.Property.Pacman for Arch's package manager.
Maintained by Zihao Wang.
* The types of some properties changed; eg from Property DebianLike
to Property (DebianLike + ArchLinux). This could require updates
to code using those properties, so is a minor API change.
|
|
* Added Apt.suiteAvailablePinned, Apt.pinnedTo.
Thanks, Sean Whitton.
* Added File.containsBlock
Thanks, Sean Whitton.
|
|
generate good filenames for config directories.
spwhitton has a branch that could use this, and there are several places
in propellor that do something ad-hoc that would have been better
implemented using this. I was not able to switch any of the existing
ad-hoc stuff, but this can be used going forward for new stuff.
This commit was sponsored by Anthony DeRobertis on Patreon.
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit fa974cfaaac31b25ae911b5e970507d0589e567b.
That broke merging from /usr/src/propellor
|
|
Hope this makes it eaiser for spwhitton.
Thought about deleting the whole debian directory from upstream, but
Propellor.Bootstrap has a not referencing debian/control and maybe there
is value in new dependencies being added to both places in tandem?
|
|
|
|
which prevented non-root users from doing anything in the chroot.
|
|
configuration in the current directory, rather than ~/.propellor/config.hs
The config,hs name now seems a bit badly chosen, propellor.hs would be less
ambiguous. To avoid accidentially running with a config.hs for something
else, the file content has to contain "Propellor".
Note that checkRepoUpToDate is only run for ~/.propellor/. I guess
propellor configs in other directories won't have been set up that way,
and it would take some changes to make that not hardcode use of
dotPropellor.
There's a new security boundary here, since running propellor looks at the
cwd, whose contents might not be user the user's control. The security
checks I added for this seem pretty good, but even if they can be bypassed,
this is not much different than `make` using the Makefile in cwd.
This commit was sponsored by Ole-Morten Duesund on Patreon.
|
|
|
|
|
|
|
|
Only a couple of the constraints were really redundant. The rest are
essential to propellor's tracking of Info propigation, so I silenced the
warning for those.
It would be better to only silence the warning for the functions with the
extra constraints, but IIRC warnings can only be silenced on an entire file
basis.
This commit was sponsored by Andreas on Patreon.
|
|
|
|
|
|
|
|
debootstrap. Thanks, mithrandi.
This commit was sponsored by Jake Vosloo on Patreon.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
available immedaitely after configuring tor; avoid ugly error in this case.
|
|
|
|
|
|
|
|
|
|
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.
|