portage.git
14 years agoMove the MtimeDB class to portage.util.mtimedb and deprecate the commit_mtimedb
Zac Medico [Tue, 2 Mar 2010 21:08:42 +0000 (21:08 -0000)]
Move the MtimeDB class to portage.util.mtimedb and deprecate the commit_mtimedb
function. (trunk r15490)

svn path=/main/branches/2.1.7/; revision=15691

14 years agoFix vardbapi.move_ent and aux_update to clear relevant caches. (trunk r15489)
Zac Medico [Tue, 2 Mar 2010 21:08:24 +0000 (21:08 -0000)]
Fix vardbapi.move_ent and aux_update to clear relevant caches. (trunk r15489)

svn path=/main/branches/2.1.7/; revision=15690

14 years agoMake bindbapi override cpv_inject and cpv_remove, for deleting stale values
Zac Medico [Tue, 2 Mar 2010 21:08:12 +0000 (21:08 -0000)]
Make bindbapi override cpv_inject and cpv_remove, for deleting stale values
from self._aux_cache. Also, add a comment about stale cache handling inside
aux_update. (trunk r15488)

svn path=/main/branches/2.1.7/; revision=15689

14 years agoMake _global_updates ensure that the binarytree is only populated with local
Zac Medico [Tue, 2 Mar 2010 21:08:03 +0000 (21:08 -0000)]
Make _global_updates ensure that the binarytree is only populated with local
packages (getbinpkgs=0), and fix binarytree.populate() to behave properly
when called more than once. (trunk r15487)

svn path=/main/branches/2.1.7/; revision=15688

14 years agoAdd a --quiet-unmerge-warn option to disable the warning message that's shown
Zac Medico [Tue, 2 Mar 2010 21:07:53 +0000 (21:07 -0000)]
Add a --quiet-unmerge-warn option to disable the warning message that's shown
prior to --unmerge actions. Thanks to Thomas Sachau <tommy@gentoo.org> for the
suggestion. (trunk r15486)

svn path=/main/branches/2.1.7/; revision=15687

14 years agoFix reference to portage.util.listdir.dircache. (trunk r15477)
Zac Medico [Tue, 2 Mar 2010 21:07:13 +0000 (21:07 -0000)]
Fix reference to portage.util.listdir.dircache. (trunk r15477)

svn path=/main/branches/2.1.7/; revision=15686

14 years agoRemove deprecated flushmtimedb function. (trunk r15476)
Zac Medico [Tue, 2 Mar 2010 21:07:01 +0000 (21:07 -0000)]
Remove deprecated flushmtimedb function. (trunk r15476)

svn path=/main/branches/2.1.7/; revision=15685

14 years agoMove portage._global_updates to a submodule. (trunk r15475)
Zac Medico [Tue, 2 Mar 2010 21:06:52 +0000 (21:06 -0000)]
Move portage._global_updates to a submodule. (trunk r15475)

svn path=/main/branches/2.1.7/; revision=15684

14 years agoRemove unused 'dircache' variable that's moved to portage.util.listdir.
Zac Medico [Tue, 2 Mar 2010 21:06:43 +0000 (21:06 -0000)]
Remove unused 'dircache' variable that's moved to portage.util.listdir.
(trunk r15474)

svn path=/main/branches/2.1.7/; revision=15683

14 years agoMove missing encodings module workarounds (<python-2.6.4 + USE=build) to a
Zac Medico [Tue, 2 Mar 2010 21:06:35 +0000 (21:06 -0000)]
Move missing encodings module workarounds (<python-2.6.4 + USE=build) to a
_ensure_encodings module that's only imported on demand. (trunk r15473)

svn path=/main/branches/2.1.7/; revision=15682

14 years agoAnother turquoise -> red. (trunk r15472)
Zac Medico [Tue, 2 Mar 2010 21:06:22 +0000 (21:06 -0000)]
Another turquoise -> red. (trunk r15472)

svn path=/main/branches/2.1.7/; revision=15681

14 years agoBug #307021 - Show "Please fix" message in red instead of turquoise when
Zac Medico [Tue, 2 Mar 2010 21:06:14 +0000 (21:06 -0000)]
Bug #307021 - Show "Please fix" message in red instead of turquoise when
repoman fails. (trunk r15471)

