action #3448

create droplist

Added by coolo over 5 years ago. Updated over 5 years ago.

Status:ResolvedStart date:13/10/2014
Priority:NormalDue date:20/10/2014
Assignee:aplanas% Done:

0%

Category:-
Target version:13.2 Beta 1
Duration: 6

Description

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


Related issues

Duplicated by openSUSE 13.2 Release - action #3446: update droplist for 13.2 Rejected 01/09/2014
Copied from openSUSE 13.1 Release - action #874: create droplist Closed 14/10/2013 18/10/2013
Copied to openSUSE Leap 42.1 Release - action #8990: create droplist Resolved 13/10/2015 20/10/2015

History

#1 Updated by coolo over 5 years ago

#2 Updated by coolo over 5 years ago

  • Duplicated by action #3446: update droplist for 13.2 added

#3 Updated by coolo over 5 years ago

  • Target version set to 13.2 Beta 1

#4 Updated by coolo over 5 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 over 5 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 over 5 years ago

  • Status changed from New to Resolved

#7 Updated by lnussel over 4 years ago

Also available in: Atom PDF