Zac Medico [Sun, 28 Jun 2009 20:59:49 +0000 (20:59 -0000)]
Bug #253467 - Fix regression in config._env_blacklist handling.
svn path=/main/trunk/; revision=13730
Zac Medico [Sun, 28 Jun 2009 20:37:50 +0000 (20:37 -0000)]
Fix Package.metadata USE conditional evaluation so that it's delayed until
after config.setcpv() has calculated PORTAGE_USE. Thanks to Arfrever for
reporting.
svn path=/main/trunk/; revision=13729
Zac Medico [Sun, 28 Jun 2009 19:40:39 +0000 (19:40 -0000)]
Use Package.invalid to generate *.syntax repoman errors for LICENSE,
PROPERTIES, PROVIDE, and RESTRICT.
svn path=/main/trunk/; revision=13728
Zac Medico [Sun, 28 Jun 2009 19:03:33 +0000 (19:03 -0000)]
Make Package.invalid suitable for use by repoman.
svn path=/main/trunk/; revision=13726
Zac Medico [Sun, 28 Jun 2009 18:40:05 +0000 (18:40 -0000)]
Check for redundant blank lines. Thanks to Markus Meier <maekke@gentoo.org>
for this patch.
svn path=/main/trunk/; revision=13725
Zac Medico [Sun, 28 Jun 2009 18:24:23 +0000 (18:24 -0000)]
Bug #236786 - Warn about 'test?' USE conditionals in RDEPEND. Thanks to
Markus Meier <maekke@gentoo.org> for this patch.
svn path=/main/trunk/; revision=13724
Mike Frysinger [Sun, 28 Jun 2009 16:12:28 +0000 (16:12 -0000)]
make sure etc-update sorts updates in the order (1) leading dir path (2) filename (3) cfg update
svn path=/main/trunk/; revision=13723
Zac Medico [Sun, 28 Jun 2009 08:08:54 +0000 (08:08 -0000)]
* Add new abstract PhaseCheck class for ebuild phase-specific checks.
* Reimplement SrcUnpackPatches using PhaseCheck.
* Add new SrcCompileEconf, Eapi3IncompatibleFuncs, and Eapi3GoneVars checks.
Thanks to Markus Meier <maekke@gentoo.org> for this patch.
svn path=/main/trunk/; revision=13717
Zac Medico [Sat, 27 Jun 2009 19:39:46 +0000 (19:39 -0000)]
Bug #270953 - New !!atom blockers do not allow temporary simulaneous
installation, so unlike !atom blockers, !!atom blockers aren't ignored
when they match other packages occupying the same slot. Thanks to
Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch.
svn path=/main/trunk/; revision=13716
Zac Medico [Fri, 26 Jun 2009 23:38:01 +0000 (23:38 -0000)]
Use a property to implement portdbapi.settings.
svn path=/main/trunk/; revision=13703
Zac Medico [Fri, 26 Jun 2009 23:01:46 +0000 (23:01 -0000)]
Fix PROVIDE code since the Package class automatically evaluates USE
conditionals now.
svn path=/main/trunk/; revision=13702
Zac Medico [Fri, 26 Jun 2009 22:43:39 +0000 (22:43 -0000)]
Make portdbapi define self.settings, for conformity with other dbapi classes.
svn path=/main/trunk/; revision=13701
Zac Medico [Fri, 26 Jun 2009 21:37:17 +0000 (21:37 -0000)]
Use clear_caches() to free memory inside action_depclean().
svn path=/main/trunk/; revision=13700
Zac Medico [Fri, 26 Jun 2009 21:32:01 +0000 (21:32 -0000)]
Bug #275532 - In action_depclean(), free memory from the dep calculation
before calling unmerge().
svn path=/main/trunk/; revision=13699
Zac Medico [Fri, 26 Jun 2009 20:10:06 +0000 (20:10 -0000)]
Move __init__.py to main.py.
svn path=/main/trunk/; revision=13698
Zac Medico [Fri, 26 Jun 2009 20:06:08 +0000 (20:06 -0000)]
Move __init__.py to main.py.
svn path=/main/trunk/; revision=13697
Zac Medico [Thu, 25 Jun 2009 21:59:58 +0000 (21:59 -0000)]
Use @property instead of __getattribute__ to implement lazy Package.iuse.regex
initialization.
svn path=/main/trunk/; revision=13696
Zac Medico [Thu, 25 Jun 2009 21:24:30 +0000 (21:24 -0000)]
Make dbapi.cp_list() raise NotImplementedError.
svn path=/main/trunk/; revision=13695
Zac Medico [Thu, 25 Jun 2009 19:41:48 +0000 (19:41 -0000)]
Make config.regenerate() detect api-level updates to ACCEPT_LICENSE, for use
in implementing the "free" filter for the packagekit backend.
svn path=/main/trunk/; revision=13694
Zac Medico [Thu, 25 Jun 2009 06:35:25 +0000 (06:35 -0000)]
Add a Package.metadata.restrict attribute containing a list of enabled
RESTRICT values.
svn path=/main/trunk/; revision=13693
Zac Medico [Thu, 25 Jun 2009 06:24:33 +0000 (06:24 -0000)]
Add a Package.metadata.properties attribute containing a list of enabled
PROPERTIES values.
svn path=/main/trunk/; revision=13692
Zac Medico [Thu, 25 Jun 2009 06:06:14 +0000 (06:06 -0000)]
* Add a Package.invalid attribute to store messages about invalid LICENSE,
PROPERTIES, PROVIDE, and RESTRICT metadata. Use it to mask invalid packages
when necessary.
* Evaluate USE conditional values in Package.metadata when the are accessed.
svn path=/main/trunk/; revision=13691
Zac Medico [Thu, 25 Jun 2009 04:13:47 +0000 (04:13 -0000)]
Add/update copyright headers.
svn path=/main/trunk/; revision=13690
Zac Medico [Thu, 25 Jun 2009 03:04:43 +0000 (03:04 -0000)]
Split out a depgraph._iter_match_pkgs() method from
_select_pkg_highest_available_imp().
svn path=/main/trunk/; revision=13689
Zac Medico [Thu, 25 Jun 2009 01:53:58 +0000 (01:53 -0000)]
Use depgraph._pkg() to construct Package instances inside
_select_pkg_highest_available_imp().
svn path=/main/trunk/; revision=13688
Zac Medico [Thu, 25 Jun 2009 00:45:05 +0000 (00:45 -0000)]
Remove obsolete Package.metadata['CHOST'] initialization.
svn path=/main/trunk/; revision=13687
Zac Medico [Thu, 25 Jun 2009 00:33:47 +0000 (00:33 -0000)]
* Make Package.metadata['USE'] access trigger USE calculation for unbuilt
ebuilds.
* Make Package.metadata['LICENSE'] access trigger USE conditional evaluation.
* Make Package.metadata['PROVIDE'] access trigger USE conditional evaluation.
* Initialize Package.metadata['CHOST'] in the Package constructor for
unbuilt ebuilds.
svn path=/main/trunk/; revision=13686
Zac Medico [Wed, 24 Jun 2009 21:07:50 +0000 (21:07 -0000)]
Bug #275217 - Part 3 - Splits depgraph.select_files into select_files and
_resolve. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this
patch.
svn path=/main/trunk/; revision=13685
Zac Medico [Wed, 24 Jun 2009 07:12:40 +0000 (07:12 -0000)]
Add support to `portageq owners` for querying paths matching a given basename.
It is natural to support this since the vartree already maintains a basename
-> owner index anyway. There are plans for the packagekit backend is to
support this type of search.
svn path=/main/trunk/; revision=13681
Zac Medico [Wed, 24 Jun 2009 06:47:57 +0000 (06:47 -0000)]
In binarytree.inject(), when a symlink is created for the current package
and it overwrites another package, delete the corresponding metadata from
the Packages file. Thanks to Eitan Mosenkis <eitan@mosenkis.net> for
reporting.
svn path=/main/trunk/; revision=13680
Zac Medico [Wed, 24 Jun 2009 03:18:01 +0000 (03:18 -0000)]
Bug #275237 - If a directory exists in a location where a normal file is to
be merged, generate a config-protect filename for the file and merge it that
way. Thanks to Jonas Bernoulli <jonas@bernoulli.cc> for this patch.
svn path=/main/trunk/; revision=13679
Zac Medico [Tue, 23 Jun 2009 21:25:19 +0000 (21:25 -0000)]
Fix imports for _emerge submodules.
svn path=/main/trunk/; revision=13678
Zac Medico [Tue, 23 Jun 2009 20:44:49 +0000 (20:44 -0000)]
Bug #275217 - Part 2 - Move changelog stuff stuff out of depgraph.
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13677
Zac Medico [Tue, 23 Jun 2009 20:38:40 +0000 (20:38 -0000)]
Bu #275217 - Part 1 - Resolve the circular dep between Scheduler and
depgraph; mark all functions as local that aren't used outside of depgraph.
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13676
Zac Medico [Tue, 23 Jun 2009 20:11:24 +0000 (20:11 -0000)]
Fix import for split _emerge.MetadataRegen module.
svn path=/main/trunk/; revision=13675
Zac Medico [Tue, 23 Jun 2009 19:10:12 +0000 (19:10 -0000)]
Make the global "actions" variable a local inside parse_opts() since the
name collision with the _emerge.actions module triggers this traceback with
epydoc-3.0.1:
Traceback (most recent call last):
File "/usr/bin/epydoc", line 13, in <module>
cli()
File "/usr/lib/python2.6/site-packages/epydoc/cli.py", line 965, in cli
main(options, names)
File "/usr/lib/python2.6/site-packages/epydoc/cli.py", line 757, in main
exclude_parse=exclude_parse)
File "/usr/lib/python2.6/site-packages/epydoc/docbuilder.py", line 235, in build_doc_index
docindex = DocIndex(docs)
File "/usr/lib/python2.6/site-packages/epydoc/apidoc.py", line 1715, in __init__
raise ValueError("All APIdocs passed to DocIndexer "
ValueError: All APIdocs passed to DocIndexer must already have canonical names.
svn path=/main/trunk/; revision=13674
Zac Medico [Tue, 23 Jun 2009 18:52:20 +0000 (18:52 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 6).
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13673
Zac Medico [Tue, 23 Jun 2009 18:46:38 +0000 (18:46 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 5).
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13672
Zac Medico [Mon, 22 Jun 2009 21:40:34 +0000 (21:40 -0000)]
Fix config._lazy_vars._accept_license() to exclude irrelevant licenses.
svn path=/main/trunk/; revision=13671
Zac Medico [Mon, 22 Jun 2009 21:31:44 +0000 (21:31 -0000)]
Change ACCEPT_LICENSE evaluation so that things like ACCEPT_LICENSE="* -@EULA"
will work as expected. The ACCEPT_LICENSE variable is now treated as a lazily
evaluated incremental, so that * can be used to match all licenses without
every having to explicitly expand it to all licenses. It should now behave
as approved by the council in response to the "RFC: ACCEPT_LICENSE default
value (GLEP 23)" discussion:
http://archives.gentoo.org/gentoo-dev/msg_d5c1e7285399ebc27a74bdd02cb4d037.xml
svn path=/main/trunk/; revision=13670
Zac Medico [Mon, 22 Jun 2009 20:02:48 +0000 (20:02 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 4).
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13669
Zac Medico [Mon, 22 Jun 2009 18:47:26 +0000 (18:47 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 3).
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13668
Zac Medico [Mon, 22 Jun 2009 18:21:56 +0000 (18:21 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 2).
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13667
Zac Medico [Mon, 22 Jun 2009 18:12:37 +0000 (18:12 -0000)]
Revert lazy imports from r13665 for now, since pyflakes doesn't understand
them, and pyflakes helps check stuff while we're splitting this file up.
svn path=/main/trunk/; revision=13666
Zac Medico [Mon, 22 Jun 2009 17:28:19 +0000 (17:28 -0000)]
Use lazy imports for submodules where possible.
svn path=/main/trunk/; revision=13665
Zac Medico [Mon, 22 Jun 2009 17:03:37 +0000 (17:03 -0000)]
Fix imports broken by splitting of _emerge/__init__.py.
svn path=/main/trunk/; revision=13664
Zac Medico [Mon, 22 Jun 2009 16:43:52 +0000 (16:43 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks to
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13663
Zac Medico [Mon, 22 Jun 2009 05:07:45 +0000 (05:07 -0000)]
Use portage.util.apply_permissions() inside _ensure_access().
svn path=/main/trunk/; revision=13662
Zac Medico [Mon, 22 Jun 2009 04:12:26 +0000 (04:12 -0000)]
Reorganize $KV logic in doebuild_environment.
svn path=/main/trunk/; revision=13661
Zac Medico [Sun, 21 Jun 2009 22:01:50 +0000 (22:01 -0000)]
Tweak depcache permission handling so egencache can be run by a user who's
not in the portage group, allowing for better privilege isolation.
svn path=/main/trunk/; revision=13660
Zac Medico [Sun, 21 Jun 2009 01:51:42 +0000 (01:51 -0000)]
Bug #274742 - Exempt $dir from quoting checks since it's a likely candidate
for false positives.
svn path=/main/trunk/; revision=13659
Zac Medico [Sat, 20 Jun 2009 23:42:31 +0000 (23:42 -0000)]
In doebuild_environment, ensure that cached $KV from the backupenv does not
leak into the environment for EAPI >= 3.
svn path=/main/trunk/; revision=13658
Zac Medico [Sat, 20 Jun 2009 19:16:51 +0000 (19:16 -0000)]
Factor duplicate code out of depgraph._add_pkg and _pop_disjunction.
svn path=/main/trunk/; revision=13657
Arfrever Frehtes Taifersar Arahesis [Sat, 20 Jun 2009 18:53:01 +0000 (18:53 -0000)]
Don't set KV for EAPI >=3.
svn path=/main/trunk/; revision=13656
Zac Medico [Fri, 19 Jun 2009 20:19:30 +0000 (20:19 -0000)]
Bug #264434 - Delay evaluation of all disjunctive (virtual and ||)
dependencies. Evaluting disjuctions as late as possible allows better
decisions since the graph is more complete when the decisions are made.
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial
patch.
svn path=/main/trunk/; revision=13655
Zac Medico [Thu, 18 Jun 2009 19:55:17 +0000 (19:55 -0000)]
Add a EMERGE_LOG_DIR variable to control the location of emerge.log and
emerge-fetch.log. This was requested by Eitan Mosenkis <eitan@mosenkis.net>
for use in his 'online image builder' soc project.
svn path=/main/trunk/; revision=13652
Zac Medico [Wed, 17 Jun 2009 22:04:43 +0000 (22:04 -0000)]
Allow missing ChangeLog when using git. We don't use ChangeLogs in
distributed SCMs. It will be generated on server side from scm log,
before package moves to the rsync server. This is needed because we
try to avoid merge collisions. Thanks to Tomas Chvatal
<scarabeus@gentoo.org> for this patch.
svn path=/main/trunk/; revision=13651
Zac Medico [Wed, 17 Jun 2009 20:50:05 +0000 (20:50 -0000)]
When --pretend overrides --ask, don't show any output.
svn path=/main/trunk/; revision=13650
Zac Medico [Wed, 17 Jun 2009 20:05:03 +0000 (20:05 -0000)]
Add NOCOLOR to the environment whitelist. This fixes inappropriate colors
produced by elog functions. Thanks to Luis F. Araujo <araujo@gentoo.org>
for reporting.
svn path=/main/trunk/; revision=13649
Zac Medico [Wed, 17 Jun 2009 19:31:57 +0000 (19:31 -0000)]
Rename color_codes back to codes.
svn path=/main/trunk/; revision=13648
Zac Medico [Wed, 17 Jun 2009 19:27:20 +0000 (19:27 -0000)]
Rename codes to _styles.
svn path=/main/trunk/; revision=13647
Zac Medico [Wed, 17 Jun 2009 18:59:14 +0000 (18:59 -0000)]
Rename map_code_to_color_code() to style_to_ansi_code().
svn path=/main/trunk/; revision=13646
Zac Medico [Wed, 17 Jun 2009 18:34:43 +0000 (18:34 -0000)]
Add epydoc docstrings fro codes and color_codes variables.
svn path=/main/trunk/; revision=13645
Zac Medico [Wed, 17 Jun 2009 04:04:46 +0000 (04:04 -0000)]
Use map_code_to_color_code() where appropriate inside ConsoleStyleFile.write().
svn path=/main/trunk/; revision=13644
Zac Medico [Tue, 16 Jun 2009 21:53:17 +0000 (21:53 -0000)]
Bug #274279 - Add color.map support for mapping a color to a different color
(rather than just mapping a class/style to a different color). Thanks to
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13643
Zac Medico [Tue, 16 Jun 2009 18:09:42 +0000 (18:09 -0000)]
Escape hyphens from previous commit.
svn path=/main/trunk/; revision=13642
Zac Medico [Tue, 16 Jun 2009 18:07:54 +0000 (18:07 -0000)]
Misc fixes and updates. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de>
for this patch from bug #274279.
svn path=/main/trunk/; revision=13641
Arfrever Frehtes Taifersar Arahesis [Sun, 14 Jun 2009 05:30:30 +0000 (05:30 -0000)]
Prepare 117 messages to localization.
svn path=/main/trunk/; revision=13639
Zac Medico [Sat, 13 Jun 2009 03:06:17 +0000 (03:06 -0000)]
Document FEATURES=python-trace.
svn path=/main/trunk/; revision=13638
Zac Medico [Sat, 13 Jun 2009 03:00:01 +0000 (03:00 -0000)]
Bug #273020 - Document FEATURES=multilib-strict. Thanks to Samuli Suominen
<ssuominen@gentoo.org> for the patch.
svn path=/main/trunk/; revision=13637
Zac Medico [Thu, 11 Jun 2009 21:06:46 +0000 (21:06 -0000)]
Remove unused newdepend(), newrdepend(), newpdepend(), and do_newdepend()
functions. Thanks to ABCD for reporting.
svn path=/main/trunk/; revision=13636
Zac Medico [Mon, 8 Jun 2009 10:06:12 +0000 (10:06 -0000)]
propset svn:rev ON
svn path=/main/trunk/; revision=13635
Zac Medico [Sun, 7 Jun 2009 07:11:01 +0000 (07:11 -0000)]
Fix more <listitem> elements to contain <para> elements.
svn path=/main/trunk/; revision=13634
Zac Medico [Sun, 7 Jun 2009 07:06:19 +0000 (07:06 -0000)]
Bug #272063 - Remove <funcsynopsisinfo> elements that don't validate.
svn path=/main/trunk/; revision=13633
Zac Medico [Sun, 7 Jun 2009 07:00:07 +0000 (07:00 -0000)]
Fix non-empty <xref> elements.
svn path=/main/trunk/; revision=13632
Zac Medico [Sun, 7 Jun 2009 06:56:37 +0000 (06:56 -0000)]
Remove <msgtext> element in invalid location.
svn path=/main/trunk/; revision=13631
Zac Medico [Sun, 7 Jun 2009 06:50:54 +0000 (06:50 -0000)]
Bug #272063 - Use <para> elements inside <listitem> elements.
svn path=/main/trunk/; revision=13630
Zac Medico [Wed, 3 Jun 2009 20:37:56 +0000 (20:37 -0000)]
Make usev() strip ! prefix in echoed output as specified in bug #270658,
comment #16.
svn path=/main/trunk/; revision=13628
Mike Frysinger [Wed, 3 Jun 2009 02:50:29 +0000 (02:50 -0000)]
drop sandbox settings that sandbox itself takes care of #258684
svn path=/main/trunk/; revision=13627
Zac Medico [Sun, 31 May 2009 06:16:58 +0000 (06:16 -0000)]
Bug #268929 - Add grep for 'dereferencing pointer' messages produced by
gcc 4.4. Thanks to ABCD <en.ABCD@gmail.com> for this patch.
svn path=/main/trunk/; revision=13626
Zac Medico [Sat, 16 May 2009 19:23:56 +0000 (19:23 -0000)]
Add some really big integers to the vercmp tests.
svn path=/main/trunk/; revision=13623
Zac Medico [Sun, 10 May 2009 07:20:03 +0000 (07:20 -0000)]
Enable FEATURES=assume-digests by default.
svn path=/main/trunk/; revision=13622
Zac Medico [Wed, 6 May 2009 22:12:44 +0000 (22:12 -0000)]
Fix digestcheck() to handle missing distfiles digests correctly. Thanks to
Petteri Räty <betelgeuse@g.o> for reporting.
svn path=/main/trunk/; revision=13618
Zac Medico [Wed, 6 May 2009 16:48:35 +0000 (16:48 -0000)]
Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian Ruppert
<idl0r@g.o> for reporting.
svn path=/main/trunk/; revision=13617
Mike Frysinger [Wed, 6 May 2009 16:26:01 +0000 (16:26 -0000)]
tweak output when diff access rights are needed
svn path=/main/trunk/; revision=13616
Zac Medico [Tue, 5 May 2009 20:23:28 +0000 (20:23 -0000)]
When generating ACCEPT_LICENSE for the ebuild environment, do not expand
*, since that would make it appear to the check_license() function as if
the user has accepted licenses which have not really been explicitly
accepted.
svn path=/main/trunk/; revision=13615
Zac Medico [Tue, 5 May 2009 08:18:53 +0000 (08:18 -0000)]
Make portdbapi.getfetchlist() return an equal number of uris/file names so
that no information is lost.
svn path=/main/trunk/; revision=13613
Zac Medico [Mon, 4 May 2009 20:59:52 +0000 (20:59 -0000)]
Fix misleading/outdated info in the DESCRIPTION section.
svn path=/main/trunk/; revision=13612
Zac Medico [Sun, 3 May 2009 20:45:34 +0000 (20:45 -0000)]
Fix "arguments" spelling.
svn path=/main/trunk/; revision=13608
Zac Medico [Sun, 3 May 2009 20:02:46 +0000 (20:02 -0000)]
Bug #268398 - Document econf's automatic die behavior.
svn path=/main/trunk/; revision=13600
Zac Medico [Sun, 3 May 2009 07:25:19 +0000 (07:25 -0000)]
Simplify DepPriority.__int__() and make it consistent with __str__().
svn path=/main/trunk/; revision=13599
Zac Medico [Sat, 2 May 2009 22:34:09 +0000 (22:34 -0000)]
Make useq() die if called during the "depend" phase in newer EAPIs.
svn path=/main/trunk/; revision=13598
Zac Medico [Sat, 2 May 2009 22:14:44 +0000 (22:14 -0000)]
Skip useq() IUSE QA Notices during the "depend" phase because lots of
ebuilds/eclasses have stuff in global scope that really belongs somewhere
like pkg_setup or src_configure. Thanks to Arfrever for reporting.
svn path=/main/trunk/; revision=13597
Zac Medico [Sat, 2 May 2009 20:49:27 +0000 (20:49 -0000)]
Fix inverted logic in superuser logic for bug #267104.
svn path=/main/trunk/; revision=13596
Zac Medico [Sat, 2 May 2009 08:04:17 +0000 (08:04 -0000)]
Fix DepPriority.__int__() to return distinguishable values, for use when
measuring hardness for the circular dependency display. This fixes a problem
visible in bug #268038, comment #0, where buildtime dependencies are
incorrectly displayed as runtime dependencies.
svn path=/main/trunk/; revision=13589
Zac Medico [Fri, 1 May 2009 21:59:43 +0000 (21:59 -0000)]
Bug #267175 - Instead of "poor code kills airplanes", say "install aborted
due to poor programming practices shown above" in order to help the user
link the die message to the related "poor programming practices" messages.
Thanks to Jeremy Olexa <darkside@g.o> for the suggestion.
svn path=/main/trunk/; revision=13584
Zac Medico [Fri, 1 May 2009 21:43:32 +0000 (21:43 -0000)]
Make elog functions use read -r when splitting lines, so that backslashes
intended for display will not be eaten.
svn path=/main/trunk/; revision=13582
Zac Medico [Fri, 1 May 2009 19:11:26 +0000 (19:11 -0000)]
Only generate KV when setting up the environment for a real ebuild phase. This
should preven "Permission Denied: /usr/src/linux/.config" errors reported
by repoman users (repoman may trigger the error when it calls the fetch phase).
svn path=/main/trunk/; revision=13580
Zac Medico [Fri, 1 May 2009 18:34:59 +0000 (18:34 -0000)]
Fix logic error which prevents repos.conf [DEFAULT] section from applying
to repos that don't have their own section. Thanks to Markos Chandras
<hwoarang@g.o> for reporting.
svn path=/main/trunk/; revision=13578
Zac Medico [Thu, 30 Apr 2009 21:59:26 +0000 (21:59 -0000)]
Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute()
since PORTAGE_RESTRICT is calculated by config.setcpv() now.
svn path=/main/trunk/; revision=13575