mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-25 17:45:55 +02:00
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 27e9b23849 | |||
| 150bc97fc9 | |||
| b5ab0a3d26 | |||
| 9f15868dd4 | |||
| bc2033490f |
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 27e9b23849 |
build.cmds.CmdListRepos: Support username/password authentication
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 150bc97fc9 |
build.lib.util, build.App: Beautify exceptions
Make exceptions somewhat more readable. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| b5ab0a3d26 |
build.lib.SSHClient: Add module
SSHClient(hostname) is an abstract class for SSH / SCP operations. It comes with two implementations, SSHClientInternal an SSHClientCmd. The former needs paramiko installed, which might be a reason to fail on unprepared systems, the latter is slower and more limited. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 9f15868dd4 |
build.lib.utils: Add module
Add some utility functions, namely: run_cmd(cmd: list[str], wd=None, throw=True, verbose=False) -> str|None run_curl(args: list[str], parse_json: bool=True) -> dict|str get_username(args: Namespace|None=None, url: str|None=None) -> str get_password(args: Namespace|None=None, url: str|None=None, askpass_env: list[str]=[]) -> str Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| bc2033490f |
jw.build.lib: Add module
Add jw.build.lib as a location for generic utility modules. Signed-off-by: Jan Lindemann <jan@janware.com> |