3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 21e67291b5 | |||
| 525fa34387 | |||
| 7e7cee6d11 |
Renamed from src/python/jw/pkg/cmds/distro/lib/rpm.py (Browse further)
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 21e67291b5 |
Fix: Decode run_cmd() result
Since commit Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 525fa34387 |
lib.pm: Add parameter ec: ExecContext to functions
Functions in lib.pm (i.e. run_dpkg(), run_rpm() and friends) also get an ExecContext-type parameter. Use them in lib/distros/*/Distro. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 7e7cee6d11 |
cmds.distro: Move all modules to lib
Functions abstracting the distribution are not only needed in the context of the distro subcommand, but also by other code, so make the bulk of the code abstracting the distribution available in some place more universally useful than below cmds.distro. This commit leaves the source files mostly unchanged. They are only patched to fix import paths, so that functionality is preserved. Refactoring the code from command-line API to library API will be done by the next commit. Signed-off-by: Jan Lindemann <jan@janware.com> |