Hi,

xiao sheng wen (肖盛文) <atzli...@sina.com> wrote:
> hi,
> 
> I create a patch to fix NOT_FOUND in pkgsize.ent.
> 
> This patch add the script to get package data from Stable and Oldstable .
> 
> Please help to review it. Modify is also welcome.

We should better remove the whole content about those packages, right?
It is of no use for Debian users anyway, if they no longer can install the
corresponding packages.
(If they still have the packages installed, let's say on an oldstable
system, then they should read the debian-reference for *oldstable*.)

Regarding your patch:
> @@ -73,6 +73,8 @@ CODE        :=      sid
>  ARCH :=      amd64
>  UDEBA        :=      $(DEBM)/$(CODE)
>  UDEBB        :=      $(DEBM)/experimental
> +UDEBC        :=      $(DEBM)/buster
> +UDEBD        :=      $(DEBM)/stretch
>  DR_VERSION :=        $(shell dpkg-parsechangelog --show-field Version)

Those 'buster' and 'stretch' lines are error-prone, since they get outdated
with the next release. We should not add hard-coded release-names, there are
already too much cases existing with such hard-coded values (Debian-wide, 
not just in the debian-reference).


Holger


> 在 2020/10/19 下午5:39, xiao sheng wen (肖盛文) 写道:
> >
> >>
> >> Moreover, when calling "make entity" there are several packages 
> >> mentioned as
> >> no longer existing: (and they are indeed not in sid)
> >>
> >>
> >> # GENERATE pkgsize.ent
> >> sort pkg.lst | uniq | bin/sizeent packages.txt 
> >> packages.bkup.txt        > pkgsize.ent
> >> .........................................................
> >> ... ERROR ...: bootchart2, probably a removed or non-amd64 package.
> >> .............:         See 
> >> http://packages.qa.debian.org/common/index.html
> >> .................................................................................
> >>  
> >>
> >> ... ERROR ...: dosemu, probably a removed or non-amd64 package.
> >> .............:         See 
> >> http://packages.qa.debian.org/common/index.html
> >> ..................................................
> >
> > In HTML files, there are links like 
> > https://packages.debian.org/sid/dosemu is break for these packages.
> >
> > How about to use url like this:
> >
> > https://packages.debian.org/search?keywords=dosemu
> >
> > Also these package's pkgsize will display:
> >
> > NOT_FOUND
> >
> > The "NOT_FOUND" word is come from pkgsize.ent:
> >
> > pkgsize.ent:<!ENTITY size-dosemu "NOT_FOUND">
> >
> > grep -c NOT_FOUND pkgsize.ent
> > 15
> >
> > Would you has any suggestion for this "NOT_FOUND" ?
> >
> >
> -- 
> 肖盛文 xiao sheng wen Faris Xiao
> 微信(wechat):atzlinux
> 《铜豌豆 Linux》
> 基于 Debian 的 Linux 中文桌面操作系统:https://www.atzlinux.com
> Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com
> GnuPG Public Key: 0x339240CB
> 


-- 
Holger Wansing <hwans...@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

Reply via email to