Re: [gentoo-portage-dev] equery displays warnings about masked deps, even when those deps are deeper than --depth specification

2010-01-13 Thread Douglas Anderson
On Wed, Jan 13, 2010 at 2:50 AM, Amit Dor-Shifer ami...@oversi.com wrote: Douglas Anderson wrote: The newest version of gentoolkit has slightly changed the way depgraph prints output. Could you try checking with the latest unstable version of gentoolkit and submit a bug if you get

Re: [gentoo-portage-dev] equery displays warnings about masked deps, even when those deps are deeper than --depth specification

2010-01-12 Thread Douglas Anderson
On Tue, Jan 12, 2010 at 1:50 AM, Amit Dor-Shifer ami...@oversi.com wrote: amit0 ~ # qfile -v $(which equery) app-portage/gentoolkit-0.2.4.5 (/usr/bin/equery) The newest version of gentoolkit has slightly changed the way depgraph prints output. Could you try checking with the latest unstable

Re: [gentoo-portage-dev] Symlinks with distutils

2009-05-05 Thread Douglas Anderson
On May 5, 2009, at 10:37 PM, Michael A. Smith mich...@smith-li.com wrote: In theory, doing symlinks with distutils isn't a big deal, but distutils.core.setup doesn't have the capability built in. (distutils.file_util does, but it's not clear how to trigger that intuitively within

[gentoo-portage-dev] Deprecate portage.abssymlink

2009-03-10 Thread Douglas Anderson
I can't make out the different between portage.abssymlink and os.path.realpath, besides that realpath is used a LOT more in portage and abssympath dies if it gets passed something that's not a symlink. Let's get rid of it! 1st patch is for trunk/pym/__init__.py 2nd patch is for

Re: [gentoo-portage-dev] equery: RFC and code review

2009-02-12 Thread Douglas Anderson
On Thu, Feb 12, 2009 at 4:10 PM, Alec Warner anta...@gentoo.org wrote: I think one of the major things that annoyed me when reading the code is that you did add a new option parser...and you added it about a dozen times...(regexp used to basically find the start of the same code block over and

[gentoo-portage-dev] equery: deprecate --category filtering in belongs

2009-02-07 Thread Douglas Anderson
Hi, does anyone use --category filtering in equery belongs? I want to get rid of it, or at least deprecate it. My reasoning: * We use 'equery belongs' when don't know to what package a file belongs. Even if we have a suspicion, most users would have to look up the category of the package before

Re: [gentoo-portage-dev] Re: equery refactorization

2008-12-06 Thread Douglas Anderson
On Sun, Dec 7, 2008 at 12:02 PM, Michael A. Smith [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Regarding gentoolkit/trunk/src/equery/tests I discovered all the test kit that's in equery, and have been refactoring 'em. They're written in bash, not python, so

Re: [gentoo-portage-dev] Re: equery refactorization

2008-12-06 Thread Douglas Anderson
On Sun, Dec 7, 2008 at 12:34 PM, Michael A. Smith [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Let me rephrase: The tests as they are written are not all that helpful or functional. Therefore I'm refactoring them so that they are. If I don't, they won't be any

Re: [gentoo-portage-dev] Python style (Was: equery refactorization)

2008-12-06 Thread Douglas Anderson
On Sun, Dec 7, 2008 at 9:50 AM, Zac Medico [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael A. Smith wrote: Actually I don't like spaces for indentation at all. A tab character and a space character take the same number of bytes, so it takes two-to-eight times

Re: [gentoo-portage-dev] Re: equery refactorization

2008-12-05 Thread Douglas Anderson
On Thu, Dec 4, 2008 at 2:43 PM, Alec Warner [EMAIL PROTECTED] wrote: nitpick feel free to ignore me Don't put stuff in __init__.py. Make a file called equery (no .py) and do all the work in the modules you import; eg. from equery import driver if __name__ == __main__: driver.Run()

Re: [gentoo-portage-dev] search functionality in emerge

2008-11-23 Thread Douglas Anderson
Emma, It would be great it you could speed search up a bit! As these other guys have pointed out, we do have some indexing tools in Gentoo already. Most users don't understand why that kind of functionality isn't built directly into Portage, but IIRC it has something to do with the fact that