svn path=/main/branches/2.1.7/; revision=15680

14 years agoEliminate the PhaseCheck constructor and make PhaseCheck.phases_re a class
Zac Medico [Tue, 2 Mar 2010 21:06:02 +0000 (21:06 -0000)]
Eliminate the PhaseCheck constructor and make PhaseCheck.phases_re a class
attribute. Thanks to Sebastian Pipping <sping@g.o> for the initial patch.
(trunk r15470)

svn path=/main/branches/2.1.7/; revision=15679

14 years agoMove getvirtuals to _deprecated module. (trunk r15469)
Zac Medico [Tue, 2 Mar 2010 21:05:39 +0000 (21:05 -0000)]
Move getvirtuals to _deprecated module. (trunk r15469)

svn path=/main/branches/2.1.7/; revision=15678

14 years agoMove merge and unmerge functions to the vartree module. (trunk r15468)
Zac Medico [Tue, 2 Mar 2010 21:05:00 +0000 (21:05 -0000)]
Move merge and unmerge functions to the vartree module. (trunk r15468)

svn path=/main/branches/2.1.7/; revision=15677

14 years agoFix broken dep_expand import from previous commit. (trunk r15467)
Zac Medico [Tue, 2 Mar 2010 21:01:55 +0000 (21:01 -0000)]
Fix broken dep_expand import from previous commit. (trunk r15467)

svn path=/main/branches/2.1.7/; revision=15676

14 years agoSplid deprecated functions into a _deprecated module. (trunk r15466)
Zac Medico [Tue, 2 Mar 2010 21:01:48 +0000 (21:01 -0000)]
Splid deprecated functions into a _deprecated module. (trunk r15466)

svn path=/main/branches/2.1.7/; revision=15675

14 years agoAvoid name collision with dep_expand submodule so epydoc won't crash.
Zac Medico [Tue, 2 Mar 2010 21:01:41 +0000 (21:01 -0000)]
Avoid name collision with dep_expand submodule so epydoc won't crash.
(trunk r15465)

svn path=/main/branches/2.1.7/; revision=15674

14 years agoMove portage.movefile to portage.util.movefile. (trunk r15464)
Zac Medico [Tue, 2 Mar 2010 21:01:30 +0000 (21:01 -0000)]
Move portage.movefile to portage.util.movefile. (trunk r15464)

svn path=/main/branches/2.1.7/; revision=15673

14 years agoSplit getmaskingstatus and getmaskingreason info portage.package.ebuild
Zac Medico [Tue, 2 Mar 2010 21:01:19 +0000 (21:01 -0000)]
Split getmaskingstatus and getmaskingreason info portage.package.ebuild
submodules. (trunk r15463)

svn path=/main/branches/2.1.7/; revision=15672

14 years agoMove portage.dep_check and related functions to portage.dep.dep_check.
Zac Medico [Tue, 2 Mar 2010 21:01:10 +0000 (21:01 -0000)]
Move portage.dep_check and related functions to portage.dep.dep_check.
(trunk r15462)

svn path=/main/branches/2.1.7/; revision=15671

14 years agoMove dep.py to dep/__init__.py, for splitting into smaller files. (trunk r15461)
Zac Medico [Tue, 2 Mar 2010 21:01:00 +0000 (21:01 -0000)]
Move dep.py to dep/__init__.py, for splitting into smaller files. (trunk r15461)

svn path=/main/branches/2.1.7/; revision=15670

14 years agoMove dep_expand and cpv_expand into portage.dbapi submodules. (trunk r15460)
Zac Medico [Tue, 2 Mar 2010 21:00:53 +0000 (21:00 -0000)]
Move dep_expand and cpv_expand into portage.dbapi submodules. (trunk r15460)

svn path=/main/branches/2.1.7/; revision=15669

14 years agoFix typo in import. (trunk r15459)
Zac Medico [Tue, 2 Mar 2010 21:00:43 +0000 (21:00 -0000)]
Fix typo in import. (trunk r15459)

svn path=/main/branches/2.1.7/; revision=15668

