summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
AgeCommit message (Collapse)Author
2020-08-22Borg: use --umask after command for old borg versionsborg-umaskNicolas Schodet
2020-08-22Borg: add UseUmaskNicolas Schodet
2020-08-22Borg: use borg date formater instead of $(date ...)Nicolas Schodet
2020-08-14remove redundant importJoey Hess
new ghc is better at spotting these
2020-08-14Merge remote-tracking branch 'nicolas/borg-fixes'Joey Hess
2020-08-10Borg: handle old borg versions and issue a warning if no archive is foundborg-fixesNicolas Schodet
The --last and --glob-archive options need borg version 1.1. Stop using these options and do the filtering in haskell. This had the side benefit of having better checkpoint filtering. Also issue a warning in case no archive is found.
2020-08-10Borg: fix restorationNicolas Schodet
When using borg extract, the result is extracted in the current directory. Also an archive name must be provided, so use the latest archive.
2020-08-10Borg.init: add the now required encryption type parameterNicolas Schodet
The encryption type is now a required parameter when creating a repository. Unless you use no encryption, you must provide the repository passphrase, for example: withPrivData (Password "backups") (Context "borg") $ \getdata -> property' "borg repo" $ \w -> getdata $ \privdata -> ensureProperty w $ Borg.init (Borg.BorgRepoUsing [Borg.UsesEnvVar ("BORG_PASSPHRASE", privDataVal privdata)] "/path/to/backups") Borg.BorgEncKeyfile
2020-07-04improve horrible lstree parserJoey Hess
2020-07-04more quotingJoey Hess
2020-07-04better approach for finding hub port that works when port is powered offJoey Hess
2020-07-04Revert "be robust against hub location id changes"Joey Hess
This reverts commit 70e503e724c3c8cb4312cd128535afc1e06c84a8. Bad approach because the device vendor and id are not visible when the port is turned off.
2020-07-04one moreJoey Hess
2020-07-04more fixquotingJoey Hess
2020-07-04fix shell quotingJoey Hess
2020-07-04be robust against hub location id changesJoey Hess
2020-05-01Apt.buildDepIn: Run build-dep command in a temporary directory, since it may ↵Joey Hess
sometimes not clean up all the files it creates.
2020-05-01Merge branch 'master' into joeyconfigJoey Hess
2020-04-06propellor spinJoey Hess
2020-04-02-v is version not vendorJoey Hess
2020-04-02automount passportJoey Hess
2020-04-02--location does not work with all versions, use -lJoey Hess
2020-04-01specify which hub as there are two connected nowJoey Hess
2020-02-25Allow building with GHC 8.8Robin Munn
2020-02-16Merge branch 'joeyconfig'Joey Hess
2020-02-14add my user ssh key on honeybeeJoey Hess
2020-02-14Merge branch 'joeyconfig'Joey Hess
2020-02-14add back old keys for branchableJoey Hess
Otherwise ssh servers that only know of the old keys will complain of MITM
2020-02-14remove deprecated ssh key algos from my personal configsJoey Hess
DSA is entirely deprecated, while RSA is just starting to be deprecated Generated and added new keys as necessary. Still a few stragglers on machines I can't currently access (sow and beaver).
2019-11-15Merge branch 'joeyconfig'Joey Hess
2019-11-13improve haddocksJoey Hess
particularly, remove @conf@ reference as that variable name is not visible in the haddock docs unless source is viewed. Also tightened up the language and linkified more, and fixed a typo in the name of Debootstrapped.
2019-11-13remove horizontal alignmentJoey Hess
2019-11-13minor style tweakJoey Hess
I'm not fond of the foo . bar $ v construct, not entirely sure why.
2019-11-13move Sbuild.useHostProxy -> Chroot.useHostProxySean Whitton
Now that the apt proxy is respected by Chroot.debootstrapped, users will probably want to apply useHostProxy to more chroots than just sbuild schroots. Unfortunately, we can't have a corresponding Chroot.useHostMirror property, because the only sensible way to set the chroot's apt mirror is to use the Apt.mirror pure info property, but we can't ensure properties with info. Suggested-by: Joey Hess <id@joeyh.name> Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2019-11-13Chroot.debootstrapped: respect chroot's Apt.proxy and Apt.mirrorSean Whitton
Closes: https://propellor.branchable.com/todo/Debootstrap_module_should_respect_a_configured_Apt.proxy/ Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2019-11-11Changed the ChrootBootstrapper type class's buildchroot method to take a ↵Joey Hess
Info parameter, instead of Maybe System. The System can be extracted from the Info; this also allows the chroot's Info to be introspected for eg, the apt mirror. (API change)
2019-10-08Merge branch 'master' into joeyconfigJoey Hess
2019-10-08propellor spinJoey Hess
2019-09-22changed modbus libraryJoey Hess
2019-09-21Merge branch 'joeyconfig'Joey Hess
2019-09-19replaced failed wifi dongleJoey Hess
was dropping out, appears corroded inside
2019-09-16Merge branch 'joeyconfig'Joey Hess
2019-09-13updateJoey Hess
2019-09-07propellor spinJoey Hess
2019-08-08Localdir.hasOriginUrl: Depend on Git.installed.Joey Hess
* Localdir.hasOriginUrl: Depend on Git.installed. * Localdir.hasOriginUrl: Type changed from UnixLike to DebianLike because Git.installed is not implemented for other unixes. (API change) This commit was sponsored by Denis Dzyubenko on Patreon.
2019-07-19propellor spinJoey Hess
2019-07-16Systemd.machined: Fix a bug that caused the systemd-container package to not ↵Joey Hess
be installed when used with Debian buster. jessie (oldoldstable) is the only still supported release to have a systemd from before the systemd-container package was split out.
2019-07-16update from Stable "stretch" to Stable "buster" in some examplesJoey Hess
2019-07-16Apt.update: Pass --allow-releaseinfo-change when updating Unstable or TestingJoey Hess
So that code name changes that happen in those suites during a stable release don't prevent updating the rolling suites.
2019-07-16use security.debian.org/debian-securityJoey Hess
There's supposed to be a /debian-security path in the url, according to various sources, including https://www.debian.org/security/ I tried it both ways for both stable and testing and oldstable, and it works with and without it for both. Presumably some url rewriting is fixing it up on the back end.