Package: lintian-brush
Version: 0.132
Severity: wishlist

Yadd writes in https://salsa.debian.org/jelmer/janitor/-/issues/153:

> could Janitor fix this lintian tag? Here is a little script I use for this:
> 
> ```bash
> #!/bin/bash
> TO="UTF-8"; FILE=$1
> FROM=$(file -i $FILE | cut -d'=' -f2)
> if [[ $FROM = "binary" ]]; then
>  echo "Skipping binary $FILE..."
>  exit 0
> fi
> iconv -f $FROM -t $TO -o $FILE.tmp $FILE; ERROR=$?
> if [[ $ERROR -eq 0 ]]; then
>   echo "Converting $FILE..."
>   mv -f $FILE.tmp $FILE
> else
>   echo "Error on $FILE"
> fi
> ```

Running "select information from lintian where tag = 'national-encoding' and 
package_type = 'source';" in UDD I see 731 issues for this tag.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-2-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian-brush depends on:
ii  devscripts                   2.22.2
ii  python3                      3.10.6-1
ii  python3-breezy               3.2.2-2+b1
ii  python3-debian               0.1.47
ii  python3-debmutate            0.57
ii  python3-distro-info          1.1
ii  python3-dulwich              0.20.46-1
ii  python3-iniparse             0.5-1
ii  python3-iso8601              1.0.2-1
ii  python3-ruamel.yaml          0.17.16-1
ii  python3-tqdm                 4.64.0-2
ii  python3-upstream-ontologist  0.1.25-2

Versions of packages lintian-brush recommends:
ii  debhelper            13.9.1
ii  decopy               0.2.4.7-0.2
ii  dos2unix             7.4.3-1
ii  gpg                  2.2.39-1
ii  lintian              2.115.3
ii  ognibuild            0.0.13-1
ii  python3-asyncpg      0.26.0-1
ii  python3-bs4          4.11.1-1
ii  python3-docutils     0.17.1+dfsg-2
ii  python3-levenshtein  0.12.2-2+b2
ii  python3-lxml         4.9.1-1+b1
ii  python3-markdown     3.4.1-1
ii  python3-pyinotify    0.9.6-2
ii  python3-semver       2.10.2-3
ii  python3-tomlkit      0.9.2-1

Versions of packages lintian-brush suggests:
ii  brz-debian         2.8.70
ii  git-buildpackage   0.9.28
pn  gnome-pkg-tools    <none>
ii  po-debconf         1.0.21+nmu1
ii  postgresql-common  243

-- debconf-show failed

Reply via email to