Re: The 'git' Debian package in squeeze and possible mass bug filing
Joey Hess wrote:
> You forgot to include packages that Suggest git-core in the list.
The only package with a versioned Suggest of git-core I found was
moap, which I did include. Still, I wouldn’t be surprised if I missed
something for some other reason.
For what it’s worth, the list of affected packages was generated with
the script below. Corrections welcome.
Jonathan
-- 8< --
#!/bin/sh
set -e
check() {
local rel=$1
shift
grep-dctrl -F$rel git-core -n -sPackage,$rel "$@" |
while :
do
read pkg || break
read deps
read newline
ver=$(
printf "%s\n" "$deps" |
sed -ne 's/^.*git-core (\([^)]*\)).*/\1/p'
)
if test "$ver"
then
printf "%s --- $rel: git-core (%s)\n" "$pkg" "$ver"
fi
done
}
for rel in Depends Recommends Conflicts Breaks Suggests Enhances
do
check "$rel" /var/lib/apt/lists/*_Packages
done
for rel in Build-Depends Build-Depends-Indep Build-Conflicts
do
check "$rel" /var/lib/apt/lists/*_Sources
done
Reply to: