Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bind all manifest access through repoconfigs | Brian Harring | 2011-09-12 | 10 | -14/+38 |
| | | | | | This enables controling the behaviour (creation and validation) per repo, and while mildly ugly, refactors in the right direction. | ||||
* | refactoring; unhide part of the parsing functionality | Brian Harring | 2011-09-12 | 1 | -100/+98 |
| | |||||
* | ebuild.sh: make use* return false for "depend" | Zac Medico | 2011-09-12 | 1 | -1/+6 |
| | | | | This ensures that `use multislot` is false for the "depend" phase. | ||||
* | save-ebuild-env.sh: tweak PYTHONPATH cleansing | Zac Medico | 2011-09-11 | 1 | -3/+7 |
| | |||||
* | config: set USERLAND if unset | Zac Medico | 2011-09-11 | 1 | -0/+13 |
| | |||||
* | isolated-functions.sh: skip set_colors for depend | Zac Medico | 2011-09-11 | 1 | -8/+13 |
| | | | | This avoids an unneeded stty call. | ||||
* | Move KV funcs to bashrc-functions.sh. | Zac Medico | 2011-09-11 | 3 | -53/+54 |
| | |||||
* | isolated-functions.sh: split save-ebuild-env.sh | Zac Medico | 2011-09-11 | 4 | -92/+95 |
| | |||||
* | ebuild.sh: setup PATH earlier | Zac Medico | 2011-09-11 | 1 | -7/+7 |
| | | | | | This avoids "uname: command not found" messages from isolated-functions.sh. | ||||
* | ebuild.sh: source *.sh at the top | Zac Medico | 2011-09-11 | 1 | -28/+28 |
| | |||||
* | Move preprocess_ebuild_env to phase-functions.sh. | Zac Medico | 2011-09-11 | 2 | -188/+184 |
| | |||||
* | ebuild.sh: split out bashrc-functions.sh | Zac Medico | 2011-09-11 | 2 | -92/+94 |
| | |||||
* | ebuild.sh: move hasg* funcs into econf | Zac Medico | 2011-09-11 | 3 | -13/+14 |
| | |||||
* | ebuild.sh: remove unused lchown and lchgrp | Zac Medico | 2011-09-11 | 2 | -9/+1 |
| | |||||
* | build.sh: has/best_version to phase-helpers.sh | Zac Medico | 2011-09-11 | 2 | -54/+47 |
| | |||||
* | ebuild.sh: move ebuild_main to phase-functions.sh | Zac Medico | 2011-09-11 | 2 | -223/+217 |
| | |||||
* | ebuild.sh: move use* funcs to phase-helpers.sh | Zac Medico | 2011-09-11 | 2 | -49/+50 |
| | |||||
* | ebuild.sh: add dummy funcs for "depend" phase | Zac Medico | 2011-09-11 | 1 | -0/+9 |
| | |||||
* | depgraph: pull in new virtual slots with --update | Zac Medico | 2011-09-11 | 2 | -11/+105 |
| | | | | | | | | This re-implements the fix from commit 21330075f07248765016e104b3ba8216903f1ecb, without introducing the unwanted behavior reported in bug 382557. This involves checking the direct dependencies of virtual slot updates to make sure they are all visible, before pulling them in. | ||||
* | Add VirtualSlotResolverTestCase for bug #382557. | Zac Medico | 2011-09-11 | 1 | -0/+46 |
| | |||||
* | Revert virtual slot update code for bug 382557. | Zac Medico | 2011-09-11 | 1 | -1/+0 |
| | | | | | | This reverts the behavior change from commit 21330075f07248765016e104b3ba8216903f1ecb, since it's too aggressive in pulling in new virtual slots that may have masked dependencies. | ||||
* | ebuild.sh: split out phase-helpers.sh | Zac Medico | 2011-09-10 | 2 | -520/+528 |
| | | | | | | | This relocates phase helper functions that are needed for execution of regular phases, but not for the "depend" phase. It reduces the size of ebuild.sh by 25%, so there's less code to be sourced during the "depend" phase. | ||||
* | ebuild.sh: split out phase-functions.sh | Zac Medico | 2011-09-10 | 2 | -608/+613 |
| | | | | | | | This relocates dyn_* and related functions that are needed for execution of regular phases, but not for the "depend" phase. It reduces the size of ebuild.sh by 23%, so there's less code to be sourced during the "depend" phase. | ||||
* | depgraph: refactor virtual slot --update code | Zac Medico | 2011-09-10 | 1 | -28/+26 |
| | | | | | | | This re-implements the change from commit 21330075f07248765016e104b3ba8216903f1ecb in order to avoid executing unnessary virtual slot expansion code when the given atom specifies a slot or --update is enabled. | ||||
* | repoman: fix a typo in the file.executable desc | Zac Medico | 2011-09-10 | 1 | -1/+1 |
| | |||||
* | Add repoman warning about bash-completion deprecation. | Michał Górny | 2011-09-10 | 1 | -0/+1 |
| | |||||
* | depgraph: use Atom.with_slot() to match virtuals | Zac Medico | 2011-09-10 | 1 | -1/+1 |
| | | | | This ensures that USE deps and repo deps are preserved here. | ||||
* | Atom: add a with_slot method for adding a slot | Zac Medico | 2011-09-10 | 1 | -0/+8 |
| | |||||
* | depgraph: use _iter_match_pkgs_any where possible | Zac Medico | 2011-09-09 | 1 | -6/+5 |
| | |||||
* | Use utf_8 'merge' encoding for all locales.v2.2.0_alpha55 | Zac Medico | 2011-09-09 | 1 | -18/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | Previously, we used sys.getfilesystemencoding() for the 'merge' encoding, but that had various problems: 1) If the locale is ever changed then it can cause orphan files due to changed character set translation. 2) Ebuilds typically install files with utf_8 encoded file names, and then portage would be forced to rename those files to match sys.getfilesystemencoding(), possibly breaking things. 3) Automatic translation between encodings can lead to nonsensical file names when the source encoding is unknown by portage. 4) It's inconvenient for ebuilds to convert the encodings of file names themselves, and upstreams typically encode file names with utf_8 encoding. So, instead of relying on sys.getfilesystemencoding(), we avoid the above problems by using a constant utf_8 'merge' encoding for all locales, as discussed in bug #382199 and bug #381509. | ||||
* | depgraph: pull in new virtual slots with --update | Zac Medico | 2011-09-09 | 1 | -1/+7 |
| | | | | | | | | Previously, the virtual cost minimization code from bug #141118 would prevent virtual dependencies from pulling in new slots. That behavior was not desired for --update, so now it's fixed to pull in the latest slot available. This allows virtual/jdk-1.7.0 to be pulled in by dependencies when --update is enabled. | ||||
* | getbinpkg: fix old binhost protocol for python3 | Zac Medico | 2011-09-08 | 1 | -3/+12 |
| | | | | This will fix bug #382233. | ||||
* | egencache: tweak cache dir write access check | Zac Medico | 2011-09-07 | 1 | -5/+9 |
| | |||||
* | egencache: remove metadata-transfer warning | Zac Medico | 2011-09-07 | 2 | -4/+0 |
| | | | | | | It should be enough that the automatic use of metadata-transfer is documented in the man page, and allows us to avoid showing a useless warning in common usage scenarios. | ||||
* | pordbapi: add unshared cache mode for egencache | Zac Medico | 2011-09-07 | 1 | -6/+27 |
| | |||||
* | egencache: validate cache dir more | Zac Medico | 2011-09-07 | 1 | -3/+19 |
| | |||||
* | cache/volatile: fix __iter__ and __contains__ | Zac Medico | 2011-09-07 | 1 | -2/+6 |
| | | | | Special methods can't be assigned in the constructor. | ||||
* | abssymlink: fix inverted logic from last commitv2.2.0_alpha54 | Zac Medico | 2011-09-06 | 1 | -1/+1 |
| | |||||
* | merge: avoid abssymlink readlink call | Zac Medico | 2011-09-06 | 2 | -3/+11 |
| | | | | | | This will avoid the "OSError: [Errno 2] No such file or directory" that is triggered inside abssymlink if the merge encoding is not ascii or utf_8, as shown in bug #382021. | ||||
* | tests/emerge: test regenworld | Zac Medico | 2011-09-05 | 1 | -0/+3 |
| | |||||
* | tests/emerge: test fixpackages | Zac Medico | 2011-09-05 | 1 | -0/+3 |
| | |||||
* | tests/emerge: test env-update | Zac Medico | 2011-09-05 | 2 | -1/+4 |
| | |||||
* | tests/emerge: test portageq | Zac Medico | 2011-09-05 | 1 | -3/+16 |
| | |||||
* | ResolverPlayground: make.profile in /etc/portage | Zac Medico | 2011-09-05 | 1 | -10/+10 |
| | |||||
* | tests/emerge: test egencache | Zac Medico | 2011-09-05 | 2 | -16/+38 |
| | | | | | This tests --update in any case, and --update-use-local-desc only if python xml support is detected. | ||||
* | tests/emerge: add a debug mode that shows stdout | Zac Medico | 2011-09-05 | 1 | -7/+24 |
| | |||||
* | tests/emerge: test directory with latin-1 enc | Zac Medico | 2011-09-05 | 1 | -2/+4 |
| | |||||
* | Update unread news items in --pretend mode. | Zac Medico | 2011-09-04 | 1 | -4/+17 |
| | | | | | | | | | This has been disabled since commit c7faa634369e61b87a40172ceb0a5cb9494fd518, but the only reason cited was to avoid permissions issues. So, go ahead and enable it, and handle PermissionDenied just in case. NOTE: The NewsManager typically handles permission errors by returning silently, so PermissionDenied won't necessarily be raised even if we do trigger a permission error. | ||||
* | test_pty_eof: add SKIP msg for unsupported plat | Zac Medico | 2011-09-04 | 1 | -0/+13 |
| | |||||
* | tests/emerge: auto-disable sandbox if necessary | Zac Medico | 2011-09-04 | 1 | -0/+6 |
| |