summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate the manifest1_compat parameter.v2.2.0_alpha56Zac Medico2011-09-132-10/+11
|
* manifest: remove unused 'pf is None' caseZac Medico2011-09-131-2/+0
|
* metadata/layout.conf: "sign-manifests = false"Zac Medico2011-09-121-1/+5
| | | | | | This allows repos to disable manifest signatures, which is useful if they want to prevent merge conflicts like those that thin-manifests is designed to prevent.
* _validate_deps: pass myrepo to aux_getZac Medico2011-09-121-1/+2
|
* doebuild: support allow-missing and thin manifestZac Medico2011-09-121-15/+21
|
* 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-128-10/+29
| | | | | 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
|
* config: set USERLAND if unsetZac Medico2011-09-111-0/+13
|
* 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.
* 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.
* 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: remove metadata-transfer warningZac Medico2011-09-071-1/+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
|
* 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-051-9/+34
| | | | | 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
|
* 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
|
* elog/mod_save: join /var/log with EPREFIXZac Medico2011-09-032-2/+2
|
* Handle unpickle EOFError.Zac Medico2011-09-035-8/+14
|
* Handle unpickle AttributeError (bug #381705).Zac Medico2011-09-035-9/+20
|
* tests/emerge: add minimal herds.xmlZac Medico2011-09-033-17/+60
| | | | This will allow src_test to trigger issues like bug #381657.
* xml/metadata: handle py 3.1 cElementTree incompatZac Medico2011-09-031-2/+3
| | | | This will fix bug #381657.
* Fix indentation.v2.2.0_alpha52Arfrever Frehtes Taifersar Arahesis2011-09-021-1/+1
|
* xml/metadata: handle py 2.6 cElementTree incompatZac Medico2011-09-021-3/+12
|
* vartree: add missing _merge_unicode_error importZac Medico2011-09-021-2/+2
|