portage.git
11 years agorepoman: --include-exp-profiles, bug #481326
Zac Medico [Thu, 22 Aug 2013 01:54:59 +0000 (18:54 -0700)]
repoman: --include-exp-profiles, bug #481326

11 years agodep_zapdeps: prefer all_installed_slots choices
Zac Medico [Thu, 22 Aug 2013 01:32:22 +0000 (18:32 -0700)]
dep_zapdeps: prefer all_installed_slots choices

This will fix bug #480736, by preferring libpostproc in deps like
|| ( ffmpeg:0 libpostproc ) where libpostproc is already installed and
ffmpeg:0 is not.

11 years agoAdd test for bug #481628.
Zac Medico [Thu, 22 Aug 2013 00:45:39 +0000 (17:45 -0700)]
Add test for bug #481628.

11 years agododoc: Add a QA warning when called with no arguments.
Ulrich Müller [Tue, 20 Aug 2013 14:02:14 +0000 (16:02 +0200)]
dodoc: Add a QA warning when called with no arguments.

See bug #481664 and bug #480892.

11 years agocgroup: use SIGKILL to guarantee killing processes.
Michał Górny [Mon, 19 Aug 2013 09:37:01 +0000 (11:37 +0200)]
cgroup: use SIGKILL to guarantee killing processes.

11 years agoAdd FEATURES=cgroup to isolate phase processes.
Michał Górny [Mon, 19 Aug 2013 08:45:52 +0000 (10:45 +0200)]
Add FEATURES=cgroup to isolate phase processes.

We create a cgroup for each ebuild. The ebuild processes are put in that
cgroup, therefore allowing us to keep track of their replication. Once
ebuild phase is over, we can happily kill all orphans.

11 years agoAdd FEATURES=ipc-sandbox to isolate IPC from host.
Michał Górny [Sun, 18 Aug 2013 23:22:59 +0000 (01:22 +0200)]
Add FEATURES=ipc-sandbox to isolate IPC from host.

This way, only privileged phases (pkg_*) can use *nix IPC to communicate
with host applications. src_* use private IPC namespace.

11 years agoarchive-conf: fix for python3, bug #481518
Zac Medico [Sun, 18 Aug 2013 06:51:45 +0000 (23:51 -0700)]
archive-conf: fix for python3, bug #481518

11 years ago_exec: close socket
Zac Medico [Sun, 18 Aug 2013 06:03:47 +0000 (23:03 -0700)]
_exec: close socket

11 years agoAdd FEATURES=network-sandbox support, bug #481450
Michał Górny [Sat, 17 Aug 2013 10:28:05 +0000 (12:28 +0200)]
Add FEATURES=network-sandbox support, bug #481450

This way, only privileged phases (pkg_* and src_unpack) have network
access during the ebuild run. All of the src_* phases are completely
detached from host's network interfaces.

11 years agoFix last commit.
Zac Medico [Tue, 13 Aug 2013 18:16:45 +0000 (11:16 -0700)]
Fix last commit.

11 years agovalidate_desktop_entry: allow OnlyShowIn Pantheon
Zac Medico [Tue, 13 Aug 2013 15:46:28 +0000 (08:46 -0700)]
validate_desktop_entry: allow OnlyShowIn Pantheon

This will fix bug #480586.

11 years agoegencache: handle empty --portdir-overlay v2.2.0
Zac Medico [Mon, 12 Aug 2013 23:14:46 +0000 (16:14 -0700)]
egencache: handle empty --portdir-overlay

11 years agoemirrordist: allow missing --repo if exactly one
Zac Medico [Mon, 12 Aug 2013 23:08:12 +0000 (16:08 -0700)]
emirrordist: allow missing --repo if exactly one

11 years agoegencache: allow missing --repo if exactly 1 repo
Zac Medico [Mon, 12 Aug 2013 23:01:20 +0000 (16:01 -0700)]
egencache: allow missing --repo if exactly 1 repo

11 years agoman/make.conf.5: fix substitution spelling
Zac Medico [Mon, 12 Aug 2013 22:40:15 +0000 (15:40 -0700)]
man/make.conf.5: fix substitution spelling

