public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Vitaly Kushneriuk <vitaly_kushneriuk@yahoo.com>
To: Gentoo-dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] qpkg
Date: 13 Jan 2002 21:02:39 +0200	[thread overview]
Message-ID: <1010948559.3345.5.camel@uranus.u235.eyep.net> (raw)
In-Reply-To: <006701c19c59$43aabd50$0200a8c0@tigre>

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
    


  reply	other threads:[~2002-01-13 19:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-13 14:46 [gentoo-dev] qpkg John Stalker
2002-01-13 15:38 ` Vitaly Kushneriuk
2002-01-13 17:39   ` Miguel Sousa Filipe
2002-01-13 19:02     ` Vitaly Kushneriuk [this message]
2002-01-13 18:01   ` Brent Cook
2002-01-13 18:02     ` Bart Verwilst
2002-01-13 19:12     ` Vitaly Kushneriuk
2002-01-13 18:03   ` Charles Kerr
2002-01-13 18:48     ` Vitaly Kushneriuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1010948559.3345.5.camel@uranus.u235.eyep.net \
    --to=vitaly_kushneriuk@yahoo.com \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox