summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Add --binpkg-exclude optionSebastian Luther2011-10-163-6/+32
| | | | | This options disables creation of binary packages, no matter what enabled it in the first place. See bug 386903.
* Fix a typo in a comment.Arfrever Frehtes Taifersar Arahesis2011-10-161-1/+1
|
* RepoConfig: sort __slots__Zac Medico2011-10-151-2/+2
|
* _pull_valid_cache: pass unicode to hashed_pathZac Medico2011-10-151-4/+1
| | | | | | | | | This removes a conversion to bytes that should have been removed in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212. The hashed_path location attribute should always be unicode, for consistency will path handling throughout portage. The hashed_path class internally uses the portage portage.os wrapper to ensure that paths are encoded as utf_8 bytes when they are passed to the real os module for stat calls.
* MetadataRegen: remove unused importZac Medico2011-10-151-1/+0
|
* EbuildMetadataPhase: tweak metadata_callback usageZac Medico2011-10-151-3/+2
| | | | | For parse-eapi-ebuild-head, we want to assign self.metadata from the return value, for conformity with usage elsewhere.
* EbuildMetadataPhase: fix parse-eapi-ebuild-headZac Medico2011-10-151-2/+7
| | | | | This fixes bugs that can only be triggered by egencache since other callers handle parse-eapi-ebuild-head earlier.
* EbuildMetadataPhase: fix broken _metadata_callbackZac Medico2011-10-151-2/+2
| | | | | This fixes a regression in FEATURES=parse-eapi-ebuild-head support for egencache since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* bin/ebuild: don't set PORTAGE_CALLERZac Medico2011-10-151-1/+1
| | | | This removes the last reference to PORTAGE_CALLER.
* fixpackages: don't use PORTAGE_CALLERZac Medico2011-10-152-5/+11
|
* portdbapi.aux_get: fix broken _metadata_callbackZac Medico2011-10-151-1/+1
| | | | | This fixes a regression in FEATURES=parse-eapi-ebuild-head support since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* EbuildMetadataPhase: use b''.join() for bytesZac Medico2011-10-151-3/+3
|
* frozenset categories optimize pordbapi.cp_list()Zac Medico2011-10-151-2/+4
|
* FindVCS: support Subversion 1.7Fabian Groffen2011-10-151-2/+4
| | | | | Since subversion 1.7, only a top-level .svn dir is used. Make FindVCS also deal with that. (Tested with repoman on Prefix SVN-based tree.)
* emerge --metadata: fix empty INHERITED handlingZac Medico2011-10-142-3/+8
| | | | | | | | Since changes to eclass validation code in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212, validation of cache for packages with empty INHERITED metadata has been broken due to failure to distinguish between None and empty dict return values from eclass.cache.validate_and_rewrite_cache().
* emerge --metadata: fix breakageZac Medico2011-10-142-6/+18
| | | | | | The hunk that got removed from action_metadata in commit d4ea29bf6a3ce35d49e0f54f9173e3a6e42da2d6 is actually needed when FEATURES=metadata-transfer is enabled.
* eclass_cache: fix cache_getter typoZac Medico2011-10-141-1/+1
| | | | | | This triggered a regression since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212 that caused cache entries containing eclass paths to appear invalid.
* layout.conf: add git friendly pregenerated cache formatBrian Harring2011-10-142-3/+12
| | | | | | | | | | | | | | | | | Enabled via cache-format = md5-dict This format is essentially just flat_hash, using md5 rather than mtime, and dropping the path component from _eclasses_ entries. From a speed standpoint, the md5 overhead is ~16% in comparison to mtime, timed on a modern sandybridge; specifically, validating 29k nodes takes ~8.8s for flat_md5, while the pms norm is ~7.7s. That said, the cache is /usable/ in places PMS is not; in those cases, it can definitely be a win since even if the cache is partially old, it's better than regenerating everything from scratch. (cherry picked from commit 95ddf97e2f7e7d3f6a072604b2df5f77e9298558) Change-Id: Ic3561369b7a8be7f86480f339ab1686fddea6dff
* cache: rewrite to support arbitrary validation methodBrian Harring2011-10-148-97/+180
| | | | | | | | | | Specifically, the cache can use any portage supported checksum method, or use the standard mtime approach. In addition, support controlling whether or not paths are stored, and generally try to restore some of the centralization/encapsulation that was in place originally. (cherry picked from commit bc1aed614fb588f0ade5bcb5d1265a8db0f8d247) Change-Id: Ic38057e7dbb15063c64a93c99e66e113a7d4c70e
* cache.util: drop completely dead module/codeBrian Harring2011-10-142-191/+5
| | | | | | | Looks of it, this code was copied/mangled into action_metadata; the noise/callbacks in use don't do anything, so drop them, the dead code, and clean up the exception handling to reflect the new reality (cherry picked from commit 320890fadbedf678119ac06d458ed6086075431e)
* repoman: support REPOMAN_DEFAULT_OPTS variableZac Medico2011-10-141-1/+1
|
* Revert "Use plain ascii encoding for this file"Zac Medico2011-10-141-1/+2
| | | | | | | | This reverts commit 2a4b07c8d0105ea7418ea3afc9e777a7a396fc46. Current python ebuilds no longer remove the encodings directory when USE=ebuild is enabled, so now it's possible to use UTF8 encoding in python source files without triggering unsightly SyntaxError messages when python_mod_optimize is compiling byte-code files.
* Fix inverted QA_SONAME_NO_SYMLINK logic.Zac Medico2011-10-131-1/+1
|
* Don't generate soname symlinks for bug #387053.Zac Medico2011-10-131-9/+1
| | | | | | The symlink is not really needed now that the QA notice has been available for some time (testing since 2.1.10.4, and stable since 2.1.10.11).
* Add QA_SONAME_NO_SYMLINK for bug #387053.Zac Medico2011-10-131-0/+28
|
* _pull_valid_cache: fix readonly delete logicZac Medico2011-10-131-1/+1
|
* layout.conf: make the pregenerated cache format controllableBrian Harring2011-10-134-16/+22
| | | | | | | | | | | Controllable via 'cache-format', currently it supports only one cache; 'pms', and defaults to it. If an unsupported cache-format is specified, the cache is disabled. If pms is specified and metadata/cache directory doesn't exist, the cache is disabled. Finally, this rips out the best module support for locally overriding the cache format used for pregenerated caches; this functionality made zero sense (upstream determines the format, we use what is available).
* layout.conf: revert authoritative-cache supportZac Medico2011-10-133-32/+6
| | | | Those who wanted it have decided to use a different approach.
* digestcheck: handle allow_missing for distfilesZac Medico2011-10-131-0/+2
|
* Remove FEATURES=fixpackages support.v2.2.0_alpha67Zac Medico2011-10-112-3/+2
| | | | | | | This reduces the probability of users encountering issues related to package moves when they disable --dynamic-deps, and --package-moves=n can be set in EMERGE_DEFAULT_OPTS if package moves need to be temporarily avoided for some reason.
* Ensure correct IUSE in vdb for bug #386829.Zac Medico2011-10-111-7/+16
|
* fetch: tweak space msg for bug #386797Zac Medico2011-10-111-12/+14
|
* elog_process: fix ridicoulus newlines bug #386771Zac Medico2011-10-111-4/+12
| | | | | | This fixes a regression since commit 8a119ea94ecc6668797e3a1358465ef3733f3a3e which added a newline after each character. This boosts efficiency since we no longer convert a strings to lists of characters.
* FakeVartree: disable match wrapper if necessaryv2.2.0_alpha66Zac Medico2011-10-101-2/+2
|
* FakeVartree: type from last commitZac Medico2011-10-101-1/+1
|
* FakeVartree: fix sync for --dynamic-deps=nZac Medico2011-10-101-1/+2
|
* Scheduler: fix myopts typo from last commitZac Medico2011-10-101-1/+1
|
* Add emerge --dynamic-deps <y|n> option.Zac Medico2011-10-105-6/+27
| | | | | | | | | | | | | This makes it possible to disable the dynamic dependency updates that FakeVartree performs by default. WARNING: If --dynamic-deps is disabled, then it is necessary to ensure that an alternative method is used to handle package moves in dependencies of installed packages. Normally, this is handled by FEATURES="fixpackages", which is enabled by default and may be disabled via make.conf(5). Alternatively, in order to manually apply package moves, run `emaint --fix moveinst` after each emerge --sync operation (see emaint(1)).
* mod_syslog: add newlines for bug #386627Zac Medico2011-10-101-5/+4
| | | | | This fixes omission of newlines in syslog messages since commit ca7bef7821876791a26a5f9df6938f4c77fe571f.
* elog_process: add newlines for bug #386627Zac Medico2011-10-101-4/+4
| | | | | This fixes omission of newlines in saved messages since commit ca7bef7821876791a26a5f9df6938f4c77fe571f.
* tests/dodir: check relative path by itselfMike Frysinger2011-10-091-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: setup default bin env moreMike Frysinger2011-10-091-0/+3
| | | | | | We want the default testing env to match default portage env. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests/__init__: return int from main()Zac Medico2011-10-092-8/+9
|
* tests/__init__: import print_functionZac Medico2011-10-091-0/+2
|
* MaskManager: fix "Unmatched removal", bug #386569Zac Medico2011-10-091-5/+40
|
* Skip PORTAGE_TMPDIR write check for fetchonly.Zac Medico2011-10-091-6/+7
| | | | Bug #286201
* show_ignored_binaries: filter noise, bug #386379Zac Medico2011-10-091-0/+26
|
* tests: add --list flag to show available testsMike Frysinger2011-10-091-21/+34
| | | | | | | | | Trying to guess at what runtests actually wants in terms of command line tests is pretty hard. Any invalid value just gives you an ugly traceback. So add a helper --list option so the user can easily figure out what the code wants *exactly*. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: add a --help option to make runtest more friendlyMike Frysinger2011-10-091-2/+7
| | | | | | | At the moment, trying to do `./runtests.h -h` just produces an ugly and indecipherable traceback. Make it a bit more friendly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: split up getTests into helper funcs to avoid duplicationMike Frysinger2011-10-091-20/+17
| | | | | | | This avoids a little duplication between the getTestFromCommandLine and getTests funcs, and they'll get utilized even more in follow up patches. Signed-off-by: Mike Frysinger <vapier@gentoo.org>