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

Re: What’s the use for Standards-Version?

Romain Beauxis <toots@rastageeks.org> writes:

> But there could be another use of this field, which would fit into the
> test- driven workflow. What about a tool that displays the changes in
> the policy based on the declared supported version and the latest
> version ?


    zcat /usr/share/doc/debian-policy/upgrading-checklist.txt.gz \
        | sed /`grep Standards-Version debian/control | awk '{ print $2 }'`/Q

?  I just use zless on that file and stop reading when I get to the
current Standards-Version of the package, but that would automate it.

This is, indeed, exactly the use of the Standards-Version field that both
Manoj and I are advocating.

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: