public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
  • * [gentoo-portage-dev] Re: equery refactorization
           [not found] <efeb8d230812020201m3910b204q3af56b932d07cc07@mail.gmail.com>
           [not found] ` <33EF1957-2481-4AF1-A112-D12D7C1119A7@smith-li.com>
    @ 2008-12-07  3:02 ` Michael A. Smith
      2008-12-07  3:29   ` Douglas Anderson
      1 sibling, 1 reply; 17+ messages in thread
    From: Michael A. Smith @ 2008-12-07  3:02 UTC (permalink / raw
      To: gentoo-portage-dev
    
    -----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 they're a candidate for some kind of
    python unit testing. Right now, however, that's not a priority for me, so I'm
    just making the bash cleaner and hopefully faster and more maintainable. I
    think it'll be helpful as we refactor.
    
    The question is, how maintainable are the "help" tests? These are tests that
    try to confirm that the --help output of each module is correct. I think it
    might be more work than it's worth to try to maintain those...
    
    Thoughts?
    
    - -Michael
    
    Douglas Anderson wrote:
    | Hi, I'm interesting in tinkering with equery and doing some
    | refactorization in my spare time. I wrote a script that some people
    | mentioned would be a good module for equery (emeta, it's on bugzilla),
    | but as I was looking into that, I noticed that equery is written as a
    | script, even though it would probably really benifit from being modularized.
    |
    | Again, this is just because I have some free time right now and a
    | willingness to learn about Portage, but I thought I'd check with you
    | guys first. If I'm willing to do it without bother you all too much,
    | would it be something you're interested in me doing? My idea is to set
    | it up more like a Python package than a script, like:
    | /usr/lib/gentoolkit/pym/gentoolkit/equery/
    | /usr/lib/gentoolkit/pym/gentoolkit/equery/__init__.py
    | /usr/lib/gentoolkit/pym/gentoolkit/equery/belongs.py
    | /usr/lib/gentoolkit/pym/gentoolkit/equery/check.py
    | /usr/lib/gentoolkit/pym/gentoolkit/equery/depends.py
    | etc...
    |
    | I think it would increase startup time and make adding or upgraded
    | modules easier in the future.
    |
    | Well, I have a few more questions but I'll wait and see if this would be
    | a positive thing or not.
    |
    | Thanks for your time,
    | -Doug
    
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
    
    iEYEARECAAYFAkk7PKwACgkQzwtr5yY0JZxRfwCglG3TzY3iQR5UzpmovYxRa6ME
    YI0An13fhKAxcd0Vr7pQ8uY80SyDKLAU
    =BCpZ
    -----END PGP SIGNATURE-----
    
    
    
    ^ permalink raw reply	[flat|nested] 17+ messages in thread

  • end of thread, other threads:[~2008-12-07 23:52 UTC | newest]
    
    Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <efeb8d230812020201m3910b204q3af56b932d07cc07@mail.gmail.com>
         [not found] ` <33EF1957-2481-4AF1-A112-D12D7C1119A7@smith-li.com>
    2008-12-03  9:03   ` [gentoo-portage-dev] Re: equery refactorization Douglas Anderson
    2008-12-04  5:43     ` Alec Warner
    2008-12-06  7:33       ` Douglas Anderson
    2008-12-06 23:21         ` [gentoo-portage-dev] Python style (Was: equery refactorization) Michael A. Smith
    2008-12-07  0:50           ` Zac Medico
    2008-12-07  4:07             ` Douglas Anderson
    2008-12-07 18:10           ` Alec Warner
    2008-12-06 23:32         ` [gentoo-portage-dev] Re: equery refactorization Michael A. Smith
    2008-12-07  3:02 ` Michael A. Smith
    2008-12-07  3:29   ` Douglas Anderson
    2008-12-07  3:34     ` Michael A. Smith
    2008-12-07  3:44       ` Douglas Anderson
    2008-12-07  4:26         ` Marius Mauch
    2008-12-07  4:54           ` Douglas Anderson
    2008-12-07  7:16             ` Michael A. Smith
    2008-12-07 12:28             ` Marius Mauch
    2008-12-07 23:52               ` Douglas Anderson
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox