summaryrefslogtreecommitdiffstats
path: root/pym/portage/package
Commit message (Collapse)AuthorAgeFilesLines
* config: raise PermissionDenied morev2.2.0_alpha161Zac Medico2013-01-242-10/+12
| | | | | | This enables clear reporting of "Permission Denied" when appropriate, instead of triggering nonsensical messages about invalid profiles or repositories.
* repoman: fix stable mask to use correct profilev2.2.0_alpha157Zac Medico2013-01-192-12/+27
| | | | | We can't rely on the internal config instance from the given package instance, since it does not refer to the correct profile.
* isStable: fix * logic for repomanZac Medico2013-01-191-1/+5
|
* isStable: handle * for repoman moreZac Medico2013-01-191-1/+1
|
* isStable: handle * for repomanv2.2.0_alpha156Zac Medico2013-01-191-1/+1
|
* Fix stable mask logic for repoman.Zac Medico2013-01-191-9/+19
| | | | | | For repoman, if the package has an effective stable keyword that intersects with the effective ACCEPT_KEYWORDS for the current profile, then consider it stable.
* Add workaround for Python 2.6.4 issue 4978Zac Medico2013-01-181-3/+4
| | | | | Avoid "TypeError: keywords must be strings" issue triggered by unicode_literals: http://bugs.python.org/issue4978
* Use unicode_literals more.Zac Medico2013-01-185-12/+21
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* doebuild: tweak handling of _unused paramZac Medico2013-01-151-4/+4
|
* EbuildMetadataPhase: use dynamic pipe fdZac Medico2013-01-151-37/+7
| | | | Also, remove deprecated code from doebuild (with hardcoded pipe fd).
* SpawnProcess: improve dummy pipe allocation logicZac Medico2013-01-151-2/+2
| | | | | | | By using allocated file descriptors for keys in fd_pipes, we naturally avoid interference with callers such as FileDigester and MergeProcess. See the _setup_pipes docstring for more benefits of this allocation approach.
* Warn if old make.globals found, bug #452176v2.2.0_alpha153Zac Medico2013-01-151-2/+16
|
* Warn if 2 make.profile dirs found, bug #452176Zac Medico2013-01-151-3/+15
|
* spawn_nofetch: import portage, bug #451344Zac Medico2013-01-101-0/+1
|
* emerge/test_simple.py: override PATH moreZac Medico2013-01-101-1/+3
| | | | | Override things that may be unavailable, or may have portability issues when running tests in exotic environments.
* ManifestTask: use PipeLogger for monitoringZac Medico2013-01-071-2/+8
|
* If 2 make.conf files found, then warn.Zac Medico2013-01-071-3/+12
| | | | | This may give a clue to those who unintentionally end up with 2 make.conf files somehow.
* MetadataRegen: simplify _iter_every_cpZac Medico2013-01-061-7/+3
|
* MetadataRegen: call cp_all for each categoryZac Medico2013-01-061-7/+10
| | | | | List categories individually, in order to start yielding quicker, and in order to reduce latency in case of a signal interrupt.
* ManifestScheduler: fix signal interrupt handlingZac Medico2013-01-061-3/+5
|
* Add QA_AM_MAINTAINER_MODE for bug #450278.Zac Medico2013-01-041-1/+26
|
* portage._internal_caller: use global_event_loopZac Medico2013-01-032-8/+18
| | | | | It's more efficient to use global_event_loop than a local EventLoop instance, so do that when we know it's safe.
* _doebuild_spawn: disable close_fds for "depend"Zac Medico2013-01-031-1/+6
|
* config: clarify that default target_root is /Zac Medico2012-12-191-1/+2
|
* Rename a private module in preparation for extending its functionality.Arfrever Frehtes Taifersar Arahesis2012-12-191-0/+0
|
* Handle closed sys.__stdin__, for multiprocessingZac Medico2012-12-152-3/+3
| | | | | | | Buggy code in python's multiprocessing/process.py closes sys.stdin and reassigns it to open(os.devnull), but fails to update the corresponding __stdin__ reference. So, detect that case and handle it appropriately. The buggy code is visible in http://hg.python.org/lookup/r73708.
* Add QA_CONFIGURE_OPTIONS variable.v2.2.0_alpha148Zac Medico2012-12-111-4/+29
|
* Avoid duplicate desktop QA notice, bug #446136Zac Medico2012-12-051-1/+1
|
* getmaskingstatus: fix ~* KEYWORDS handlingZac Medico2012-12-051-0/+7
| | | | | | | | | Since commit 9144faeb653b9f1dbe74c69f85cd48f26761aa2f, KeywordsManager.getMissingKeywords() has had support for ~* in KEYWORDS being matched by any unstable keyword in ACCEPT_KEYWORDS. However, getmaskingstatus still returned "missing keyword" for this case. Now, getmaskingstatus is fixed so that it won't erroneously return "missing keyword" in this case.
* Rename Package.metadata to _metadata.Zac Medico2012-11-263-5/+5
| | | | | The raw metadata is considered a private low-level internal. This makes the Package class consistent with the _pkg_str class.
* EAPI="5-progress": Add automatic unpack dependencies.Arfrever Frehtes Taifersar Arahesis2012-11-242-0/+41
|
* Add Package.eapi property.Zac Medico2012-11-172-3/+3
|
* Fix PORTAGE_BUILDIR_LOCKED typo.Arfrever Frehtes Taifersar Arahesis2012-11-163-6/+6
|
* EAPI="5-progress": Add package_manager_build_user() and ↵Arfrever Frehtes Taifersar Arahesis2012-11-162-5/+20
| | | | package_manager_build_group().
* EAPI="4-python" and EAPI="5-progress": Add support for use.aliases and ↵Arfrever Frehtes Taifersar Arahesis2012-11-151-3/+116
| | | | package.use.aliases.
* ManifestTask: use null stdin when checking sigv2.2.0_alpha141Zac Medico2012-10-171-1/+3
|
* Remove old binhost protocol for bug #438640.Zac Medico2012-10-171-1/+1
| | | | | The old protocol has been deprecated since portage-2.1.6 (2009), so it should be completely irrelevant now.
* config.setcpv: use constructed _pkg_str for mycpvZac Medico2012-10-171-1/+2
|
* doebuild: fix REPLACING_VERSIONS EAPI 5 sub-slotZac Medico2012-10-171-3/+2
|
* getmaskingreason: use _pkg_strZac Medico2012-10-171-11/+9
|
* ManifestTask: stricter gpg key comparisonZac Medico2012-10-171-1/+14
| | | | Use normalization and == comparison instead of the "in" operator.
* ManifestTask: use PopenProcess moreZac Medico2012-10-171-3/+1
|
* MaskManager: use _pkg_strZac Medico2012-10-171-11/+20
|
* config.setcpv: remove unused slot variableZac Medico2012-10-171-1/+0
|
* ManifestTask: improve gpg key parsingZac Medico2012-10-161-7/+10
| | | | | | | This fixes it to correctly parse longer key IDs, which do not fit on the first line of gpg output. Without this fix, failure to parse the key results in manifest being re-signed even though they already have a signature with the correct key.
* ManifestTask: remove unneeded _proc attributeZac Medico2012-10-161-14/+10
| | | | | | It's enough to reference the PopenProcess instance as self._current_task while it's alive (CompositeTask._cancel() can kill it via this).
* PopenProcess: integrate PipeReader supportZac Medico2012-10-161-15/+8
|
* egencache --update-manifests: re-sign when neededZac Medico2012-10-152-4/+88
| | | | | | If the Manifest is signed with a different key from the one specified by --gpg-key or PORTAGE_GPG_KEY, strip the existing signature and re-sign the Manifest.
* Bug #434970: Disable some warnings during `emerge --sync`.Arfrever Frehtes Taifersar Arahesis2012-10-141-3/+3
|
* EAPI="5-progress": Add master_repositories(), repository_path(),Arfrever Frehtes Taifersar Arahesis2012-10-141-26/+60
| | | | available_eclasses(), eclass_path() and license_path() functions.