14 years agoMove portage.digestcheck to portage.package.ebuild.digestcheck. (trunk r15458)
Zac Medico [Tue, 2 Mar 2010 21:00:36 +0000 (21:00 -0000)]
Move portage.digestcheck to portage.package.ebuild.digestcheck. (trunk r15458)

svn path=/main/branches/2.1.7/; revision=15667

14 years agoFix broken digestgen import. (trunk r15457)
Zac Medico [Tue, 2 Mar 2010 21:00:27 +0000 (21:00 -0000)]
Fix broken digestgen import. (trunk r15457)

svn path=/main/branches/2.1.7/; revision=15666

14 years agoRelocate portage.util.digestgen to portage.package.ebuild.digestgen.
Zac Medico [Tue, 2 Mar 2010 21:00:19 +0000 (21:00 -0000)]
Relocate portage.util.digestgen to portage.package.ebuild.digestgen.
(trunk r15456)

svn path=/main/branches/2.1.7/; revision=15665

14 years agoDefine 'long' for Python 3. (trunk r15455)
Zac Medico [Tue, 2 Mar 2010 21:00:03 +0000 (21:00 -0000)]
Define 'long' for Python 3. (trunk r15455)

svn path=/main/branches/2.1.7/; revision=15664

14 years agoMove digestgen to portage.util.digestgen. (trunk r15454)
Zac Medico [Tue, 2 Mar 2010 20:59:56 +0000 (20:59 -0000)]
Move digestgen to portage.util.digestgen. (trunk r15454)

svn path=/main/branches/2.1.7/; revision=15663

14 years agoMove ExtractKernelVersion portage.util.ExtractKernelVersion. (trunk r15453)
Zac Medico [Tue, 2 Mar 2010 20:59:48 +0000 (20:59 -0000)]
Move ExtractKernelVersion portage.util.ExtractKernelVersion. (trunk r15453)

svn path=/main/branches/2.1.7/; revision=15662

14 years agoMove env_update to portage.util.env_update.envupdate. (trunk r15452)
Zac Medico [Tue, 2 Mar 2010 20:59:38 +0000 (20:59 -0000)]
Move env_update to portage.util.env_update.envupdate. (trunk r15452)

svn path=/main/branches/2.1.7/; revision=15661

14 years agoFix broken references to portage._doebuild_manifest_exempt_depend.
Zac Medico [Tue, 2 Mar 2010 20:59:28 +0000 (20:59 -0000)]
Fix broken references to portage._doebuild_manifest_exempt_depend.
(trunk r15451)

svn path=/main/branches/2.1.7/; revision=15660

14 years agoMove cacheddir and listdir to portage.util.listdir. (trunk r15450)
Zac Medico [Tue, 2 Mar 2010 20:59:20 +0000 (20:59 -0000)]
Move cacheddir and listdir to portage.util.listdir. (trunk r15450)

svn path=/main/branches/2.1.7/; revision=15659

14 years agoMake auxdbkeys a tuple instead of a list. (trunk r15449)
Zac Medico [Tue, 2 Mar 2010 20:59:11 +0000 (20:59 -0000)]
Make auxdbkeys a tuple instead of a list. (trunk r15449)

svn path=/main/branches/2.1.7/; revision=15658

14 years agoSplit doebuild and related code to the portage.package.ebuild module.
Zac Medico [Tue, 2 Mar 2010 20:59:00 +0000 (20:59 -0000)]
Split doebuild and related code to the portage.package.ebuild module.
(trunk r15448)

svn path=/main/branches/2.1.7/; revision=15657

14 years agoRemove unused 'expandcache' global variable. (trunk r15447)
Zac Medico [Tue, 2 Mar 2010 20:58:52 +0000 (20:58 -0000)]
Remove unused 'expandcache' global variable. (trunk r15447)

svn path=/main/branches/2.1.7/; revision=15656

14 years agoFix a logic error which causes blockers from installed packages to be
Zac Medico [Tue, 2 Mar 2010 20:58:42 +0000 (20:58 -0000)]
Fix a logic error which causes blockers from installed packages to be
ignored in some cases. Thanks to Brian Dolbec (dol-sen) for reporting.
(trunk r15446)

svn path=/main/branches/2.1.7/; revision=15655

