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

Re: Re: Re: facility to access the NEWS content



Hi Gregor,

Yes that is part of my concern target but I trying also to find out more
candidate contents among the package files or may be to design a remote resource
for that so it would be possible to extend 'dnews' if-else-cases with one that
would be to display the output of an URL base on the package name for instance.

First I have build a script that tries to picture the situation in Debian based
on some parameters (here release="sid" and archs="all amd64"):

changelog=30189
NEWS=2409
other=12799
changelog.Debian=59702
missing=5374
debs=65076
udebs=400
packages=65606
sources=34266
projects=33479

My terminology is somewhat approximate but I hope it is quite clear:
a project may have different (version) sources at a same time (think of mariadb
10.5 and 10.6 for instance), a source gives one or more packages, one package
may be a udeb or a deb, etc.
Then 'changelog.Debian' shows the count of (debs) having a
u/s/d/<pkg>/changelog.Debian.gz or in absent a doc/<pkg>/changelog.gz that is
supposed to be its equivalent (for some Debian-specific source packages).
Similarly 'NEWS' is the count of the packages having a u/s/d/<pkg>/NEWS.gs and
finally 'changelog' is the count of the packages having a
u/s/d/<pkg>/changelog.gz
'other' are possible interesting files to look into.

'missing' are packages not in 'changelog.Debian' like 'xvile' package for
instance:
$ apt-file list xvile
xvile: /etc/X11/app-defaults/UXVile       
xvile: /etc/X11/app-defaults/XVile
xvile: /usr/bin/uxvile
xvile: /usr/bin/xvile
xvile: /usr/share/applications/uxvile.desktop
xvile: /usr/share/applications/xvile.desktop
xvile: /usr/share/doc/xvile
xvile: /usr/share/icons/hicolor/48x48/apps/vile.png
xvile: /usr/share/icons/hicolor/scalable/apps/vile.svg
xvile: /usr/share/man/man1/uxvile.1.gz
xvile: /usr/share/man/man1/xvile.1.gz
xvile: /usr/share/pixmaps/vile.xpm
xvile: /usr/share/vile/vilemenu.rc
xvile: /usr/share/vile/xshell.sh

The script is currently also detecting some «collision» cases that may be
interesting to check in case of there is an underlying packaging issue to be
reported but I think that this is already handled, right?

jtreg: /usr/share/doc/jtreg/tag-spec.html 
jtreg6: /usr/share/doc/jtreg/tag-spec.html
jtreg: /usr/share/doc/jtreg/usage.txt.gz  
jtreg6: /usr/share/doc/jtreg/usage.txt.gz
libboost1.71-doc: /usr/share/doc/libboost-doc/doc
libboost1.74-doc: /usr/share/doc/libboost-doc/doc
libboost1.71-doc: /usr/share/doc/libboost-doc/examples
libboost1.74-doc: /usr/share/doc/libboost-doc/examples
python3-hug: /usr/share/doc/python3-hug/ACKNOWLEDGEMENTS.md
python3-hug-doc: /usr/share/doc/python3-hug/ACKNOWLEDGEMENTS.md
python3-hug: /usr/share/doc/python3-hug/ARCHITECTURE.md.gz
python3-hug-doc: /usr/share/doc/python3-hug/ARCHITECTURE.md.gz
python3-hug: /usr/share/doc/python3-hug/EXTENDING.md
python3-hug-doc: /usr/share/doc/python3-hug/EXTENDING.md
python3-hug: /usr/share/doc/python3-hug/README.md.gz
python3-hug-doc: /usr/share/doc/python3-hug/README.md.gz
dnsmasq-base: /usr/share/doc/dnsmasq-base/DBus-interface.gz
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/DBus-interface.gz
dnsmasq-base: /usr/share/doc/dnsmasq-base/FAQ.gz
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/FAQ.gz
dnsmasq-base: /usr/share/doc/dnsmasq-base/README.Debian
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/README.Debian
dnsmasq-base: /usr/share/doc/dnsmasq-base/changelog.Debian.gz
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/changelog.Debian.gz
dnsmasq-base: /usr/share/doc/dnsmasq-base/changelog.archive.gz
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/changelog.archive.gz
dnsmasq-base: /usr/share/doc/dnsmasq-base/changelog.gz
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/changelog.gz
dnsmasq-base: /usr/share/doc/dnsmasq-base/copyright
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/copyright
dnsmasq-base: /usr/share/doc/dnsmasq-base/doc.html
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/doc.html
dnsmasq-base: /usr/share/doc/dnsmasq-base/examples/dnsmasq.conf.example
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/examples/dnsmasq.conf.example
dnsmasq-base: /usr/share/doc/dnsmasq-base/setup.html
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/setup.html
dnsmasq-base: /usr/share/doc/dnsmasq-base/systemd_howto.gz
dnsmasq-base-lua: /usr/share/doc/dnsmasq-base/systemd_howto.gz
kconfig-frontends: /usr/share/doc/kconfig-frontends/kconfig-language.txt.gz
kconfig-frontends-nox: /usr/share/doc/kconfig-frontends/kconfig-language.txt.gz
kconfig-frontends: /usr/share/doc/kconfig-frontends/kconfig.txt.gz
kconfig-frontends-nox: /usr/share/doc/kconfig-frontends/kconfig.txt.gz


Best,
Patrice



Reply to: