6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f94a2ac037 | |||
| c8036ad216 | |||
| 26e739ca0d | |||
| 75041d5505 | |||
| e075e8902b | |||
| ad45ee8510 |
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| f94a2ac037 |
cmds.DistroBase: Add class
Move most of CmdDistro into the new class DistroBase, meant to serve as base class for distro-aware commands other than "distro". Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| c8036ad216 |
jw-pkg.sh: Print help for missing subcommands
Print a help message if no subcommand is specified for one of the comamnds "distro" and "projects". Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 26e739ca0d |
src.python.jw.pkg.App: Add property distro_id
Add @property App.distro_id, returning the ID field of /etc/os-release. It is supposed to be the most specific part of the OS cascade. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 75041d5505 |
src/python/jw/pkg/cmds/CmdDistro: Fix ID regex
The ID regex on /etc/os-release also matches ID_LIKE, which is obviously nonsense. Fix that. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| e075e8902b |
jw.pkg.cmds.CmdDistro: Default --interactive to true
Better safe than sorry: If things are to happen unattendedly, enforce the need to explicitly request that. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| ad45ee8510 |
jw.pkg.cmds.distro: Add directory
Add the subdirectory structure for the distro subcommand. Signed-off-by: Jan Lindemann <jan@janware.com> |