14 years agoAdd missing writmsg import. (trunk r15445)
Zac Medico [Tue, 2 Mar 2010 20:58:31 +0000 (20:58 -0000)]
Add missing writmsg import. (trunk r15445)

svn path=/main/branches/2.1.7/; revision=15654

14 years agoMake the first two positional arguments of digestgen() into keyword arguments
Zac Medico [Tue, 2 Mar 2010 20:58:16 +0000 (20:58 -0000)]
Make the first two positional arguments of digestgen() into keyword arguments
since the first one isn't really needed (when this code is in stable we can
start showing a deprecation warning when the redundant argument is used).
(trunk r15438)

svn path=/main/branches/2.1.7/; revision=15653

14 years agoAdd deprecation warnings for unused digestgen() parameters. (trunk r15437)
Zac Medico [Tue, 2 Mar 2010 20:58:04 +0000 (20:58 -0000)]
Add deprecation warnings for unused digestgen() parameters. (trunk r15437)

svn path=/main/branches/2.1.7/; revision=15652

14 years agoFix "AttributeError: 'module' object has no attribute 'mappings'".
Zac Medico [Tue, 2 Mar 2010 20:57:51 +0000 (20:57 -0000)]
Fix "AttributeError: 'module' object has no attribute 'mappings'".
Also fix some typos. (trunk r15429)

svn path=/main/branches/2.1.7/; revision=15651

14 years agoFix "NameError: global name 'basestring' is not defined" with Python 3.
Zac Medico [Tue, 2 Mar 2010 20:57:38 +0000 (20:57 -0000)]
Fix "NameError: global name 'basestring' is not defined" with Python 3.
(trunk r15428)

svn path=/main/branches/2.1.7/; revision=15650

14 years agoEnable --rebuilt-binaries automatically only when in --usepkgonly or
Zac Medico [Tue, 2 Mar 2010 20:56:37 +0000 (20:56 -0000)]
Enable --rebuilt-binaries automatically only when in --usepkgonly or
--getbinpkgonly mode, since --usepkgonly  behaves better in cases when
the portage tree is not exactly the same revision that was used to
build the packages. (trunk r15427)

svn path=/main/branches/2.1.7/; revision=15649

14 years agoUse lazy import for portage.Manifest. (trunk r15426)
Zac Medico [Tue, 2 Mar 2010 20:56:25 +0000 (20:56 -0000)]
Use lazy import for portage.Manifest. (trunk r15426)

svn path=/main/branches/2.1.7/; revision=15648

14 years agoMove portage.fetch() to portage.package.ebuild.fetch.fetch(). (trunk r15425)
Zac Medico [Tue, 2 Mar 2010 20:56:10 +0000 (20:56 -0000)]
Move portage.fetch() to portage.package.ebuild.fetch.fetch(). (trunk r15425)

svn path=/main/branches/2.1.7/; revision=15647

14 years agoMove portage.config class to portage.package.ebuild.config.config.
Zac Medico [Tue, 2 Mar 2010 20:55:43 +0000 (20:55 -0000)]
Move portage.config class to portage.package.ebuild.config.config.
(trunk r15424)

svn path=/main/branches/2.1.7/; revision=15646

14 years agoMove portage.digraph class to portage.util.digraph.digraph. (trunk r15423)
Zac Medico [Tue, 2 Mar 2010 20:55:29 +0000 (20:55 -0000)]
Move portage.digraph class to portage.util.digraph.digraph. (trunk r15423)

svn path=/main/branches/2.1.7/; revision=15645

14 years agoMove the portage.util module into a directory, for splitting into smaller files.
Zac Medico [Tue, 2 Mar 2010 20:55:11 +0000 (20:55 -0000)]
Move the portage.util module into a directory, for splitting into smaller files.
(trunk r15422)

svn path=/main/branches/2.1.7/; revision=15644

14 years agoCreate a directory for splitting the portage.util module into smaller files.
Zac Medico [Tue, 2 Mar 2010 20:54:59 +0000 (20:54 -0000)]
Create a directory for splitting the portage.util module into smaller files.
(trunk r15421)

svn path=/main/branches/2.1.7/; revision=15643

