portage.git
10 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).

10 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

10 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.

10 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

10 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

10 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

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

10 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

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

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

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

10 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

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

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

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

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

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

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

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

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

10 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.

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

10 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.

10 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.

10 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

10 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

10 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

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

10 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.

10 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

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

10 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

10 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

10 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

10 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

10 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)

10 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

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

10 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

10 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

10 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

10 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.

10 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>
10 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.

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

10 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

10 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.

10 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.

10 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

10 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.

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

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

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

10 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.

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

10 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.

10 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.

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

10 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

10 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.

10 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

10 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.

10 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.

10 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

10 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

10 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.

10 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.

10 years agoBug #477452: Support force attribute in repos.conf.
Arfrever Frehtes Taifersar Arahesis [Wed, 24 Jul 2013 00:34:56 +0000 (02:34 +0200)]
Bug #477452: Support force attribute in repos.conf.

10 years agoAdd anoncvs gentoo-x86 example in documentation of repos.conf.
Arfrever Frehtes Taifersar Arahesis [Tue, 23 Jul 2013 22:51:35 +0000 (00:51 +0200)]
Add anoncvs gentoo-x86 example in documentation of repos.conf.

10 years agoegencache: Print warnings for deprecated options.
Arfrever Frehtes Taifersar Arahesis [Tue, 23 Jul 2013 22:18:13 +0000 (00:18 +0200)]
egencache: Print warnings for deprecated options.

10 years agoAdd warning for missing masters attribute in layout.conf.
Arfrever Frehtes Taifersar Arahesis [Tue, 23 Jul 2013 21:52:47 +0000 (23:52 +0200)]
Add warning for missing masters attribute in layout.conf.

10 years agoUse consistent e-mail address in manuals.
Arfrever Frehtes Taifersar Arahesis [Tue, 23 Jul 2013 20:55:30 +0000 (22:55 +0200)]
Use consistent e-mail address in manuals.

10 years agoegencache: Require --repo option.
Arfrever Frehtes Taifersar Arahesis [Tue, 23 Jul 2013 20:41:20 +0000 (22:41 +0200)]
egencache: Require --repo option.

10 years agogetmaskingreason: handle UNKNOWN_REPO
Zac Medico [Tue, 23 Jul 2013 20:26:34 +0000 (13:26 -0700)]
getmaskingreason: handle UNKNOWN_REPO

10 years agoemerge --sync: support repo arguments
Zac Medico [Tue, 23 Jul 2013 20:15:09 +0000 (13:15 -0700)]
emerge --sync: support repo arguments

10 years agoportage.package.ebuild.getmaskingreason.getmaskingreason(): Stop using PORTDIR and...
Arfrever Frehtes Taifersar Arahesis [Tue, 23 Jul 2013 20:07:42 +0000 (22:07 +0200)]
portage.package.ebuild.getmaskingreason.getmaskingreason(): Stop using PORTDIR and PORTDIR_OVERLAY.

10 years agoaction_sync: backward compatible parameters
Zac Medico [Tue, 23 Jul 2013 19:44:30 +0000 (12:44 -0700)]
action_sync: backward compatible parameters

10 years agoPORTAGE_RSYNC_OPTS: --omit-dir-times
Zac Medico [Tue, 23 Jul 2013 19:25:37 +0000 (12:25 -0700)]
PORTAGE_RSYNC_OPTS: --omit-dir-times

Directory modification times are irrelevant, and preserving them can be
annoying when using squashfs + unionfs, since it can trigger creation
many empty directories in the RW branch.

10 years agoaction_sync: use emerge_config parameter
Zac Medico [Tue, 23 Jul 2013 19:14:11 +0000 (12:14 -0700)]
action_sync: use emerge_config parameter

10 years agoDelay validation of repos.conf locations/names.
Zac Medico [Tue, 23 Jul 2013 05:56:00 +0000 (22:56 -0700)]
Delay validation of repos.conf locations/names.

For backward compatibility with locations set via PORTDIR and
PORTDIR_OVERLAY, delay validation of the location and repo.name
until after PORTDIR and PORTDIR_OVERLAY have been processed.

10 years agoRemove stray print from last commit.
Zac Medico [Tue, 23 Jul 2013 04:45:13 +0000 (21:45 -0700)]
Remove stray print from last commit.

10 years agoRepoConfigLoader: PORTDIR/repos.conf interaction
Zac Medico [Tue, 23 Jul 2013 04:42:22 +0000 (21:42 -0700)]
RepoConfigLoader: PORTDIR/repos.conf interaction

