Project

General

Profile

action #3448

create droplist

Added by coolo almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2014-10-13
Due date:
2014-10-20
% Done:

0%

Estimated time:
Duration: 6

Description

the weak provides for the list needs to be generated
[please fill details how to do that]


Related issues

Has duplicate openSUSE 13.2 Release - action #3446: update droplist for 13.2Rejected2014-09-01

Copied from openSUSE 13.1 Release - action #874: create droplistClosed2013-10-142013-10-18

Copied to openSUSE Leap 42.1 Release - action #8990: create droplistResolved2015-10-132015-10-20

History

#1 Updated by coolo almost 6 years ago

#2 Updated by coolo almost 6 years ago

  • Has duplicate action #3446: update droplist for 13.2 added

#3 Updated by coolo almost 6 years ago

  • Target version set to 13.2 Beta 1

#4 Updated by coolo almost 6 years ago

import sys
import solv
pool = solv.Pool()
pool.setarch()

sysrepo = pool.add_repo("@System")
sysrepo.add_rpmdb()

facrepo = pool.add_repo("oss")
facrepo.add_solv(sys.argv[1])

pool.createwhatprovides()

for s in sysrepo.solvables:
    haveit = False
    for s2 in pool.whatprovides(s.nameid):
        if s.repo == s2.repo or s.nameid != s2.nameid:
            continue
        haveit = True
    if haveit:
        continue
    nevr = pool.rel2id(s.nameid, s.evrid, solv.REL_EQ)
    for s2 in pool.whatmatchesdep(solv.SOLVABLE_OBSOLETES, nevr):
        if s.repo == s2.repo:
            continue
        haveit = True
    if haveit:
        continue
    print s.name

is mls' python script to output what is obsolete on his system. This needs to be enhanced to work on testtag versions of all openSUSE distributions and then merge the drop list.
It's best if we create the drop list from scratch all the time to avoid the cleanuporphaneds task

#5 Updated by coolo almost 6 years ago

to create a solv file for 13.1 I did

12036  mkdir 13.1
12037  wget http://download.opensuse.org/distribution/13.1/repo/oss/content -O 13.1/content
12038  mkdir -p 13.1/suse/setup/descr
12040  wget http://download.opensuse.org/distribution/13.1/repo/oss/suse/setup/descr/packages.gz -O 13.1/suse/setup/descr/packages.gz
12043  susetags2solv -c 13.1/content -d 13.1/suse/setup/descr/ > 13.1.repo.solv

We need to collect some of them and extend the loop

#6 Updated by coolo almost 6 years ago

  • Status changed from New to Resolved

#7 Updated by lnussel almost 5 years ago

Also available in: Atom PDF