14 years agoDon't import the portage.dbapi.dbapi class as portage.dbapi anymore, since
Zac Medico [Tue, 2 Mar 2010 20:54:43 +0000 (20:54 -0000)]
Don't import the portage.dbapi.dbapi class as portage.dbapi anymore, since
it results in a strange namespace collision (portage.dbapi is both a class
and a module). Hopefully this won't break any api consumers since it's a pure
 virtual class anyway. (trunk r15420)

svn path=/main/branches/2.1.7/; revision=15642

14 years agoUse lazy import for the portage.dbapi module. (trunk r15419)
Zac Medico [Tue, 2 Mar 2010 20:53:03 +0000 (20:53 -0000)]
Use lazy import for the portage.dbapi module. (trunk r15419)

svn path=/main/branches/2.1.7/; revision=15641

14 years agoBug #299095 - Add a deprecation warning for check_license calls with EAPI >= 3
Zac Medico [Tue, 2 Mar 2010 20:52:44 +0000 (20:52 -0000)]
Bug #299095 - Add a deprecation warning for check_license calls with EAPI >= 3
since it is superceded by LICENSE masking. (trunk r15418)

svn path=/main/branches/2.1.7/; revision=15640

14 years agoMove the portage.FetchlistDict class to the portage.dbapi.porttree module.
Zac Medico [Tue, 2 Mar 2010 20:52:31 +0000 (20:52 -0000)]
Move the portage.FetchlistDict class to the portage.dbapi.porttree module.
(trunk r15417)

svn path=/main/branches/2.1.7/; revision=15639

14 years agoShow a deprecation warning when getvirtuals() is called. (trunk r15416)
Zac Medico [Tue, 2 Mar 2010 20:52:22 +0000 (20:52 -0000)]
Show a deprecation warning when getvirtuals() is called. (trunk r15416)

svn path=/main/branches/2.1.7/; revision=15638

14 years agoShow a deprecation warning when pkgmerge() is called. (trunk r15415)
Zac Medico [Tue, 2 Mar 2010 20:52:10 +0000 (20:52 -0000)]
Show a deprecation warning when pkgmerge() is called. (trunk r15415)

svn path=/main/branches/2.1.7/; revision=15637

14 years agoShow a deprecation warning when digestParseFile() is called. (trunk r15414)
Zac Medico [Tue, 2 Mar 2010 20:52:01 +0000 (20:52 -0000)]
Show a deprecation warning when digestParseFile() is called. (trunk r15414)

svn path=/main/branches/2.1.7/; revision=15636

14 years agoMove portage.flatten to portage.dep.flatten. (trunk r15413)
Zac Medico [Tue, 2 Mar 2010 20:51:52 +0000 (20:51 -0000)]
Move portage.flatten to portage.dep.flatten. (trunk r15413)

svn path=/main/branches/2.1.7/; revision=15635

14 years agoHandle CacheCorruption from self.db_ro in _setitem, triggered by INHERITED
Zac Medico [Tue, 2 Mar 2010 20:51:44 +0000 (20:51 -0000)]
Handle CacheCorruption from self.db_ro in _setitem, triggered by INHERITED
containing non-existent eclass inside metadata.database._parse_data. Thanks
to Vlastimil Babka <caster@g.o> for reporting. (trunk r15412)

svn path=/main/branches/2.1.7/; revision=15634

14 years agoAdd a note about --rebuilt-binaries. (trunk r15411)
Zac Medico [Tue, 2 Mar 2010 20:50:14 +0000 (20:50 -0000)]
Add a note about --rebuilt-binaries. (trunk r15411)

svn path=/main/branches/2.1.7/; revision=15632

14 years agoMove portage.cpv_getkey() to the portage.versions module. (trunk r15410)
Zac Medico [Tue, 2 Mar 2010 20:47:57 +0000 (20:47 -0000)]
Move portage.cpv_getkey() to the portage.versions module. (trunk r15410)

svn path=/main/branches/2.1.7/; revision=15631

14 years agoAdd missing newline to the "CONFIG_PROTECT is empty" warning message.
Zac Medico [Tue, 2 Mar 2010 20:47:36 +0000 (20:47 -0000)]
Add missing newline to the "CONFIG_PROTECT is empty" warning message.
(trunk r15409)

svn path=/main/branches/2.1.7/; revision=15630

