<feed xmlns='http://www.w3.org/2005/Atom'>
<title>propellor/src/Propellor/Property/Hostname.hs, branch master</title>
<subtitle>gnusosa's centralized propellor repository for hosts spin-up.
</subtitle>
<id>https://git.gnusosa.net/propellor/atom?h=master</id>
<link rel='self' href='https://git.gnusosa.net/propellor/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/'/>
<updated>2017-05-16T00:09:31Z</updated>
<entry>
<title>Removed dependency on MissingH, instead depends on split and hashable.</title>
<updated>2017-05-16T00:09:31Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-05-16T00:09:31Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=ba3bd76f4ade7ffeea3c1837f868f5264d284a8c'/>
<id>urn:sha1:ba3bd76f4ade7ffeea3c1837f868f5264d284a8c</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>ported docker</title>
<updated>2016-03-27T01:38:39Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2016-03-27T01:38:39Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=46fc5467e633a9c1f149cb0cd7ee03af1e9e0aa1'/>
<id>urn:sha1:46fc5467e633a9c1f149cb0cd7ee03af1e9e0aa1</id>
<content type='text'>
Also, implemented modifyHostProps to add properties to an existing host.
Using it bypasses some type safety. Its use in docker is safe though.

But, in Conductor, the use of it was not really safe, because it was used
with a DebianLike property. Fixed that by making Ssh.installed
target all unix's, although it will fail on non-DebianLike ones.
</content>
</entry>
<entry>
<title>only write /etc/hosts once, avoiding always returning MadeChange</title>
<updated>2015-12-06T04:51:25Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-12-06T04:51:25Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=fe746525f3efe483d7a50575a325faa88089112c'/>
<id>urn:sha1:fe746525f3efe483d7a50575a325faa88089112c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>UncheckedProperty for cmdProperty et al</title>
<updated>2015-12-05T21:53:16Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-12-05T21:52:43Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=12548bae3d8feecce6a322162d91b827289ae824'/>
<id>urn:sha1:12548bae3d8feecce6a322162d91b827289ae824</id>
<content type='text'>
* Properties that run an arbitrary command, such as cmdProperty
  and scriptProperty are converted to use UncheckedProperty, since
  they cannot tell on their own if the command truely made a change or not.
  (API Change)
  Transition guide:
  - When GHC complains about an UncheckedProperty, add:
  	`assume` MadeChange
  - Since these properties used to always return MadeChange, that
    change is always safe to make.
  - Or, if you know that the command should modifiy a file, use:
  	`changesFile` filename
* A few properties have had their Result improved, for example
  Apt.buldDep and Apt.autoRemove now check if a change was made or not.
</content>
</entry>
<entry>
<title>comments</title>
<updated>2015-10-23T21:37:07Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-10-23T21:37:07Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=883493c2b243db5476a9a09ae9073541cfc5550f'/>
<id>urn:sha1:883493c2b243db5476a9a09ae9073541cfc5550f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Hostname.sane and Hostname.setTo can now safely be used as a property of a chroot, and won't affect the hostname of the host system.</title>
<updated>2015-10-23T21:29:26Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-10-23T21:29:26Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=7f84f196076136252c3d50526ae1805758cf0f2a'/>
<id>urn:sha1:7f84f196076136252c3d50526ae1805758cf0f2a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>HostName: Improve domain extraction code.</title>
<updated>2015-10-23T16:56:38Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-10-23T16:55:41Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=19afb0e0bc079bfde470b5044aefd8c09c7610a4'/>
<id>urn:sha1:19afb0e0bc079bfde470b5044aefd8c09c7610a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>propellor spin</title>
<updated>2015-10-10T18:45:00Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-10-10T18:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=28fe270223ed56ef8e7fd867573b5ba6a5a221c7'/>
<id>urn:sha1:28fe270223ed56ef8e7fd867573b5ba6a5a221c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>GADT properties seem to work (untested)</title>
<updated>2015-01-25T02:38:51Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-01-25T02:38:10Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=0ee04ecc43e047b00437fb660e71f7dd67dd3afc'/>
<id>urn:sha1:0ee04ecc43e047b00437fb660e71f7dd67dd3afc</id>
<content type='text'>
* 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
    (&lt;!&gt;) 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 (&amp;) and (!) operators that are used to build
    up a host's properties.
</content>
</entry>
<entry>
<title>improve haddock formating of filenames</title>
<updated>2014-12-09T18:22:37Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2014-12-09T18:22:37Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=2e2438ae66490a2a00972be16e95f0d9cda2f9ea'/>
<id>urn:sha1:2e2438ae66490a2a00972be16e95f0d9cda2f9ea</id>
<content type='text'>
</content>
</entry>
</feed>
