19 Commits (35f4db93166e064b205066d14d298afe2b4ddb59)

Author SHA1 Message Date
Gormogon bc66502fda Some more PEP 11 years ago
skullbocks 57406f3bc9 [modules/packages] Added support for Portage and Entropy 11 years ago
rshipp f3319e1ef4 Change local_install to localInstall 11 years ago
rshipp 880c19c195 Fix incorrect if statement 11 years ago
rshipp 995341e9be Allow local installs with the packages module.
Courtesy of @Inkane. Adds the ability to use pacman -U to install
local packages.
11 years ago
Philip e5eee1e4dd [unpackfs] proper sentence 11 years ago
Philip be2353e54b [packages] add python doc strings 11 years ago
Gormogon 113d9db7cb Python Better Docstrings 11 years ago
Teo Mrnjavac abeb6d9172 Run urpme noninteractive (OpenMandriva).
Thanks Tomasz Paweł Gajc <tpgxyz@gmail.com> for the patch.
11 years ago
Gormogon 09dc6bb5d7 [PEP 8] General Style Part 2 11 years ago
Gormogon 8e1480431a [PEP 263] Corrected Encoding Headers 11 years ago
Teo Mrnjavac 2cd9c7c0fa Improve urpmi call. Thanks Tomasz Paweł Gajc for the patch. 11 years ago
Kevin Kofler 5c6a302112 packages: Ignore error code for "dnf remove".
Unfortunately, dnf treats it as an error if we try to remove a package
that already did not exist. This means that, e.g., if we try to remove
calamares itself, but calamares was not installed on the base image,
only in the overlay, we will fail with an error. So, as long as we do
not have a better solution, we ignore the exit code of "dnf remove"
entirely.

(yum does not show this behavior, it returns success when the package to
remove is already not installed.)
11 years ago
Kevin Kofler 412b959870 packages: Offline package removal for yum and dnf.
When removing packages with yum or dnf, pass the --disablerepo=*
(disable all online repositories) and -C (run from cache) arguments.
Package removals do not normally require network access, and this
measure saves time and bandwidth and prevents possible unnecessary
errors (e.g., if we do not have active network access, or if there is
some problem with the mirrors).
11 years ago
Daniel Hillenbrand 722e87fd00 packages: add --noconfirm arg for pacman, also remove unneeded deps 11 years ago
Rohan Garg ac5cecee19 Clean up unused packages after installation
Fixes #166.
11 years ago
Rohan Garg 6a9c9cbaae Fix typo 11 years ago
Rohan Garg fdd84d1f99 Don't crash when packageOperations is empty 11 years ago
Pier Luigi Fiorini 5624132172 Add packages job
This job can be used to install and remove packages.
11 years ago