path: root/src/Propellor/Protocol.hs
AgeCommit message (Collapse)Author
2017-07-13trying the pipe trick againJoey Hess
With some small changes, and debugging.
2017-07-13Revert "disable buffering earlier"Joey Hess
This reverts commit 632137836b39462883483a621f9dd696ce1d73cc. Still failing :( Seems that disabling buffering is not the solution.
2017-07-13disable buffering earlierJoey Hess
The "fatal: Couldn't find remote ref HEAD" persists, and is intermittent so hard to be sure but it seemed that disabling buffering earlier avoided it. Now done first thing on start. I was not able to find anything that reads from stdin other than getMarked, but perhaps there is something..
2017-06-18my pipe trick didn't work; fallback to NoBufferingJoey Hess
Not sure what the problem was, but it hung. Also though, I noticed that stdin was still open when git fetch was run, so if git fetch itself decided to read from stdin, it would mess up the protocol forwarding. While git fetch should never read from stdin, that was reason enough to fall back to plan B.
2015-10-10propellor spinJoey Hess
2015-01-05propellor spinJoey Hess
2015-01-05improve protocol debuggingJoey Hess
2015-01-05propellor spinJoey Hess
2014-11-22propellor --spin can now deploy propellor to hosts that do not have git, ↵Joey Hess
ghc, or apt-get. This is accomplished by uploading a fairly portable precompiled tarball of propellor.
2014-11-18broke out Server moduleJoey Hess
2014-11-18remove what should be dead codeJoey Hess
While old propellor's can emit Ready, they won't if they've managed to updateFirst. If updateFirst fails due to eg, inaccessiable central repo, those old propellor's are not able to receive inline git pushes anyway, so are not going to update no matter what, so no point in making --spin work in that case.
2014-11-18display improvementsJoey Hess
2014-11-18fix display of progress etc lines before protocol lineJoey Hess
2014-11-18finally cracked it!Joey Hess
A newline was slipping in and messing up the git protocol.
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-18refactorJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18reorgJoey Hess
2014-11-18reorg and clean up bootstrap protocolJoey Hess