14 years agoUse a frozenset for use inside binarytree._eval_use_flags(). (trunk r15407)
Zac Medico [Tue, 2 Mar 2010 20:47:21 +0000 (20:47 -0000)]
Use a frozenset for use inside binarytree._eval_use_flags(). (trunk r15407)

svn path=/main/branches/2.1.7/; revision=15629

14 years agoAdd stacklevel=2 to warnings.warn calls. (trunk r15406)
Zac Medico [Tue, 2 Mar 2010 20:47:04 +0000 (20:47 -0000)]
Add stacklevel=2 to warnings.warn calls. (trunk r15406)

svn path=/main/branches/2.1.7/; revision=15628

14 years agoAdd stacklevel=2 to warnings.warn() calls. (trunk r15405)
Zac Medico [Tue, 2 Mar 2010 20:46:56 +0000 (20:46 -0000)]
Add stacklevel=2 to warnings.warn() calls. (trunk r15405)

svn path=/main/branches/2.1.7/; revision=15627

14 years agoRemove deprecated methods that call removed key_expand function. (trunk r15404)
Zac Medico [Tue, 2 Mar 2010 20:46:39 +0000 (20:46 -0000)]
Remove deprecated methods that call removed key_expand function. (trunk r15404)

svn path=/main/branches/2.1.7/; revision=15626

14 years agoAdd DeprecationWarning to dep_virtual function. (trunk r15403)
Zac Medico [Tue, 2 Mar 2010 20:46:27 +0000 (20:46 -0000)]
Add DeprecationWarning to dep_virtual function. (trunk r15403)

svn path=/main/branches/2.1.7/; revision=15625

14 years agoRemove deprecated key_expand function and config.load_infodir method.
Zac Medico [Tue, 2 Mar 2010 20:46:13 +0000 (20:46 -0000)]
Remove deprecated key_expand function and config.load_infodir method.
(trunk r15402)

svn path=/main/branches/2.1.7/; revision=15624

14 years agoUse Atom.cp instead of dep_getkey. (trunk r15401)
Zac Medico [Tue, 2 Mar 2010 20:45:50 +0000 (20:45 -0000)]
Use Atom.cp instead of dep_getkey. (trunk r15401)

svn path=/main/branches/2.1.7/; revision=15623

14 years agoUse Atom.cp instead of dep_getkey. (trunk r15400)
Zac Medico [Tue, 2 Mar 2010 20:45:14 +0000 (20:45 -0000)]
Use Atom.cp instead of dep_getkey. (trunk r15400)

svn path=/main/branches/2.1.7/; revision=15622

14 years agoUse Atom.cp instead of dep_getkey. (trunk r15399)
Zac Medico [Tue, 2 Mar 2010 20:43:32 +0000 (20:43 -0000)]
Use Atom.cp instead of dep_getkey. (trunk r15399)

svn path=/main/branches/2.1.7/; revision=15621

14 years agoUse a valid atom in the dep_getkey docstring. (trunk r15398)
Zac Medico [Tue, 2 Mar 2010 20:39:08 +0000 (20:39 -0000)]
Use a valid atom in the dep_getkey docstring. (trunk r15398)

svn path=/main/branches/2.1.7/; revision=15620

14 years agoUse isvalidatom to validate PROVIDE entries. (trunk r15397)
Zac Medico [Tue, 2 Mar 2010 20:38:54 +0000 (20:38 -0000)]
Use isvalidatom to validate PROVIDE entries. (trunk r15397)

svn path=/main/branches/2.1.7/; revision=15619

