From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: *** X-Spam-Status: No, score=3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DMARC_REJECT,FORGED_YAHOO_RCVD,FREEMAIL_FROM,MAILING_LIST_MULTI, RDNS_NONE,SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=4.0.0 Received: from uranus.u235.eyep.net (unknown [194.90.113.98]) by chiba.3jane.net (Postfix) with SMTP id 25FEB2577E for ; Sun, 13 Jan 2002 13:02:38 -0600 (CST) Received: (qmail 27885 invoked by uid 1000); 13 Jan 2002 19:02:39 -0000 Subject: Re: [gentoo-dev] qpkg From: Vitaly Kushneriuk To: Gentoo-dev In-Reply-To: <006701c19c59$43aabd50$0200a8c0@tigre> References: <200201131446.g0DEkri06523@math.Princeton.EDU> <1010936299.3345.0.camel@uranus.u235.eyep.net> <006701c19c59$43aabd50$0200a8c0@tigre> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 13 Jan 2002 21:02:39 +0200 Message-Id: <1010948559.3345.5.camel@uranus.u235.eyep.net> Mime-Version: 1.0 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: 1939fd13-90ec-471c-aadf-cc4bc8bf4589 X-Archives-Hash: feb55476569b9b4ce9c43d75307a46c6 On Sun, 2002-01-13 at 19:39, Miguel Sousa Filipe wrote: > Hi all! > > Allthough i'm not using gentoo for a while, i'm tracking, the mailing > lists.. to check out how its going. > About qpgk, i believe that if it's not allready quite a handy "pocket knife" > in Gentoo, it will become one, I find it so "cool" and practical, basically, > ITS A MUST in gentoo. Thanks :-) > It would be nice to also check, and "confront" the available version, with > the installed version of a package that has just been queried. Something > like: > I do not know if it does this.. but it would be nice.. to see the version > of the installed and the latest version available. Proper implementation would require checking with package mask. I'll think if it can be done in bash. This kind of tool should be implemented in python. I wrote it initialy as a replacer for my frequent "grep ... /var/db/pkg/*/*/CONTENTS" etc. stuff. It quite involved since then, and now it's kind of reached state when it's easier to reimplement it in Python then add some useful feature to the existing bash implementation. I'll defently do it when I have time. Expect it to be ready soon :-). Any feature requests? BTW, Python is my weapon of choise for most non trivial scripting. The reasons I used bash, are: 1) I didn't want to reimplement grep :-) grep/sed stuff is realy fast. "pkgsearch portage" is 10 times faster then "pkgsearch portage". ( well, I guess reimplementation of pkgsearch to not allways load the entire db would help) 2) I wanted it quick and I allready had some bash scripts that perform a single task. 1) it was fun