Build and packaging library
  • Python 43.9%
  • Makefile 40.9%
  • Shell 15.2%
Find a file
Jan Lindemann 4274a71c62 lib.util.run_cmd(): Rewrite it to be async
run_cmd() is synchronous. Now that all commands are asynchronous, we
can await it, so rewrite it to be asynchronous, too.

Other changes:

  - Make it return stderr as well in case its needed

  - Drop into a pseuto-tty if
    - cmd_input == "mode:interactive" or
    - cmd_input == "mode:auto" and stdin is a TTY

  - Add argument env, defaulting to None. If it's a dict, it will be
    the environment the command is run in

This entails making all functions using run_cmd() async, too,
including run_curl(), get_username() and get_password().

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-01-28 17:41:40 +01:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
make jw-projects.py: Rename it to jw-pkg.py 2026-01-28 15:24:16 +01:00
scripts jw-projects.py: Rename it to jw-pkg.py 2026-01-28 15:24:16 +01:00
src lib.util.run_cmd(): Rewrite it to be async 2026-01-28 17:41:40 +01:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-158@suse-tumbleweed/x86_64 2026-01-27 00:15:54 +00:00
Makefile $(TOPDIR)/Makefile: Remove superfluous SUBDIRS 2025-11-14 13:39:52 +01:00
RELEASES Release 1.0.0-158@suse-tumbleweed/x86_64 2026-01-27 00:15:54 +00:00
VERSION Start version: 1.0.0-158 2026-01-27 00:15:27 +00:00