[paludis-dev] [Paludis] #1301: --promote-binaries option

Paludis trac-paludis at exherbo.org
Fri Mar 7 04:04:38 UTC 2014


#1301: --promote-binaries option
-----------------------------+-------------------
    Reporter:  doc.holliday  |      Owner:
        Type:  enhancement   |     Status:  new
    Priority:  Sometime      |  Milestone:
   Component:  clients/cave  |    Version:  1.4.2
  Resolution:                |   Keywords:
  Blocked By:                |   Blocking:
Distribution:  N/A           |
-----------------------------+-------------------

Comment (by doc.holliday):

 In re tests, my idea is this:
 1. Create 2 repos(eg, repo and bin). bin's importance less than
 2. Create cat/pkg1-0:0::repo[test], cat/pkg2-0:0::repo[test],
 cat/pkg1-0:0::bin[test] and cat/pkg2-0:0::bin[-test]
 3. Run cave resolve --promote-binaries if-same cat/pkg1 cat/pkg2. It
 should pick pkg1 from ::repo and pkg2 from ::bin
 4. Run cave resolve --promote-binaries never cat/pkg1 cat/pkg2. It should
 pick both pkg1 and pkg2 from ::repo

 The only thing is, this tests thing is a whole new can of worms for me.
 What's the good place to start at? Is there an existing test I should
 maybe use as basis and go from there?

-- 
Ticket URL: <http://paludis.exherbo.org/trac/ticket/1301#comment:17>
Paludis <http://paludis.exherbo.org/>
Paludis, the Other Package Mangler


More information about the paludis-dev mailing list