summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for thin manifestsSebastian Luther2011-09-122-5/+57
|
* add layout.conf awareness of thin-manifestsBrian Harring2011-09-121-2/+9
| | | | | | | | | For any repo that wants thin (just src_uri digests), they just need to add thin-manifests = true to their layout.conf. Again, this should only be used in repositories were the backing vcs provides checksums for the ebuild data.
* add thin manifest support to the Manifest classBrian Harring2011-09-122-54/+97
| | | | | | 'thin' is just distfiles. This is primarily useful when the ebuild lives in a vcs- git for example, which already has it's own checksums to rely on.
* Bind all manifest access through repoconfigsBrian Harring2011-09-1210-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 functionalityBrian Harring2011-09-121-100/+98
|
* ebuild.sh: make use* return false for "depend"Zac Medico2011-09-121-1/+6
| | | | This ensures that `use multislot` is false for the "depend" phase.
* save-ebuild-env.sh: tweak PYTHONPATH cleansingZac Medico2011-09-111-3/+7
|
* config: set USERLAND if unsetZac Medico2011-09-111-0/+13
|
* 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
|