summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Tweak arguments for <python-2.6 compat.Zac Medico2009-07-091-2/+2
| | | | svn path=/main/trunk/; revision=13811
* Make -j argument handling more generic, so it's easy to add similar argumentsZac Medico2009-07-091-26/+60
| | | | | | (planning to add support for integer -D/--deep arguments). svn path=/main/trunk/; revision=13810
* Use a dict for depgraph params, so we can use it to store key/value pairsZac Medico2009-07-092-13/+13
| | | | | | and fix the depgraph so it doesn't use emerge options directly. svn path=/main/trunk/; revision=13809
* Add a --debug warning message inside _add_pkg in case a potentially infiniteZac Medico2009-07-081-0/+12
| | | | | | backtracking loop is detected (it should never happen). svn path=/main/trunk/; revision=13808
* Document the --selective option.Zac Medico2009-07-081-0/+6
| | | | svn path=/main/trunk/; revision=13807
* Fix --selective so it works.Zac Medico2009-07-081-1/+2
| | | | svn path=/main/trunk/; revision=13806
* Bug #276957 - Fix dropped "in graph" choice for runtime deps inside dep_zapdeps.Zac Medico2009-07-071-0/+2
| | | | svn path=/main/trunk/; revision=13805
* Shorten the preserved libs message when in --quiet mode. Thanks to SebastianZac Medico2009-07-071-4/+10
| | | | | | Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13803
* Bug #276866 - --binpkg-respect-use < y | n >Zac Medico2009-07-073-2/+25
| | | | | | | | | Tells emerge to ignore binary packages if their use flags don't match the current configuration. (default: ´n´) Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch (small tweaks by me). svn path=/main/trunk/; revision=13802
* Optimize dbapi._iter_match_use() so that it shares a single compiled regexZac Medico2009-07-062-8/+7
| | | | | | | | for all implicit iuse checks. This avoids lots of expensibe re.compile() calls. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for the initial patch. svn path=/main/trunk/; revision=13801
* Bug #273622 - Add pkg_pretend support for the ebuild(1) command (emergeZac Medico2009-07-061-1/+5
| | | | | | | support not implemented yet). Thanks to Markus Meier <maekke@gentoo.org> for this patch. svn path=/main/trunk/; revision=13799
* Use PackageSet.findAtomForPackage() when matching the existing node againstZac Medico2009-07-061-1/+4
| | | | | | the atom inside _select_pkg_highest_available_imp(), for PROVIDE support. svn path=/main/trunk/; revision=13794
* Always exit unsuccessfully if there are any failures.Zac Medico2009-07-061-1/+3
| | | | svn path=/main/trunk/; revision=13793
* Hardcode utf_8 encoding inside _setitem().Zac Medico2009-07-051-3/+2
| | | | svn path=/main/trunk/; revision=13792
* Assume utf_8 encoding in alls reads/writes (unicode handling required for py3k).Zac Medico2009-07-051-3/+6
| | | | svn path=/main/trunk/; revision=13791
* Fix broken reference to possible_upgrades inside dep_zapdeps().Zac Medico2009-07-051-1/+1
| | | | svn path=/main/trunk/; revision=13790
* Make sure avoid_update always returns existing_node if available.Zac Medico2009-07-051-0/+2
| | | | svn path=/main/trunk/; revision=13789
* Remove set operator support since the current implementation does not meetZac Medico2009-07-051-43/+1
| | | | | | | | | | | | | | | user expectations, as mentioned in bug #253802, comment #5: Package set operators currently operate on atoms, but what users really need is for them to operate on the packages themselves. This will allow one set to add or subtract packages from another even though the sets to not use the exact same atoms to refer to the given packages. I imagine the way this should be done is to create a mapping of atom -> package for each set, perform the intersection using the packages, and then map the package intersection back into a set of atoms. svn path=/main/trunk/; revision=13787
* Make dblink.setfile() write environment.bz2 in binary mode.Zac Medico2009-07-041-1/+4
| | | | svn path=/main/trunk/; revision=13786
* Assume utf_8 encoding when reading raw ebuild metadata.Zac Medico2009-07-042-2/+5
| | | | svn path=/main/trunk/; revision=13785
* Remove the workaround from bug #263081 since most strings should be unicodeZac Medico2009-07-041-12/+0
| | | | | | now. svn path=/main/trunk/; revision=13784
* Make atomic_ofstream() use codecs.open() for py3k compatible unicode handlingZac Medico2009-07-041-4/+10
| | | | | | when mode does not contain 'b'. svn path=/main/trunk/; revision=13783
* Make grablines() use codecs.open() for py3k compatible unicode handling.Zac Medico2009-07-041-1/+1
| | | | svn path=/main/trunk/; revision=13782
* Make code from previous commit safe for empty files.Zac Medico2009-07-041-1/+1
| | | | svn path=/main/trunk/; revision=13781
* Make getconfig() use codecs.option() for py3k compatible unicode handling.Zac Medico2009-07-041-1/+5
| | | | svn path=/main/trunk/; revision=13780
* As a performance optimization, use StringIO instead of _insert_newline_eof toZac Medico2009-07-041-60/+4
| | | | | | | solve bug #228117. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13779
* Correct --help usage since it no longer takes system, world, or --sync asZac Medico2009-07-041-1/+1
| | | | | | input. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13777
* Update help() usage since the myopts parameter is gone. Thanks toZac Medico2009-07-041-1/+1
| | | | | | Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13776
* Don't pass myopts into profile_check() since it's no longer needed. Thanks toZac Medico2009-07-041-5/+3
| | | | | | Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13775
* Delete runtime_pkg_mask to avoid memory leak.Zac Medico2009-07-041-1/+1
| | | | svn path=/main/trunk/; revision=13774
* Make LazyItemsDict derive from UserDict instead of dict so that we don't haveZac Medico2009-07-041-43/+18
| | | | | | to implement the pop method (and possibly others such as setdefault). svn path=/main/trunk/; revision=13773
* Remove the --avoid-update option and make it the default behavior whenZac Medico2009-07-043-18/+1
| | | | | | | --update is not specified, as suggested by Allen Brooker (AllenJB) <gentoo-bugs@allenjb.me.uk> in bug #275945, comment #2. svn path=/main/trunk/; revision=13772
* Disable depgraph._show_missed_update() when --quiet is enabled and --debugZac Medico2009-07-041-0/+4
| | | | | | is not enabled. svn path=/main/trunk/; revision=13771
* Cleanup spinner before calling depgraph.display_problems().Zac Medico2009-07-041-0/+2
| | | | svn path=/main/trunk/; revision=13770
* Bug #275217 - Part 5 - When a slot conflict occurs, mask the first packageZac Medico2009-07-042-23/+143
| | | | | | | | | | | | | that got pulled in and restart the calculation. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch which I added some additional features to: * display message about missed updates * cache frozen_config instance, to optimize performance * disable backtracking if it fails, fall back to a normal dep calculation + error message. svn path=/main/trunk/; revision=13769
* Implement LazyItemsDict.pop() since dict.pop() bypasses our overriddenZac Medico2009-07-031-0/+17
| | | | | | | | __getitem__ implementation. This fixes a problem with config.setcpv() failing to set PORTAGE_REPO_NAME when appropriate. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=13767
* Make --help into an action, and move --help --sync output to theZac Medico2009-07-032-35/+29
| | | | | | | actions section. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch. svn path=/main/trunk/; revision=13766
* Move "import copy" to the top of the file.Zac Medico2009-07-031-2/+2
| | | | svn path=/main/trunk/; revision=13765
* Skip PROVIDE conditional evaluation in PackageSet.iterAtomsForPackage(), sinceZac Medico2009-07-031-3/+3
| | | | | | Package.metadata handles that automatically now. svn path=/main/trunk/; revision=13764
* Fix broken reference to _graph_trees.Zac Medico2009-07-031-1/+1
| | | | svn path=/main/trunk/; revision=13763
* Fix broken reference to self.myopts in the dynamic_config constructor.Zac Medico2009-07-031-2/+2
| | | | svn path=/main/trunk/; revision=13762
* Use the new frozen_config depgraph constructor parameter to optimizeZac Medico2009-07-031-1/+3
| | | | | | resume_depgraph(). svn path=/main/trunk/; revision=13761
* Add a frozen_config parameter to the depgraph constructor, so that multipleZac Medico2009-07-031-95/+102
| | | | | | | depgraph instances created for backtracking purposes can reuse the same frozen_config instance. svn path=/main/trunk/; revision=13760
* Use depgraph._pkg() whenever possible.Zac Medico2009-07-031-32/+13
| | | | svn path=/main/trunk/; revision=13759
* Move RootConfig.visible_pkgs to dynamic_config._visible_pkgs, so RootConfigZac Medico2009-07-022-4/+7
| | | | | | can be considered entirely "frozen". svn path=/main/trunk/; revision=13758
* Fix reversal in --nodeps merge order. Thanks to Michael HaubenwallnerZac Medico2009-07-021-1/+0
| | | | | | <haubi@gentoo.org> for reporting. svn path=/main/trunk/; revision=13757
* Bug #275947 - Enable build.log when FEATURES=sesandbox is enabled, sinceZac Medico2009-07-011-7/+6
| | | | | | | it works when a pty is available (but not through a normal pipe, due to bug #162404). svn path=/main/trunk/; revision=13756
* Fix broken references to depgraph._dynamic_config and _frozen_config inZac Medico2009-07-011-10/+11
| | | | | | calc_depclean(). svn path=/main/trunk/; revision=13754
* Fix typo from previous commit.Zac Medico2009-07-011-1/+1
| | | | svn path=/main/trunk/; revision=13753
* Fix depgraph._serialize_tasks so it never performa a needless uninstall taskZac Medico2009-07-011-15/+14
| | | | | | when a package in the same slot is scheduled to replace it. svn path=/main/trunk/; revision=13752