Re: [gentoo-dev] New metadata fields

2009-06-03 Thread Douglas Anderson
The equery 'meta' module in gentoolkit-0.3.0* can show all the upstream fields, though not many packages currently make use of it. Oh yeah, and there's a traceback in the upstream code that's been fixed but won't be in the tree until rc7, so you may want to wait to check it out. $ equery m

[gentoo-dev] Re: Digest of gentoo-dev@lists.gentoo.org issue 653 (33679-33728)

2008-12-09 Thread Douglas Anderson
[EMAIL PROTECTED][EMAIL PROTECTED]

[gentoo-dev] Re: Digest of gentoo-dev@lists.gentoo.org issue 653 (33679-33728)

2008-12-09 Thread Douglas Anderson
blah (switching emails, sorry for that) On Tue, Dec 9, 2008 at 7:14 PM, Douglas Anderson [EMAIL PROTECTED] wrote: [EMAIL PROTECTED][EMAIL PROTECTED]

Re: [gentoo-dev] Re: Last Rites: app-portage/udept

2008-12-15 Thread Douglas Anderson
On Tue, Dec 16, 2008 at 9:06 AM, Daniel Pielmeier daniel.pielme...@googlemail.com wrote: Duncan schrieb am 16.12.2008 00:47: While I'm at it, is there anything useful to display metadata.xml? In particular, the long descriptions and use flags can be useful. With use.desc and especially the

Re: [gentoo-dev] Re: Issues regarding glep-55 (Was: [gentoo-council] Re: Preliminary Meeting-Topics for 12 February 2009)

2009-02-23 Thread Douglas Anderson
On Mon, Feb 23, 2009 at 7:02 PM, Tiziano Müller dev-z...@gentoo.org wrote: Am Montag, den 23.02.2009, 22:25 +1300 schrieb Alistair Bush: Tiziano Müller wrote: What is proposed in glep-55 seems to aim to solve both issues at the same time (it isn't stated) by switching file extension every

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

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] 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

[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] 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] 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] 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

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] 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