Commit graph

13 commits

Author SHA1 Message Date
Joerg Fiedler
44bfca315a add chroot flag to pkgng in order to allow installation of packages into chroot environments, e.g. jails (#1218) 2016-04-11 08:25:30 +02:00
Michael Scherer
2e8cd5cd74 Use type 'path' for rootdir, for pkgng 2016-03-27 21:08:05 +02:00
Toshio Kuratomi
d6af6f8477 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
2016-01-11 13:06:22 -08:00
Toshio Kuratomi
8e0a2ed729 Make the pkg/name param into a list so that changes to make changes to _squash_items easier 2015-11-01 12:14:18 -08:00
mahadeva604
c3a0a3376a Merge https://github.com/ansible/ansible-modules-extras into devel
Conflicts:
	packaging/os/pkgng.py
2015-07-25 08:45:46 +03:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Toshio Kuratomi
88eff11c04 Many more doc fixes 2015-05-15 12:12:26 -07:00
Greg DeKoenigsberg
9501714b8b Adding author's github id 2015-05-14 00:27:06 -04:00
Matt Martz
e568032bc3 Fix up modules that have python24 syntax error 2015-05-11 09:51:48 -05:00
Charlie Root
fbd8c6b398 Add rootdir option to pkgng 2015-04-21 15:44:58 +03:00
Matthew Pherigo
e909beb653 Make $BATCH=yes the default, remove module option 2015-02-03 15:43:24 -06:00
Matthew Pherigo
8ecb023939 pkgng: add 'batch' parameter
Some packages attempt to prompt the user for certain settings during
installation. Thus, this parameter sets the environment variable
$BATCH to 'yes', which forces package installation scripts to accept
default values for these interactive prompts. This should work for all
prompts that have a default value and aren't implemented through a
custom script (as this variable is built into the ports/package system).

FIXME: Package install should fail if it prompts and batch isn't set;
currently, the install hangs indefinitely.
TODO: Allow user to specify the answers to certain prompts.

I (github.com/mwpher) have NOT tested this with any packages besides
bsdstats. It's a small improvement, but not a complete answer to all
the complexities of package installation.
2015-02-03 13:22:21 -06:00
Michael DeHaan
7e6fc7023d Reorganization. 2014-11-04 17:31:59 -05:00
Renamed from packaging/pkgng.py (Browse further)