summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/resolver
Commit message (Collapse)AuthorAgeFilesLines
* Use constants for more hardcoded *DEPEND lists.v2.2.0_alpha133Zac Medico2012-09-251-2/+3
|
* circular_dependency: handle HDEPENDZac Medico2012-09-241-1/+2
|
* _create_use_string: pass in feature_flags argv2.2.0_alpha132Zac Medico2012-09-232-7/+8
| | | | This allows them to be looked up outside of the USE_EXPAND loop.
* Add _get_feature_flags(eapi_attrs) function.Zac Medico2012-09-232-4/+6
| | | | | | This will be useful for adding flags that behave specially in experimental EAPIs, such as the targetroot/sysroot flag which is planned for EAPI 5-hdepend.
* Display: simplify _blockersZac Medico2012-09-131-13/+6
| | | | | The fetch_symbol variable was always just a space, and no return value was really needed.
* merge list: distinguish reinstall with red "r"Zac Medico2012-09-132-2/+13
| | | | | This is for reinstall due to slot or sub-slot change of a dependency when the := slot operator is used.
* Refactor merge list attribute display.Zac Medico2012-09-132-84/+106
| | | | | This should not change the behavior at all, but it makes the display much easier to modify or extend.
* Bind FEATURES=-test to USE=-test for bug #373209.Zac Medico2012-09-131-3/+5
| | | | | | Also, make options like emerge --newuse ignore the state of USE=test, since users typically don't want to trigger a bunch of rebuilds when they enable or disable FEATURES=test.
* Rename slot-abi stuff to refer to slot-operator.Zac Medico2012-08-292-10/+10
| | | | | This makes it consistent with the language in the PMS eapi-5 branch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47
* Pass eapi to check_required_use more.Zac Medico2012-08-271-3/+6
|
* BacktrackParameter: fix runtime_pkg_mask copyZac Medico2012-06-271-1/+5
| | | | This caused the backtracker to bail out too early sometimes.
* slot_conflict_handler: handle slot_abiZac Medico2012-06-271-14/+30
| | | | | We have to distinguish this from the "version" conflict, in order to avoid invalid vercmp calls when there's not version.
* Slot conflict "abi" backtrack nodes non-terminal.Zac Medico2012-06-221-0/+2
|
* slot_abi_mask_built: don't discard other masksZac Medico2012-06-221-1/+3
|
* Add experimental EAPI 4-slot-abi support.Zac Medico2012-06-221-4/+13
| | | | Refer to 4-slot-abi.docbook for a full description.
* resolver/output: cleanup countersZac Medico2012-06-201-16/+9
|
* backtracking: only feedback first slot conflictZac Medico2012-06-201-6/+5
| | | | | | Only create BacktrackNode instances for the first conflict which occurred, since the conflicts that occurred later may have been caused by the first conflict.
* depgraph: optimize slot conflict backtrack orderZac Medico2012-06-191-1/+9
|
* Limit long slot conflict loop for bug #410801.Zac Medico2012-04-051-3/+15
|
* Replace @returns with @return.Zac Medico2012-03-271-4/+4
|
* emerge --changelog: show some log entries aboveZac Medico2012-03-221-3/+18
| | | | This will fix bug #373009.
* emerge --changelog: fix split ChangeLog bugsZac Medico2012-03-222-19/+46
| | | | | This should fix possible missing content when displaying split ChangeLogs (bug #389611), and also normalizes blank lines.
* spawn_nofetch: clone locked config, bug #408817Zac Medico2012-03-191-2/+1
| | | | | | It's unsafe to pass in an unlocked config instance, since that can trigger issues like bug #408817 due to fragile assumptions involving the config state inside doebuild_environment().
* Display: spawn pkg_nofetch when appropriateMartin von Gagern2012-03-131-1/+12
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* Use consistent indentation in output of `emerge -p --columns ${package}`Arfrever Frehtes Taifersar Arahesis2012-01-281-2/+2
| | | | regardless of ROOT.
* Delete needless parentheses.Arfrever Frehtes Taifersar Arahesis2012-01-281-5/+5
|
* Don't print ::${repository} for main repository in output ofArfrever Frehtes Taifersar Arahesis2012-01-282-31/+38
| | | | | `emerge -pv ${package}` by default. Add --verbose-main-repo-display option, which enables printing ::${repository} for main repository.
* Fix display of installed version for packages, which have multiple slotsArfrever Frehtes Taifersar Arahesis2012-01-231-2/+3
| | | | installed. Follow-up to commit 8118be36842a2db2eb72538e21a3b343773b3365.
* Make the second part of_emerge.resolver.output.Display.verbose_size()Arfrever Frehtes Taifersar Arahesis2012-01-221-26/+24
| | | | | conditional on self.quiet_repo_display instead of earlier returning if self.quiet_repo_display is False. No functional changes.
* Print [${old_version}::${old_repository}] in output of `emerge -pv ${package}`Arfrever Frehtes Taifersar Arahesis2012-01-221-1/+3
| | | | | when ${old_version} is the same as ${new_version}, but ${old_repository} is different than ${new_repository}.
* Print ::${repository} in output of `emerge -pv ${package}` by default.Arfrever Frehtes Taifersar Arahesis2012-01-212-18/+45
| | | | Add --quiet-repo-display option, which enables previous, more quiet output.
* Display EROOT when ROOT != "/".Zac Medico2011-12-192-2/+2
| | | | | | | Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, the Package.root and RootConfig.root attributes refer to EROOT instead of ROOT. Therefore, adjust display code so that EROOT is only displayed when ROOT != "/".
* Fix some warnings found by pylint.Arfrever Frehtes Taifersar Arahesis2011-12-181-1/+1
|
* resolver/output: unused importsZac Medico2011-11-171-4/+3
|
* emerge --changelog: omit entry for current verZac Medico2011-11-171-1/+2
| | | | | This is a regression from commit 69d7f169ba2e27cf56746791331c63a019357100, reported in bug #390893.
* Skip the "resume after portage update" routine.Zac Medico2011-11-172-22/+0
| | | | | | | Instead, finish the whole job using a copy of the currently running instance. This allows us to avoid the complexities of emerge --resume, such as the differences in option handling between different portage versions, as reported in bug #390819.
* Fix breakage from last commit.Zac Medico2011-11-071-1/+1
|
* REQUIRED_USE: don't save in built packagesZac Medico2011-11-072-3/+4
| | | | | | | It should be safe to assume that REQUIRED_USE is satisfied if the package is built, so it's a waste to save it. Also, fix code which assumes that built Package instances have a REQUIRED_USE key in their metadata.
* emerge --changelog: ChangeLog-YYYY, bug #389611Zac Medico2011-11-061-19/+30
|
* resolver/output: use set for myfetchlist hashingZac Medico2011-10-191-2/+2
|
* resolver/output: display binary fetch sizeZac Medico2011-10-191-5/+14
|
* print_changelog: if no changelogs, no newlineZac Medico2011-10-021-0/+2
| | | | This will fix bug #385413.
* Reject inconsistent backtrack parametersSebastian Luther2011-09-201-0/+25
| | | | | | | If backtracking masks a package that caused another package to be masked, we declare this backtracking node as invalid. The backtracker should be able to find another node that gives a valid solution if one exists. This fixes bug 375573.
* _RepoDisplay: split PORTDIR_OVERLAY with shlexZac Medico2011-09-171-2/+2
| | | | This fixes the issue in bug #383269, comment #8.
* depgraph: handle invalid SRC_URIZac Medico2011-07-271-2/+7
| | | | This is a minimal fix for bug #376577.
* Migrate from codecs.open() to io.open().Zac Medico2011-07-101-2/+2
| | | | | | | | | | | | | | | | | The io.open() function is the same as the built-in open() function in python3, and its implementation is optimized in python-2.7 and later. In addition to the possible performance improvement, this also allows us to avoid any future compatibility issues with codecs.open() that may arise if it is delegated to the built-in open() function as discussed in PEP 400. The main caveat involved with io.open() is that TextIOWrapper.write() raises TypeError if given raw bytes, unlike the streams returned from codecs.open(). This is mainly an issue for python2 since literal strings are raw bytes. We handle this by wrapping TextIOWrapper.write() arguments with our _unicode_decode() function. Also, the atomic_ofstream class overrides the write() method in python2 so that it performs automatic coercion to unicode when necessary.
* circular_dependency: fix total_flags calcZac Medico2011-07-101-2/+2
|
* slot_collision: fix more for bug 374423Zac Medico2011-07-101-0/+9
|
* slot_collision: fix AttributeError for bug 374423Zac Medico2011-07-101-0/+14
|
* circular_dependency: fix REQUIRED_USE testZac Medico2011-07-091-0/+17
|