summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18set handles to binary modeJoey Hess
2014-11-18close handlesJoey Hess
2014-11-18debugJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18tweakJoey Hess
2014-11-18better IO loop, with debuggingJoey Hess
2014-11-18use lazy bytestrings so it streamsJoey Hess
2014-11-18get handles right way roungJoey Hess
2014-11-18fix command againJoey Hess
2014-11-18avoid pulling when there is no originJoey Hess
2014-11-18disable always debugJoey Hess
2014-11-18fix protoJoey Hess
2014-11-18typoJoey Hess
2014-11-18temporarily always debugJoey Hess
2014-11-18hook up handlesJoey Hess
2014-11-18run upload-pack, not send-packJoey Hess
we're doing a reverse pull from the client
2014-11-18problem running propellor --gitpushJoey Hess
2014-11-18updteJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18protocol is one line response, not multilineJoey Hess
The privdata is shown, so contains no literal newlines, so that's ok.
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18Nothing means end of protocol, not protocol errorJoey Hess
2014-11-18refactorJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18reorgJoey Hess
2014-11-18reorg and clean up bootstrap protocolJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18need to chain, not spinJoey Hess
2014-11-18avoid renaming --boot to --syncJoey Hess
That broke updating existing systems, since --boot is what makes the remote propellor update itself. The hostname is no longer needed by --boot for new propellor's, but is still passed for old ones. Note that there will be a double run of propellor when upgrading via --spin, because it now runs --boot followed by --spin on the remote host, and the old --boot also satisfied all properties.
2014-11-18Run remote propellor --spin with a controlling terminal.Joey Hess
Avoids need for hack to make ansi colors work, but also things like apt-get and wget process bars will be displayed.
2014-11-18ssh won't allocate a tty; work aroundJoey Hess
stdin is not a terminal, drat ssh I don't much like this workaround
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18can't rely on TERM; use hIsTerminalDeviceJoey Hess
This calls an ioctl, I don't think it's very expensive.
2014-11-18enable tty over sshJoey Hess
2014-11-18Avoid outputting color setting sequences when not run on a terminal.Joey Hess
Currently TERM is checked for every message. Could be memoized, but it would add complexity, and typical propellor output is not going to be more than a few hundred messages, and likely this will be swamped by the actual work.
2014-11-17Git: rename isRepo to isGitDirFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-17Git: isRepoFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-17DigitalOcean.distroKernel property now reboots into the distribution kernel ↵Joey Hess
when necessary. It might be better to do this check on boot to limit the time running the DO kernel (which is not well security supported), but that has the possibility of entering a bad reboot loop. Limiting this check to when propellor runs avoids that, while still fixing the problem pretty fast.
2014-11-15Convert GpgKeyId to newtypeJoey Hess
2014-11-15moving privdata to privdata.joey (for joeyconfig branch only)Joey Hess
This will be reverted on master. This way, my ongoing development on my joeyconfig branch, including privdata changes, won't result in changes being merged into the privdata/ dir on master. Such changes can cause problems for other propellor users, who can get conflicts in their own privdata when merging from master.
2014-11-15add Obnam backupEncryptedJoey Hess
This after I typoed an obnam setup and accidentially had a repo that was backing up non-encrypted.