summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* isolated-functions.sh: skip set_colors for dependZac Medico2011-09-111-8/+13
| | | | This avoids an unneeded stty call.
* Move KV funcs to bashrc-functions.sh.Zac Medico2011-09-113-53/+54
|
* isolated-functions.sh: split save-ebuild-env.shZac Medico2011-09-114-92/+95
|
* ebuild.sh: setup PATH earlierZac Medico2011-09-111-7/+7
| | | | | This avoids "uname: command not found" messages from isolated-functions.sh.
* ebuild.sh: source *.sh at the topZac Medico2011-09-111-28/+28
|
* Move preprocess_ebuild_env to phase-functions.sh.Zac Medico2011-09-112-188/+184
|
* ebuild.sh: split out bashrc-functions.shZac Medico2011-09-112-92/+94
|
* ebuild.sh: move hasg* funcs into econfZac Medico2011-09-113-13/+14
|
* ebuild.sh: remove unused lchown and lchgrpZac Medico2011-09-112-9/+1
|
* build.sh: has/best_version to phase-helpers.shZac Medico2011-09-112-54/+47
|
* ebuild.sh: move ebuild_main to phase-functions.shZac Medico2011-09-112-223/+217
|
* ebuild.sh: move use* funcs to phase-helpers.shZac Medico2011-09-112-49/+50
|
* ebuild.sh: add dummy funcs for "depend" phaseZac Medico2011-09-111-0/+9
|
* depgraph: pull in new virtual slots with --updateZac Medico2011-09-112-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 Medico2011-09-111-0/+46
|
* Revert virtual slot update code for bug 382557.Zac Medico2011-09-111-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.shZac Medico2011-09-102-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.shZac Medico2011-09-102-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 codeZac Medico2011-09-101-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 descZac Medico2011-09-101-1/+1
|
* Add repoman warning about bash-completion deprecation.Michał Górny2011-09-101-0/+1
|
* depgraph: use Atom.with_slot() to match virtualsZac Medico2011-09-101-1/+1
| | | | This ensures that USE deps and repo deps are preserved here.
* Atom: add a with_slot method for adding a slotZac Medico2011-09-101-0/+8
|
* depgraph: use _iter_match_pkgs_any where possibleZac Medico2011-09-091-6/+5
|
* Use utf_8 'merge' encoding for all locales.v2.2.0_alpha55Zac Medico2011-09-091-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 --updateZac Medico2011-09-091-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 python3Zac Medico2011-09-081-3/+12
| | | | This will fix bug #382233.
* egencache: tweak cache dir write access checkZac Medico2011-09-071-5/+9
|
* egencache: remove metadata-transfer warningZac Medico2011-09-072-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 egencacheZac Medico2011-09-071-6/+27
|
* egencache: validate cache dir moreZac Medico2011-09-071-3/+19
|
* cache/volatile: fix __iter__ and __contains__Zac Medico2011-09-071-2/+6
| | | | Special methods can't be assigned in the constructor.
* abssymlink: fix inverted logic from last commitv2.2.0_alpha54Zac Medico2011-09-061-1/+1
|
* merge: avoid abssymlink readlink callZac Medico2011-09-062-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 regenworldZac Medico2011-09-051-0/+3
|
* tests/emerge: test fixpackagesZac Medico2011-09-051-0/+3
|
* tests/emerge: test env-updateZac Medico2011-09-052-1/+4
|
* tests/emerge: test portageqZac Medico2011-09-051-3/+16
|
* ResolverPlayground: make.profile in /etc/portageZac Medico2011-09-051-10/+10
|
* tests/emerge: test egencacheZac Medico2011-09-052-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 stdoutZac Medico2011-09-051-7/+24
|
* tests/emerge: test directory with latin-1 encZac Medico2011-09-051-2/+4
|
* Update unread news items in --pretend mode.Zac Medico2011-09-041-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 platZac Medico2011-09-041-0/+13
|
* tests/emerge: auto-disable sandbox if necessaryZac Medico2011-09-041-0/+6
|
* Fix repoman dependency.unknown to use xmatch.v2.2.0_alpha53Zac Medico2011-09-031-11/+12
| | | | This solves the issues discussed in bug #381087, comment #8.
* Handle symlink content with bad encoding.Zac Medico2011-09-033-8/+38
| | | | | | | | This will fix bug #381629. The case is tested in tests/emerge. During forced charset conversion, 'ascii' codec is forced, since otherwise we somehow end up with the wrongly encoded file names when running the test with Python 3.2 (which causes encoding problems for quickpkg when it calls tarfile.gettarinfo).
* Join /var/log/emerge.log with EPREFIX.Zac Medico2011-09-031-1/+10
|
* elog/mod_save: join /var/log with os.sep tooZac Medico2011-09-032-2/+4
|
* elog/mod_echo: send all msg types to stdoutZac Medico2011-09-031-0/+13
|