Project

General

Profile

Actions

action #3448

closed

create droplist

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

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

0%

Estimated time:

Description

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


Related issues 3 (0 open3 closed)

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

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

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

Actions
Actions #1

Updated by coolo almost 10 years ago

Actions #2

Updated by coolo almost 10 years ago

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

Updated by coolo almost 10 years ago

  • Target version set to 13.2 Beta 1
Actions #4

Updated by coolo almost 10 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

Actions #5

Updated by coolo almost 10 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

Actions #6

Updated by coolo almost 10 years ago

  • Status changed from New to Resolved
Actions #7

Updated by lnussel almost 9 years ago

Actions

Also available in: Atom PDF