14 years agoFix deprecated usage of dep_getkey. (trunk r15396)
Zac Medico [Tue, 2 Mar 2010 20:38:46 +0000 (20:38 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15396)

svn path=/main/branches/2.1.7/; revision=15618

14 years agoFix deprecated usage of dep_getkey. (trunk r15395)
Zac Medico [Tue, 2 Mar 2010 20:38:36 +0000 (20:38 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15395)

svn path=/main/branches/2.1.7/; revision=15617

14 years agoBail out when given an invalid mode. (trunk r15394)
Zac Medico [Tue, 2 Mar 2010 20:38:22 +0000 (20:38 -0000)]
Bail out when given an invalid mode. (trunk r15394)

svn path=/main/branches/2.1.7/; revision=15616

14 years agoBug #268724 - Show a warning message for --unmerge operations and suggest
Zac Medico [Tue, 2 Mar 2010 20:38:11 +0000 (20:38 -0000)]
Bug #268724 - Show a warning message for --unmerge operations and suggest
--depclean <atom> instead. (trunk r15393)

svn path=/main/branches/2.1.7/; revision=15615

14 years agoBug #303519 - Call warnings.warn() with stacklevel=2 inside dep_getkey and
Zac Medico [Tue, 2 Mar 2010 20:38:03 +0000 (20:38 -0000)]
Bug #303519 - Call warnings.warn() with stacklevel=2 inside dep_getkey and
dep_getcpv so that the caller is displayed. (trunk r15392)

svn path=/main/branches/2.1.7/; revision=15614

14 years agoFix deprecated usage of dep_getkey. (trunk r15391)
Zac Medico [Tue, 2 Mar 2010 20:37:56 +0000 (20:37 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15391)

svn path=/main/branches/2.1.7/; revision=15613

14 years agoFix deprecated usage of dep_getkey. (trunk r15390)
Zac Medico [Tue, 2 Mar 2010 20:37:48 +0000 (20:37 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15390)

svn path=/main/branches/2.1.7/; revision=15612

14 years agoFix deprecated usage of dep_getkey. (trunk r15388)
Zac Medico [Tue, 2 Mar 2010 20:37:38 +0000 (20:37 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15388)

svn path=/main/branches/2.1.7/; revision=15611

14 years agoFix deprecated usage of dep_getkey. (trunk r15383)
Zac Medico [Tue, 2 Mar 2010 20:37:23 +0000 (20:37 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15383)

svn path=/main/branches/2.1.7/; revision=15610

14 years agoFix deprecated usage of dep_getkey. (trunk r15382)
Zac Medico [Tue, 2 Mar 2010 20:35:20 +0000 (20:35 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15382)

svn path=/main/branches/2.1.7/; revision=15609

14 years agoFix deprecated dep_getkey usage in match_from_list. (trunk r15381)
Zac Medico [Tue, 2 Mar 2010 20:35:04 +0000 (20:35 -0000)]
Fix deprecated dep_getkey usage in match_from_list. (trunk r15381)

svn path=/main/branches/2.1.7/; revision=15608

14 years agoMake dep_getkey() recommend cpv_getkey() if given a cpv. (trunk r15380)
Zac Medico [Tue, 2 Mar 2010 20:34:07 +0000 (20:34 -0000)]
Make dep_getkey() recommend cpv_getkey() if given a cpv. (trunk r15380)

svn path=/main/branches/2.1.7/; revision=15607

14 years agoUse a property to trigger deprecation warnings if binarytree.remotepkgs
Zac Medico [Tue, 2 Mar 2010 20:32:53 +0000 (20:32 -0000)]
Use a property to trigger deprecation warnings if binarytree.remotepkgs
is accessed. (trunk r15379)

svn path=/main/branches/2.1.7/; revision=15606

14 years agoRemove the deprecated 'clone' parameter from the portagetree constructor.
Zac Medico [Tue, 2 Mar 2010 20:32:42 +0000 (20:32 -0000)]
Remove the deprecated 'clone' parameter from the portagetree constructor.
(trunk r15378)

svn path=/main/branches/2.1.7/; revision=15605

14 years agoRemove deprecated portdbapi.getfetchlist() method. (trunk r15377)
Zac Medico [Tue, 2 Mar 2010 20:32:33 +0000 (20:32 -0000)]
Remove deprecated portdbapi.getfetchlist() method. (trunk r15377)

svn path=/main/branches/2.1.7/; revision=15604

14 years agoRemove deprecated binarytree.get_use() method. (trunk r15376)
Zac Medico [Tue, 2 Mar 2010 20:32:20 +0000 (20:32 -0000)]
Remove deprecated binarytree.get_use() method. (trunk r15376)

svn path=/main/branches/2.1.7/; revision=15603

14 years agoRemove the deprecated 'clone' parameter to the binarytree constructor.
Zac Medico [Tue, 2 Mar 2010 20:32:09 +0000 (20:32 -0000)]
Remove the deprecated 'clone' parameter to the binarytree constructor.
(trunk r15375)

svn path=/main/branches/2.1.7/; revision=15602

14 years agoDeprecate the unused getbinpkgsonly parameter to binarytree.populate().
Zac Medico [Tue, 2 Mar 2010 20:31:57 +0000 (20:31 -0000)]
Deprecate the unused getbinpkgsonly parameter to binarytree.populate().
(trunk r15374)

svn path=/main/branches/2.1.7/; revision=15601

14 years agoAllow --rebuilt-binaries to trigger downgrades. (trunk r15373)
Zac Medico [Tue, 2 Mar 2010 20:31:42 +0000 (20:31 -0000)]
Allow --rebuilt-binaries to trigger downgrades. (trunk r15373)

svn path=/main/branches/2.1.7/; revision=15600

14 years agoOnly enable --rebuilt-binaries automatically if --update and --deep are also
Zac Medico [Tue, 2 Mar 2010 20:31:29 +0000 (20:31 -0000)]
Only enable --rebuilt-binaries automatically if --update and --deep are also
enabled. (trunk r15372)

svn path=/main/branches/2.1.7/; revision=15599

14 years agoRemove unused merge_cmd variable. (trunk r15371)
Zac Medico [Tue, 2 Mar 2010 20:28:07 +0000 (20:28 -0000)]
Remove unused merge_cmd variable. (trunk r15371)

svn path=/main/branches/2.1.7/; revision=15598

14 years agoRemove diffutils version detection code since it's not really needed.
Zac Medico [Tue, 2 Mar 2010 20:27:34 +0000 (20:27 -0000)]
Remove diffutils version detection code since it's not really needed.
(trunk r15370)

svn path=/main/branches/2.1.7/; revision=15597

14 years agoUpdate the spinner in depgraph._serialize_tasks when searching for
Zac Medico [Tue, 2 Mar 2010 20:27:10 +0000 (20:27 -0000)]
Update the spinner in depgraph._serialize_tasks when searching for
suitable uninstall tasks. (trunk r15369)

svn path=/main/branches/2.1.7/; revision=15596

14 years agoFix broken diffutils vercmp code. (trunk r15368)
Zac Medico [Tue, 2 Mar 2010 20:26:56 +0000 (20:26 -0000)]
Fix broken diffutils vercmp code. (trunk r15368)

svn path=/main/branches/2.1.7/; revision=15595

14 years agoFix colors for --rebuilt-binaries docs. (trunk r15367)
Zac Medico [Tue, 2 Mar 2010 20:26:48 +0000 (20:26 -0000)]
Fix colors for --rebuilt-binaries docs. (trunk r15367)

svn path=/main/branches/2.1.7/; revision=15594

14 years agoAdd a comment about slowness in _serialize_tasks when there are lots of
Zac Medico [Tue, 2 Mar 2010 20:26:39 +0000 (20:26 -0000)]
Add a comment about slowness in _serialize_tasks when there are lots of
blockers to solve. (trunk r15366)

svn path=/main/branches/2.1.7/; revision=15593

14 years agoBug #305393 - Handle new sdiff exit status for diffutils-2.9. (trunk r15365)
Zac Medico [Tue, 2 Mar 2010 20:26:29 +0000 (20:26 -0000)]
Bug #305393 - Handle new sdiff exit status for diffutils-2.9. (trunk r15365)

svn path=/main/branches/2.1.7/; revision=15592

14 years agoAdd a --rebuilt-binaries[=n] option, causing automatic replacement of
Zac Medico [Tue, 2 Mar 2010 20:26:08 +0000 (20:26 -0000)]
Add a --rebuilt-binaries[=n] option, causing automatic replacement of
installed packages with binary packages that have been rebuilt. Rebuilds
are detected by comparison of BUILD_TIME package metadata. This option is
enabled automatically when using binary packages, so rebuilt binaries are
installed with a user's typical update command. This isn't possible with
the existing @rebuild-binaries package set since that only works with
--selective=n and therefore can't be used with a typical world update.
The package set framework should support this type of behavior sometime
in the future. (trunk r15364)

svn path=/main/branches/2.1.7/; revision=15591