11 years agoman/make.conf.5: fix documentation spelling
Zac Medico [Mon, 12 Aug 2013 22:21:48 +0000 (15:21 -0700)]
man/make.conf.5: fix documentation spelling

11 years agoman/portage.5: fix environment spelling
Zac Medico [Mon, 12 Aug 2013 22:19:56 +0000 (15:19 -0700)]
man/portage.5: fix environment spelling

11 years agoman/portage.5: clarify package.env more
Zac Medico [Mon, 12 Aug 2013 22:14:10 +0000 (15:14 -0700)]
man/portage.5: clarify package.env more

11 years agoExempt /usr/local/portage from repo_name warning.
Zac Medico [Mon, 12 Aug 2013 21:24:43 +0000 (14:24 -0700)]
Exempt /usr/local/portage from repo_name warning.

This will fix bug #248603.

11 years agorepoman: add --experimental-inherit=<y|n> option
Zac Medico [Mon, 12 Aug 2013 20:54:12 +0000 (13:54 -0700)]
repoman: add --experimental-inherit=<y|n> option

Enable experimental inherit.missing checks which may misbehave when the
internal eclass database becomes outdated.

11 years agoCorrect ebuild.sh path in man pages, bug #462802
Zac Medico [Mon, 12 Aug 2013 16:29:39 +0000 (09:29 -0700)]
Correct ebuild.sh path in man pages, bug #462802

11 years agovartree.py: Add link for collisions, bug #449918
Alexander Berntsen [Sun, 11 Aug 2013 22:18:40 +0000 (00:18 +0200)]
vartree.py: Add link for collisions, bug #449918

Link to <http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers> on
file collisions.

11 years agovalidate_desktop_entry: handle NotShowIn Pantheon
Zac Medico [Mon, 12 Aug 2013 03:01:08 +0000 (20:01 -0700)]
validate_desktop_entry: handle NotShowIn Pantheon

This will fix bug #480586.

11 years agoman/portage.5: Add notes about order, bug #388781
Alexander Berntsen [Sun, 11 Aug 2013 23:04:06 +0000 (01:04 +0200)]
man/portage.5: Add notes about order, bug #388781

11 years agoman/make.conf.5: Document shlex a bit, bug 309941
Alexander Berntsen [Sun, 11 Aug 2013 21:32:42 +0000 (23:32 +0200)]
man/make.conf.5: Document shlex a bit, bug 309941

11 years agoCast uid/gid proxies to int for Python 3.4.
Zac Medico [Sun, 11 Aug 2013 22:00:30 +0000 (15:00 -0700)]
Cast uid/gid proxies to int for Python 3.4.

See http://hg.python.org/cpython/rev/f871f8662509.

11 years agorepoman: change preserve_old_lib msg, bug #480244 v2.2.0_alpha196
Samuli Suominen [Thu, 8 Aug 2013 17:31:49 +0000 (10:31 -0700)]
repoman: change preserve_old_lib msg, bug #480244

11 years agoman/emerge.1: fix ._cfg???? command, bug #480192
Zac Medico [Thu, 8 Aug 2013 17:11:33 +0000 (10:11 -0700)]
man/emerge.1: fix ._cfg???? command, bug #480192

11 years agoRepoConfigLoader: handle main_repo in __delitem__
Zac Medico [Thu, 8 Aug 2013 16:04:36 +0000 (09:04 -0700)]
RepoConfigLoader: handle main_repo in __delitem__

This will fix bug #480254.

11 years agothirdpartymirrors: use RepoConfig.prepos_order v2.2.0_alpha195
Zac Medico [Tue, 6 Aug 2013 20:01:59 +0000 (13:01 -0700)]
thirdpartymirrors: use RepoConfig.prepos_order

This equivalent to, but more efficient than splitting PORTDIR_OVERLAY.

11 years agorepoman: remove set literal for python-2.6 compat
Zac Medico [Tue, 6 Aug 2013 04:29:45 +0000 (21:29 -0700)]
repoman: remove set literal for python-2.6 compat

