[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#457353: gdome2-xslt: should not be a Debian-native package

On Sun, Dec 23, 2007 at 08:01:02PM +0100, Luk Claes wrote:
> I thought this consensus was already a fact and that some maintainers
> just disagree and nobody forced them to change yet...

Well, before forcing them to change we need a place where it is written
that the practice is front, don't we?
(Beside that, full ack on your reasons for not being a native package,
I'll probably fix gdome2-xslt notwithstanding this discussion outcome).

For fun I wrote the attached script which returns, when passed as
arguments one or more Sources file, the list of Debian native packages
(the test is only version based, so there are false negatives, as
gdome2-xslt itself). Only in main we have about 750 native packages.
There is no way of knowing a priori if they are "rightful" native or
not, but really a lot (40%?) of them seems not Debian specific at all


PS the script need python-debian to be installed

Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time

# grep the names of all Debian native packages out of Sources files
# Copyright (C) 2007 Stefano Zacchiroli <zack@debian.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

import sys

from debian_bundle import deb822

for fname in sys.argv[1:]:
    f = file(fname)
    for stanza in deb822.Sources.iter_paragraphs(f):
        pieces = stanza['version'].split('-')
        if len(pieces) < 2:
            print stanza['package']

Attachment: signature.asc
Description: Digital signature

Reply to: