summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/Scheduler.py
Commit message (Collapse)AuthorAgeFilesLines
* Add a note in _find_system_deps about needing the system set added to theZac Medico2010-03-021-0/+3
| | | | | | graph. (trunk r15510) svn path=/main/branches/2.1.7/; revision=15708
* Move portage.digestcheck to portage.package.ebuild.digestcheck. (trunk r15458)Zac Medico2010-03-021-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=15667
* Fix broken digestgen import. (trunk r15457)Zac Medico2010-03-021-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15666
* Move digestgen to portage.util.digestgen. (trunk r15454)Zac Medico2010-03-021-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=15663
* Make the first two positional arguments of digestgen() into keyword argumentsZac Medico2010-03-021-1/+1
| | | | | | | | since the first one isn't really needed (when this code is in stable we can start showing a deprecation warning when the redundant argument is used). (trunk r15438) svn path=/main/branches/2.1.7/; revision=15653
* Bug #295715 - Implement a register_success_hook function to complementZac Medico2009-12-061-3/+9
| | | | | | | | register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). (trunk r14936) svn path=/main/branches/2.1.7/; revision=14950
* Use portage.StringIO to avoid duplicate import fallback code. (trunk r14931)Zac Medico2009-12-061-8/+1
| | | | svn path=/main/branches/2.1.7/; revision=14945
* Add setup phases to the tail of the merge queue instead of the front, sinceZac Medico2009-11-161-1/+1
| | | | | | | | otherwise when merging binary packages we sometimes tend to get a large number of setup phases flooding the queue and preventing queued installs from running. (trunk r14816) svn path=/main/branches/2.1.7/; revision=14834
* Bug #291200 - Add a --quiet-build option to redirect all build output to logsZac Medico2009-11-071-1/+2
| | | | | | alone, and do not display it on stdout. (trunk r14783) svn path=/main/branches/2.1.7/; revision=14796
* Factor out duplicate "These are the packages that would be merged",Zac Medico2009-10-241-25/+0
| | | | | | "Calculating dependencies", and spinner cleanup code. (trunk r14704) svn path=/main/branches/2.1.7/; revision=14713
* Add a --unordered-display option for use with --tree. This allows the displayZac Medico2009-10-241-3/+8
| | | | | | | to be optimized differently since the merge order is not preserved. Thanks to Sebastian Mingramm (few) for the initial patch. (trunk r14703) svn path=/main/branches/2.1.7/; revision=14712
* Merge the internal package set changes from trunk r14614 (bug #266454). NoneZac Medico2009-10-181-1/+1
| | | | | | | of these changes should be noticeable to users. This is just to keep the diff relative to trunk as small as possible. svn path=/main/branches/2.1.7/; revision=14642
* Bug #288906 - Fix Scheduler._dblink_elog() to always append messages to theZac Medico2009-10-181-14/+19
| | | | | | | build log if available (regardless whether or not message goes to stdout). (trunk r14600) svn path=/main/branches/2.1.7/; revision=14634
* Fix _set module imports for rename, add hardcoded config for system and world,Zac Medico2009-10-101-2/+2
| | | | | | and remove unused sets code. svn path=/main/branches/2.1.7/; revision=14540
* Bug #272000 - When --keep-going is enabled, don't completely bail out atZac Medico2009-10-091-6/+8
| | | | | | | the beginning due to corrupt manifest(s). Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14523
* Bug #265267 - When disabling --jobs due to interactive package(s), hintZac Medico2009-10-061-1/+4
| | | | | | about --accept-properties=-interactive option. svn path=/main/trunk/; revision=14507
* When restarting emerge, don't trust sys.argv[0] since eselect-python mayZac Medico2009-10-061-1/+3
| | | | | | modify it. svn path=/main/trunk/; revision=14499
* Bug #286522 - Check all portdbapi.findname return values in case itZac Medico2009-09-261-6/+6
| | | | | | returns None, and raise 'ebuild not found' exceptions when necessary. svn path=/main/trunk/; revision=14442
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-3/+3
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+3
| | | | svn path=/main/trunk/; revision=14316
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+1
| | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
* Support print() function with Python 2 in more files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
| | | | svn path=/main/trunk/; revision=14295
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-5/+5
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+1
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Inside Scheduler._check_manifests(), display all broken manifests instead ofZac Medico2009-09-051-1/+5
| | | | | | | returning after the first one. Thanks to Vlastimil Babka <caster@g.o> for the suggestion. svn path=/main/trunk/; revision=14202
* Show log paths when displaying the list of failed packages for --keep-going.Zac Medico2009-08-241-11/+14
| | | | svn path=/main/trunk/; revision=14154
* In Scheduler._schedule_tasks_imp(), add uninstall operations to the frontZac Medico2009-08-221-1/+1
| | | | | | of the merge queue. svn path=/main/trunk/; revision=14129
* Make Scheduler._choose_pkg() prefer uninstall operations when available.Zac Medico2009-08-221-3/+13
| | | | svn path=/main/trunk/; revision=14128
* Use _encodings where appropriate.Zac Medico2009-08-201-7/+17
| | | | svn path=/main/trunk/; revision=14105
* Use a clean listener system for portage.elog instead of _emerge_elog_listenerMounir Lamouri2009-08-161-2/+2
| | | | svn path=/main/trunk/; revision=14071
* Scheduler is now able to clean world set when removing a package.Mounir Lamouri2009-08-151-13/+21
| | | | | | | world_atom function has been updated and PackageUninstall is calling it after unmerge. svn path=/main/trunk/; revision=14070
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-17/+7
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994
* Add unicode conversions in various logging code.Zac Medico2009-08-061-0/+4
| | | | svn path=/main/trunk/; revision=13931
* Open log files in text mode (to avoid UnicodeEncodeError). Thanks to MarkosZac Medico2009-08-041-3/+7
| | | | | | Chandras <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13901
* Skip Blocker instances inside _add_prefetchers().Zac Medico2009-07-201-1/+2
| | | | svn path=/main/trunk/; revision=13842
* Move mtimedb resume list code from action_build() toZac Medico2009-07-201-0/+9
| | | | | | Scheduler._save_resume_list(). svn path=/main/trunk/; revision=13841
* Fix Scheduler bug:Mounir Lamouri2009-07-201-0/+2
| | | | | | the scheduler was adding prefetcher even for uninstall tasks svn path=/main/trunk/; revision=13838
* In _check_manifests(), skip uninstall operations.Zac Medico2009-07-191-0/+3
| | | | svn path=/main/trunk/; revision=13835
* Always exit unsuccessfully if there are any failures.Zac Medico2009-07-061-1/+3
| | | | svn path=/main/trunk/; revision=13793
* Add missing resume_depgraph import, and remove unused imports.Zac Medico2009-06-281-4/+1
| | | | svn path=/main/trunk/; revision=13732
* Add a Package.metadata.properties attribute containing a list of enabledZac Medico2009-06-251-8/+1
| | | | | | PROPERTIES values. svn path=/main/trunk/; revision=13692
* Add/update copyright headers.Zac Medico2009-06-251-0/+4
| | | | svn path=/main/trunk/; revision=13690
* * Make Package.metadata['USE'] access trigger USE calculation for unbuiltZac Medico2009-06-251-8/+2
| | | | | | | | | | ebuilds. * Make Package.metadata['LICENSE'] access trigger USE conditional evaluation. * Make Package.metadata['PROVIDE'] access trigger USE conditional evaluation. * Initialize Package.metadata['CHOST'] in the Package constructor for unbuilt ebuilds. svn path=/main/trunk/; revision=13686
* Bu #275217 - Part 1 - Resolve the circular dep between Scheduler andZac Medico2009-06-231-6/+1
| | | | | | | depgraph; mark all functions as local that aren't used outside of depgraph. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13676
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 5).Zac Medico2009-06-231-0/+1641
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13672