mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-25 17:45:55 +02:00
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 94eee5c4bb | |||
| 4f98fd6c78 | |||
| 45001144d7 |
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 94eee5c4bb |
lib.FileContext.put(): Add parameter "atomic"
Add the parameter "atomic" to put() / _put(). If instructs the implementation to take extra precautions to make sure the operation either succeeds or fails entirely, i.e. doesn't leave a broken target file behind. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 4f98fd6c78 |
lib.FileTransfer: Rename to FileContext
Rename class FileTransfer to FileContext because that's the better name. It's the base class of ExecContext and also a context. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 45001144d7 |
lib.ec.Curl: Add class
Add class Curl as the first pure FileTransfer class without _run() / _sudo(). It doesn't use any PycURL / libcurl-like binding, but runs the curl binary in a subprocess. That looks the most portable still. Signed-off-by: Jan Lindemann <jan@janware.com> |