11 years agorepoman: don't deprecate ruby_targets_rbx
Zac Medico [Mon, 5 Aug 2013 17:56:49 +0000 (10:56 -0700)]
repoman: don't deprecate ruby_targets_rbx

It was mistakenly deprecated (see bug #469616).

11 years agoInclude implicit IUSE vars in binhost Packages. v2.2.0_alpha194
Zac Medico [Sun, 4 Aug 2013 22:08:43 +0000 (15:08 -0700)]
Include implicit IUSE vars in binhost Packages.

These values may be useful for using a binhost without having a local
copy of the profile (bug #470006).

11 years agoAdd repoman check for deprecated ruby targets, fixes bug #469616
Manuel Rüger [Sun, 4 Aug 2013 13:08:16 +0000 (15:08 +0200)]
Add repoman check for deprecated ruby targets, fixes bug #469616

11 years agodepgraph: trigger reinstalls if backtrack allowed
Zac Medico [Sun, 4 Aug 2013 20:21:19 +0000 (13:21 -0700)]
depgraph: trigger reinstalls if backtrack allowed

This should fix cases where it tries to backtrack but simply aborts
with --backtrack=0.

11 years ago__repo_key: comment on bash-3.2 compatibility v2.2.0_alpha193
Zac Medico [Sat, 3 Aug 2013 22:14:14 +0000 (15:14 -0700)]
__repo_key: comment on bash-3.2 compatibility

11 years ago__repo_key: fix for bash-3.2 compatibility
Zac Medico [Sat, 3 Aug 2013 11:08:53 +0000 (04:08 -0700)]
__repo_key: fix for bash-3.2 compatibility

11 years ago_argparse: improve parse_* method compatibility v2.2.0_alpha192
Zac Medico [Sat, 3 Aug 2013 09:39:00 +0000 (02:39 -0700)]
_argparse: improve parse_* method compatibility

11 years agorunTests: portage.util._argparse
Zac Medico [Sat, 3 Aug 2013 01:37:14 +0000 (18:37 -0700)]
runTests: portage.util._argparse

11 years agoxpak-helper.py: portage.util._argparse
Zac Medico [Sat, 3 Aug 2013 01:32:21 +0000 (18:32 -0700)]
xpak-helper.py: portage.util._argparse

11 years agoquickpkg: portage.util._argparse
Zac Medico [Sat, 3 Aug 2013 01:29:21 +0000 (18:29 -0700)]
quickpkg: portage.util._argparse

11 years agorepoman: use parse_known_args
Zac Medico [Sat, 3 Aug 2013 01:27:20 +0000 (18:27 -0700)]
repoman: use parse_known_args

11 years agoglsa-check: portage.util._argparse
Zac Medico [Sat, 3 Aug 2013 01:21:37 +0000 (18:21 -0700)]
glsa-check: portage.util._argparse

11 years agofilter-bash-environment.py: don't use optparse
Zac Medico [Sat, 3 Aug 2013 01:02:19 +0000 (18:02 -0700)]
filter-bash-environment.py: don't use optparse

11 years agoebuild: portage.util._argparse
Zac Medico [Sat, 3 Aug 2013 00:48:55 +0000 (17:48 -0700)]
ebuild: portage.util._argparse

11 years agobinhost-snapshot: portage.util._argparse
Zac Medico [Sat, 3 Aug 2013 00:48:25 +0000 (17:48 -0700)]
binhost-snapshot: portage.util._argparse

11 years agochpathtool.py: portage.util._argparse
Zac Medico [Sat, 3 Aug 2013 00:35:15 +0000 (17:35 -0700)]
chpathtool.py: portage.util._argparse

11 years agoportageq: portage.util._argparse
Zac Medico [Sat, 3 Aug 2013 00:10:34 +0000 (17:10 -0700)]
portageq: portage.util._argparse

11 years agoemirrordist: portage.util._argparse
Zac Medico [Fri, 2 Aug 2013 23:27:17 +0000 (16:27 -0700)]
emirrordist: portage.util._argparse

11 years agoegencache: portage.util._argparse
Zac Medico [Fri, 2 Aug 2013 23:03:53 +0000 (16:03 -0700)]
egencache: portage.util._argparse

11 years ago_argparse: add ArgumentParser.error()
Zac Medico [Fri, 2 Aug 2013 23:03:00 +0000 (16:03 -0700)]
_argparse: add ArgumentParser.error()

11 years agorepoman: portage.util._argparse
Zac Medico [Fri, 2 Aug 2013 22:49:37 +0000 (15:49 -0700)]
repoman: portage.util._argparse

11 years agorepoman: simplify help output
Zac Medico [Fri, 2 Aug 2013 22:36:39 +0000 (15:36 -0700)]
repoman: simplify help output

This will simplify conversion to argparse.

11 years agoemaint: portage.util._argparse
Zac Medico [Fri, 2 Aug 2013 21:48:14 +0000 (14:48 -0700)]
emaint: portage.util._argparse

11 years agoemaint: fix exclusive action handling
Zac Medico [Fri, 2 Aug 2013 20:53:14 +0000 (13:53 -0700)]
emaint: fix exclusive action handling

It broke in commit 42b0a6e898172c375d4d47c3346b25dac2333bf0.

11 years agoemaint: remove callback usage
Zac Medico [Fri, 2 Aug 2013 20:18:11 +0000 (13:18 -0700)]
emaint: remove callback usage

This will simplify conversion to argparse.

11 years agoxattr-helper.py: portage.util._argparse
Zac Medico [Fri, 2 Aug 2013 18:05:51 +0000 (11:05 -0700)]
xattr-helper.py: portage.util._argparse

11 years ago_argparse: support add_argument_group
Zac Medico [Fri, 2 Aug 2013 18:03:49 +0000 (11:03 -0700)]
_argparse: support add_argument_group

11 years agoprepstrip: PORTAGE_PYTHONPATH for xattr-helper.py
Zac Medico [Fri, 2 Aug 2013 17:41:45 +0000 (10:41 -0700)]
prepstrip: PORTAGE_PYTHONPATH for xattr-helper.py

11 years agoemerge: portage.util._argparse
Zac Medico [Fri, 2 Aug 2013 09:48:57 +0000 (02:48 -0700)]
emerge: portage.util._argparse

11 years ago_slot_confict_backtrack: simplify code
Zac Medico [Fri, 2 Aug 2013 08:54:25 +0000 (01:54 -0700)]
_slot_confict_backtrack: simplify code

The order of backtrack_data is simply based on version comparison
since commit 9b6f69e2a66c0f1d1d6545208edb3c45eacfd845.

11 years agoAvoid some missed updates when backtracking.
Zac Medico [Fri, 2 Aug 2013 08:24:32 +0000 (01:24 -0700)]
Avoid some missed updates when backtracking.

This avoids unnecessarily missed updates like the following:

WARNING: One or more updates have been skipped due to a dependency conflict:

dev-util/boost-build:0

  (dev-util/boost-build-1.53.0::gentoo, ebuild scheduled for merge) conflicts with
    =dev-util/boost-build-1.52.0-r1 required by (dev-libs/boost-1.52.0-r6::gentoo, installed)

!!! The following update(s) have been skipped due to unsatisfied dependencies
!!! triggered by backtracking:

dev-libs/boost:0

11 years agoFix imprecise paragraph, bug #339446
Alexander Berntsen [Wed, 31 Jul 2013 15:25:14 +0000 (17:25 +0200)]
Fix imprecise paragraph, bug #339446

11 years agoman/emerge.1: Mention log files, fixes bug #462802
Alexander Berntsen [Tue, 30 Jul 2013 21:39:31 +0000 (23:39 +0200)]
man/emerge.1: Mention log files, fixes bug #462802

11 years agoman/emerge.1: Fix bug #405783 by elaborating -n
Alexander Berntsen [Tue, 30 Jul 2013 21:02:29 +0000 (23:02 +0200)]
man/emerge.1: Fix bug #405783 by elaborating -n

11 years agoman/emerge.1: Mention slots for bug #424930
Alexander Berntsen [Tue, 30 Jul 2013 19:26:42 +0000 (21:26 +0200)]
man/emerge.1: Mention slots for bug #424930

11 years agobin/fixpackages: Add -h, fixes bug #394773
Alexander Berntsen [Tue, 30 Jul 2013 20:15:34 +0000 (22:15 +0200)]
bin/fixpackages: Add -h, fixes bug #394773

11 years agoinstall.py: handle zero file arguments (--help)
Zac Medico [Tue, 30 Jul 2013 22:25:49 +0000 (15:25 -0700)]
install.py: handle zero file arguments (--help)

11 years agoinstall.py: split out optparse compat code
Zac Medico [Tue, 30 Jul 2013 22:21:48 +0000 (15:21 -0700)]
install.py: split out optparse compat code

11 years agoman: Remove trailing spaces
Alexander Berntsen [Tue, 30 Jul 2013 18:53:51 +0000 (20:53 +0200)]
man: Remove trailing spaces

11 years agoman: Cap lines at 80 chars
Alexander Berntsen [Tue, 30 Jul 2013 18:47:24 +0000 (20:47 +0200)]
man: Cap lines at 80 chars

11 years agodep_zapdeps: skip want_update_pkg if pkg in graph v2.2.0_alpha191
Zac Medico [Tue, 30 Jul 2013 05:48:37 +0000 (22:48 -0700)]
dep_zapdeps: skip want_update_pkg if pkg in graph

11 years ago_want_update_pkg: respect --exclude
Zac Medico [Tue, 30 Jul 2013 05:41:11 +0000 (22:41 -0700)]
_want_update_pkg: respect --exclude

11 years agoExclude PORTAGE_BINPKG_FORMAT from ebuild env.
Zac Medico [Tue, 30 Jul 2013 05:30:17 +0000 (22:30 -0700)]
Exclude PORTAGE_BINPKG_FORMAT from ebuild env.

11 years agoemerge: accept --pkg-format option
Tomáš Čech [Sat, 27 Jul 2013 23:09:39 +0000 (01:09 +0200)]
emerge: accept --pkg-format option

Accept --pkg-format option which will override settings of
PORTAGE_BINPKG_FORMAT. Currently takes choices of 'tar' (original gentoo
binary package), 'rpm' or its combinations.

Signed-off-by: Tomáš Čech <sleep_walker@suse.cz>
11 years agoPull in new slots when appropriate, bug #478188.
Zac Medico [Tue, 30 Jul 2013 05:04:26 +0000 (22:04 -0700)]
Pull in new slots when appropriate, bug #478188.

11 years agoAdd test for bug #478188.
Zac Medico [Tue, 30 Jul 2013 02:08:26 +0000 (19:08 -0700)]
Add test for bug #478188.

11 years agoFreeBSD: don't use /dev/fd, bug #478446
Zac Medico [Mon, 29 Jul 2013 18:39:49 +0000 (11:39 -0700)]
FreeBSD: don't use /dev/fd, bug #478446

11 years agoSuppress duplicate repo warning for bug #478544.
Zac Medico [Mon, 29 Jul 2013 17:23:02 +0000 (10:23 -0700)]
Suppress duplicate repo warning for bug #478544.

11 years agodepgraph: avoid conflicts during _complete_graph
Zac Medico [Sun, 28 Jul 2013 23:02:46 +0000 (16:02 -0700)]
depgraph: avoid conflicts during _complete_graph

During _complete_graph, it was possible for _select_pkg_from_graph to
make some poor package selections that would result in conflicts when
there were two matches in different slots that conflicted with
eachother.

11 years agorepoman: export GPG_TTY for bug #477728
Zac Medico [Sat, 27 Jul 2013 22:28:40 +0000 (15:28 -0700)]
repoman: export GPG_TTY for bug #477728

11 years agoSupport SYNC setting in make.conf. v2.2.0_alpha190
Zac Medico [Fri, 26 Jul 2013 21:01:17 +0000 (14:01 -0700)]
Support SYNC setting in make.conf.

This fixes commit 73188d23c68989539a913716bb8a4132d2c43316 so that it
works with make.conf.

11 years agoFix NameError.
Arfrever Frehtes Taifersar Arahesis [Fri, 26 Jul 2013 08:22:47 +0000 (10:22 +0200)]
Fix NameError.

11 years agoMakefile: remove pysqlite2 workaround
Zac Medico [Fri, 26 Jul 2013 08:00:04 +0000 (01:00 -0700)]
Makefile: remove pysqlite2 workaround

11 years agoRemove pysqlite2 support.
Zac Medico [Fri, 26 Jul 2013 07:56:55 +0000 (00:56 -0700)]
Remove pysqlite2 support.

11 years agomake.conf.5: restore SYNC documentation v2.2.0_alpha189
Zac Medico [Thu, 25 Jul 2013 22:43:11 +0000 (15:43 -0700)]
make.conf.5: restore SYNC documentation

The SYNC variable is deprecated, but it is still supported, for
backward compatibility with mirrorselect --rsync.

11 years agomake.globals: quote paths
Zac Medico [Thu, 25 Jul 2013 21:59:59 +0000 (14:59 -0700)]
make.globals: quote paths

11 years agoRefer to /etc/portage/make.conf in messages.
Zac Medico [Thu, 25 Jul 2013 21:54:32 +0000 (14:54 -0700)]
Refer to /etc/portage/make.conf in messages.

11 years agoFix alias handling in missing masters warning.
Zac Medico [Thu, 25 Jul 2013 21:41:04 +0000 (14:41 -0700)]
Fix alias handling in missing masters warning.

11 years agoDisable usersandbox for tests.
Zac Medico [Thu, 25 Jul 2013 20:47:06 +0000 (13:47 -0700)]
Disable usersandbox for tests.

11 years agotest_doebuild_fd_pipes: bsd compat
Zac Medico [Thu, 25 Jul 2013 20:37:23 +0000 (13:37 -0700)]
test_doebuild_fd_pipes: bsd compat

11 years agoRepoConfig: backward compat SYNC for mirrorselect
Zac Medico [Thu, 25 Jul 2013 19:54:49 +0000 (12:54 -0700)]
RepoConfig: backward compat SYNC for mirrorselect

This restores SYNC support which was removed in commit
47e8d22dabf2197193c8f133698fb967afa560f4.

11 years agoRELEASE-NOTES: Next release is 2.1.13
Zac Medico [Thu, 25 Jul 2013 19:12:02 +0000 (12:12 -0700)]
RELEASE-NOTES: Next release is 2.1.13

11 years agoDisable an error for entries from PORTDIR_OVERLAY.
Arfrever Frehtes Taifersar Arahesis [Thu, 25 Jul 2013 18:44:39 +0000 (20:44 +0200)]
Disable an error for entries from PORTDIR_OVERLAY.

11 years agoPrint more consistent error messages for entries in repos.conf.
Arfrever Frehtes Taifersar Arahesis [Thu, 25 Jul 2013 18:25:05 +0000 (20:25 +0200)]
Print more consistent error messages for entries in repos.conf.

11 years agorepoman: auto disable bad commit opts, bug 478156
Zac Medico [Thu, 25 Jul 2013 18:00:20 +0000 (11:00 -0700)]
repoman: auto disable bad commit opts, bug 478156

11 years agoemirrordist.1: fix dup REPOSITORIES_CONFIGURATION
Zac Medico [Wed, 24 Jul 2013 21:22:21 +0000 (14:22 -0700)]
emirrordist.1: fix dup REPOSITORIES_CONFIGURATION

11 years agoAvoid redundant parse_layout_conf() calls.
Zac Medico [Wed, 24 Jul 2013 20:37:59 +0000 (13:37 -0700)]
Avoid redundant parse_layout_conf() calls.

11 years agoemirrordist: Require --repo option, deprecate --portdir and --portdir-overlay
Arfrever Frehtes Taifersar Arahesis [Wed, 24 Jul 2013 01:54:10 +0000 (03:54 +0200)]
emirrordist: Require --repo option, deprecate --portdir and --portdir-overlay
options, support --repositories-configuration option.