Re: [Inkscape-devel] Debian 8 compatibility falling apart after one month of Debian 9
Dear Martin,
Hopefully we can set some reasonable limits and keep the page up to date. But to make this job easier, we should try and see if we can set up some automatic support scripts that pull in a summary of the different distros and their versions of key dependencies.
For Debian there are online lists with all packages and versions, e.g.
https://packages.debian.org/stable/allpackages?format=txt.gz https://packages.debian.org/oldstable/allpackages?format=txt.gz https://packages.debian.org/testing/allpackages?format=txt.gz https://packages.debian.org/jessie/allpackages?format=txt.gz
(goto https://packages.debian.org/stable/, select a version at the top and click at the end on "(compact compressed textlist)")
For Ubuntu the lists are e.g.
https://packages.ubuntu.com/de/xenial/allpackages?format=txt.gz https://packages.ubuntu.com/de/yakkety/allpackages?format=txt.gz https://packages.ubuntu.com/de/zesty/allpackages?format=txt.gz
(goto https://packages.ubuntu.com/en/, click on a Ubuntu version and at the end on "(compact compressed textlist)")
Mint has it as HTML:
http://packages.linuxmint.com/list.php?release=Sonya Should be easy to convert with XSLT.
I guess there are similar lists for the other major distros.
It should take only a few lines of Python to fetch and check these.
What are the relevant distros?
Best regards,
Michael
On Sun, Jul 23, 2017 at 11:43:10PM +0200, Michael Soegtrop via Inkscape-devel wrote:
For Debian there are online lists with all packages and versions, e.g. https://packages.debian.org/stable/allpackages?format=txt.gz For Ubuntu the lists are e.g. https://packages.ubuntu.com/de/xenial/allpackages?format=txt.gz Mint has it as HTML: http://packages.linuxmint.com/list.php?release=Sonya Should be easy to convert with XSLT.
It should take only a few lines of Python to fetch and check these.
All of those are Debian derivates, and they share the same packaging and repository format. So it's (imho) way easier to instead get the Sources file (like https://deb.debian.org/debian/dists/stretch/main/source/Sources.xz for debian, very similar URI for the others) and use any rfc 822 parser to read it; there are also debian-specific things like a python-debian python module and a grep-dctrl thing for bash (both usuable outside of a debian environment, here "debian-specific" means they are done to parse debian (and derivative) stuff).
Thanks Michael,
https://packages.debian.org/stable/allpackages?format=txt.gz https://packages.debian.org/oldstable/allpackages?format=txt.gz https://packages.debian.org/testing/allpackages?format=txt.gz https://packages.debian.org/jessie/allpackages?format=txt.gz
(goto https://packages.debian.org/stable/, select a version at the top and click at the end on "(compact compressed textlist)")
Looks like you've got a sizable amount of data here.
I guess there are similar lists for the other major distros.
It should take only a few lines of Python to fetch and check these.
What are the relevant distros?
Ubuntu (this covers A LOT of distros) Mint Fedora Debian openSUSE Arch / Manjaro (although arch is fairly bleeding edge)
That most of the targets. We'd first have to get a sensible read on supported versions vs bleeding edge and their relevant dates.
Only then could we calculate the packages we need.
Best Regards, Martin Owens
participants (3)
-
Martin Owens
-
Mattia Rizzolo
-
Michael Soegtrop