Commit Graph

20 Commits

Author SHA1 Message Date
Teo Mrnjavac
10ce42f35c Use target_env calls in Python modules. 2015-09-15 16:48:41 +02:00
Gormogon
bc66502fda Some more PEP 2015-06-14 07:25:37 -04:00
skullbocks
57406f3bc9 [modules/packages] Added support for Portage and Entropy 2015-06-08 19:29:51 +02:00
rshipp
f3319e1ef4 Change local_install to localInstall 2015-03-04 08:19:26 -07:00
rshipp
880c19c195 Fix incorrect if statement 2015-03-01 17:34:44 -07:00
rshipp
995341e9be Allow local installs with the packages module.
Courtesy of @Inkane. Adds the ability to use pacman -U to install
local packages.
2015-03-01 16:31:40 -07:00
Philip
e5eee1e4dd [unpackfs] proper sentence 2015-02-25 14:49:24 +01:00
Philip
be2353e54b [packages] add python doc strings 2015-02-25 14:49:23 +01:00
Gormogon
113d9db7cb Python Better Docstrings 2015-02-25 14:49:23 +01:00
Teo Mrnjavac
abeb6d9172 Run urpme noninteractive (OpenMandriva).
Thanks Tomasz Paweł Gajc <tpgxyz@gmail.com> for the patch.
2015-02-22 13:38:37 +01:00
Gormogon
09dc6bb5d7 [PEP 8] General Style Part 2 2015-02-18 09:47:24 -05:00
Gormogon
8e1480431a [PEP 263] Corrected Encoding Headers 2015-02-18 09:06:10 -05:00
Teo Mrnjavac
2cd9c7c0fa Improve urpmi call. Thanks Tomasz Paweł Gajc for the patch. 2015-01-27 18:38:11 +01:00
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.)
2015-01-19 03:06:12 +01:00
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).
2015-01-19 02:57:29 +01:00
Daniel Hillenbrand
722e87fd00 packages: add --noconfirm arg for pacman, also remove unneeded deps 2014-11-28 20:54:35 +01:00
Rohan Garg
ac5cecee19 Clean up unused packages after installation
Fixes #166.
2014-11-27 11:03:12 +01:00
Rohan Garg
6a9c9cbaae Fix typo 2014-10-27 18:39:11 +01:00
Rohan Garg
fdd84d1f99 Don't crash when packageOperations is empty 2014-10-27 16:58:42 +01:00
Pier Luigi Fiorini
5624132172 Add packages job
This job can be used to install and remove packages.
2014-09-01 21:48:35 +02:00