summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* StaticFileSet: fix for EAPI 5 sub-slot in SLOTZac Medico2012-10-171-2/+2
|
* _sets/dbapi: fix for EAPI 5 sub-slot in SLOTZac Medico2012-10-171-14/+11
|
* depgraph: fix for EAPI 5 sub-slot in SLOTZac Medico2012-10-171-16/+12
|
* actions.py: use _pkg_str for EAPI 5 sub-slotZac Medico2012-10-171-12/+4
|
* 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
|
* PopenProcess: child_watch_add if no pipe_readerZac Medico2012-10-171-4/+6
|
* MaskManager: use _pkg_strZac Medico2012-10-171-11/+20
|
* config.setcpv: remove unused slot variableZac Medico2012-10-171-1/+0
|
* vartree.py: account for EAPI 5 sub-slot in SLOTZac Medico2012-10-171-16/+18
|
* create_world_atom: account for EAPI 5 sub-slotZac Medico2012-10-171-7/+5
|
* glsa: account for EAPI 5 sub-slot in SLOTZac Medico2012-10-171-1/+1
|
* glsa.py: use try/finally for urlopenZac Medico2012-10-171-1/+6
| | | | | | Fixes this error reported with python 2.7.3: AttributeError: addinfourl instance has no attribute '__exit__'
* Scheduler: tweak job_delay calc for bug #438650v2.2.0_alpha140Zac Medico2012-10-161-5/+16
| | | | | | | | * Max delay is reduced to 5 seconds (was 10). * Calculated delay is now proportional to current/desired load ratio. * When a delay is triggered, an event loop timeout is used to ensure that scheduling occurs as soon as the delay expires (rather than waiting for the _loadavg_latency timeout to expire).
* 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.
* Move portage.dep._internal_warnings to portage.v2.2.0_alpha139Zac Medico2012-10-163-12/+10
|
* emerge: optimize --moo, remove deprecated mooZac Medico2012-10-162-26/+21
| | | | | The --moo action is fast like --help now. The "moo" argument has been deprecated since bug #389609, and is now removed.
* 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).
* emerge_main: use parse_opts for --helpZac Medico2012-10-161-6/+5
|
* Test PopenProcess.Zac Medico2012-10-161-0/+48
|
* CompositeTask._start_task: propagate schedulerZac Medico2012-10-162-0/+8
|
* Handle missing mkfifo for Jython.Zac Medico2012-10-161-1/+6
|
* PopenProcess: integrate PipeReader supportZac Medico2012-10-162-17/+22
|
* run_action: gc locals of calling funcZac Medico2012-10-162-2/+10
|
* emerge_main: split out run_actionZac Medico2012-10-164-916/+949
| | | | Also move post_emerge and chk_updated_cfg_files to separate files.
* Add missing PopenProcess class from last commit.Zac Medico2012-10-151-0/+15
|
* 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.
* Add Display._append_repository() to avoid duplication of some code.Arfrever Frehtes Taifersar Arahesis2012-10-151-13/+18
|
* emerge_main: move imports to topZac Medico2012-10-151-5/+4
|
* emerge_main: disable color earlierZac Medico2012-10-151-3/+5
| | | | | | | | Since commit 2ca487f929962154488999a125a7387eeb44be88, --help has not respected --color=n and related options, since it's been optimized to bypass options and config parsing. Now it's fixed to show without colors in this optimized case (help with colors may be shown in some other cases, like when emerge is called with zero arguments).
* Display slots and subslots in output of `emerge -pv ${package}`.Arfrever Frehtes Taifersar Arahesis2012-10-152-22/+65
|
* MergeListItem: don't color "binary"Zac Medico2012-10-141-1/+1
|
* emerge: lazy imports, optimize --helpZac Medico2012-10-143-36/+33
|
* chk_updated_info_files: move to separate fileZac Medico2012-10-142-132/+143
|
* display_preserved_libs: move to separate fileZac Medico2012-10-142-89/+95
|
* emerge: handle KeyboardInterrupt, not SIGINTZac Medico2012-10-141-2/+1
| | | | | | | | We handle KeyboardInterrupt instead of installing a SIGINT handler, since exiting from signal handlers intermittently causes python to ignore the SystemExit exception with a message like this: Exception SystemExit: 130 in <function remove at 0x7fd2146c1320> ignored
* Invert order of arguments in Display._set_non_root_columns() andArfrever Frehtes Taifersar Arahesis2012-10-141-6/+6
| | | | Display._set_root_columns() for consistency with Display._set_no_columns().
* Display.set_pkg_info(): Set cp and ver attributes.Arfrever Frehtes Taifersar Arahesis2012-10-141-3/+2
|
* match_from_list: rm redundant catpkgsplit(mycpv)Zac Medico2012-10-141-3/+2
|
* simplify Display.convert_myoldbest().Zac Medico2012-10-131-2/+2
|
* Simplify Display.get_ver_str().Zac Medico2012-10-131-6/+4
|
* Bug #434970: Disable some warnings during `emerge --sync`.Arfrever Frehtes Taifersar Arahesis2012-10-145-6/+13
|
* EAPI="5-progress": Add master_repositories(), repository_path(),Arfrever Frehtes Taifersar Arahesis2012-10-143-30/+70
| | | | available_eclasses(), eclass_path() and license_path() functions.
* MergeListItem: color binary display, bug #438254Zac Medico2012-10-132-5/+10
|
* PollScheduler: fix _schedule() to return Truev2.2.0_alpha137Zac Medico2012-10-101-2/+4
| | | | | | This fixes a regression like bug #403895, introduced in commit b696337bf20fdc539ce7721df7a4b42b35999705, since functions have to return True in order to be continuously scheduled.
* Atom: support *_beta* wildcard, bug #437872Zac Medico2012-10-103-4/+12
|
* _parse_uri_map: preserve order of URIsZac Medico2012-10-081-3/+8
| | | | Returns a dict of tuples instead of a dict of sets.
* fetch: preserve SRC_URI order for primaryuriv2.2.0_alpha136Zac Medico2012-10-081-1/+4
|
* PollScheduler: disable default _loadavg_latencyZac Medico2012-10-083-3/+10
| | | | | | Move the 30 second default to the Scheduler class, since that's the only place that it's currently needed (all other schedulers have relatively short-running jobs).