10 years agoMove hardcoded atoms of cvs, git and rsync to portage.const module and fix category...
Arfrever Frehtes Taifersar Arahesis [Mon, 22 Jul 2013 22:30:39 +0000 (00:30 +0200)]
Move hardcoded atoms of cvs, git and rsync to portage.const module and fix category of git atom.

10 years agoAdd support for multiple repositories in `emerge --sync`.
Arfrever Frehtes Taifersar Arahesis [Mon, 22 Jul 2013 22:06:58 +0000 (00:06 +0200)]
Add support for multiple repositories in `emerge --sync`.

Configuration of synchronization is specified by new attributes
supported in repos.conf: sync-cvs-repo, sync-type, sync-uri.

SYNC variable is no longer supported, since it could not override
gentoo.sync-uri attribute now set in default configuration of
repositories (/usr/share/portage/config/repos.conf).

10 years agoQuote ${PORTAGE_ECLASS_LOCATIONS[@]}
Zac Medico [Mon, 22 Jul 2013 20:47:50 +0000 (13:47 -0700)]
Quote ${PORTAGE_ECLASS_LOCATIONS[@]}

10 years agomake.conf.5: note usersync reqs for bug #277970
Zac Medico [Mon, 22 Jul 2013 19:19:56 +0000 (12:19 -0700)]
make.conf.5: note usersync reqs for bug #277970

10 years agoemerge-webrsync: use PORTAGE_REPOSITORIES var
Zac Medico [Mon, 22 Jul 2013 19:04:22 +0000 (12:04 -0700)]
emerge-webrsync: use PORTAGE_REPOSITORIES var

Using this variable allows us to get all required configuration data
with a singe portageq envvar call.

10 years agoinherit: optimize eclass search
Zac Medico [Mon, 22 Jul 2013 18:08:09 +0000 (11:08 -0700)]
inherit: optimize eclass search

Use PORTAGE_ECLASS_LOCATIONS variable ordered so that we can break out
of the eclass search loop as soon as the first match is found.

10 years agoSplit PORTDIR_OVERLAY with shlex.
Zac Medico [Mon, 22 Jul 2013 17:40:48 +0000 (10:40 -0700)]
Split PORTDIR_OVERLAY with shlex.

10 years agoSanitize PYTHONPATH for helpers, bug #477764
Zac Medico [Mon, 22 Jul 2013 16:42:48 +0000 (09:42 -0700)]
Sanitize PYTHONPATH for helpers, bug #477764

10 years agoImprove documentation of repos.conf.
Arfrever Frehtes Taifersar Arahesis [Mon, 22 Jul 2013 04:44:03 +0000 (06:44 +0200)]
Improve documentation of repos.conf.

10 years ago__save_ebuild_env: filter __repo_key
Zac Medico [Mon, 22 Jul 2013 03:20:43 +0000 (20:20 -0700)]
__save_ebuild_env: filter __repo_key

10 years agomake.globals: usersync default, bug #477682
Zac Medico [Mon, 22 Jul 2013 02:34:48 +0000 (19:34 -0700)]
make.globals: usersync default, bug #477682

10 years agomake.globals: userpriv + usersandbox, bug #477664
Zac Medico [Mon, 22 Jul 2013 02:21:41 +0000 (19:21 -0700)]
make.globals: userpriv + usersandbox, bug #477664

10 years agoportageq: add aliases for bug #476830
Zac Medico [Mon, 22 Jul 2013 01:58:50 +0000 (18:58 -0700)]
portageq: add aliases for bug #476830

10 years agorpmbuild: use --nodeps option
Zac Medico [Sun, 21 Jul 2013 16:53:32 +0000 (09:53 -0700)]
rpmbuild: use --nodeps option

10 years agoRename make.conf to make.conf.example.
Arfrever Frehtes Taifersar Arahesis [Sun, 21 Jul 2013 04:15:30 +0000 (06:15 +0200)]
Rename make.conf to make.conf.example.

10 years agomake.conf-repatch.sh: Port to git and improve coding style.
Arfrever Frehtes Taifersar Arahesis [Sun, 21 Jul 2013 03:48:11 +0000 (05:48 +0200)]
make.conf-repatch.sh: Port to git and improve coding style.

10 years agoemerge --resume: reject atom or set arguments
Zac Medico [Thu, 18 Jul 2013 20:23:02 +0000 (13:23 -0700)]
emerge --resume: reject atom or set arguments

It is an error to provide atoms or sets as arguments to --resume, since
the arguments from the resumed command are used instead.

10 years agoemerge-webrsync and emerge-delta-webrsync: Stop using PORTDIR.
Arfrever Frehtes Taifersar Arahesis [Tue, 16 Jul 2013 22:09:37 +0000 (00:09 +0200)]
emerge-webrsync and emerge-delta-webrsync: Stop using PORTDIR.