| Age | Commit message (Collapse) | Author |
|
To avoid inheriting some problematic environment variables, such as TMP,
from the caller.
The only potential breakage from this change would be if something used
setEnv before one of the affected properties. Audited propellor's source
for that, and nothing does. Anything that did would could fail in a
concurrent context anyway.
|
|
encoding-related crashes in eg, Propellor.Property.File.
|
|
|
|
|
|
(cherry picked from commit 04464ae17a7396d0cafffefc2880e68f40fc42ad)
|
|
(cherry picked from commit 21ffe59d0368f5cfe45316b31d661077e372d512)
|
|
(cherry picked from commit cdd1e093118b5eeab7743be7e2ec959980716145)
|
|
(cherry picked from commit 9712d125a2c3e3c609b68d9958207c251ba005ac)
|
|
(cherry picked from commit 1bb2377598e447e81e20a0e1de1a5d466851d655)
|
|
(cherry picked from commit 7196b884e35ba907891c00d6e2840a36dce2214c)
|
|
|
|
* PrivData converted to newtype (API change).
* Stopped stripping trailing newlines when setting PrivData;
this was previously done to avoid mistakes when pasting eg passwords
with an unwanted newline. Instead, PrivData consumers should use either
privDataLines or privDataVal, to extract respectively lines or a
value (without internal newlines) from PrivData.
|
|
the type UserName = String were changed to use them.
Note that UserName is kept and PrivData still uses it in its sum type.
This is to avoid breaking PrivData serialization.
|
|
* Property has been converted to a GADT, and will be Property NoInfo
or Property HasInfo.
This was done to make sure that ensureProperty is only used on
properties that do not have Info.
Transition guide:
- Change all "Property" to "Property NoInfo" or "Property WithInfo"
(The compiler can tell you if you got it wrong!)
- To construct a RevertableProperty, it is useful to use the new
(<!>) operator
- Constructing a list of properties can be problimatic, since
Property NoInto and Property WithInfo are different types and cannot
appear in the same list. To deal with this, "props" has been added,
and can built up a list of properties of different types,
using the same (&) and (!) operators that are used to build
up a host's properties.
|
|
|
|
|
|
|
|
This is to work around OSX's brain-damange regarding filename case
insensitivity.
Avoided moving config.hs, because it's a config file. Put in a symlink to
make build work.
|