#917381 Support git-less operation

Package:
lintian-brush
Source:
lintian-brush
Description:
automatically fix lintian problems
Submitter:
Moritz Muehlenhoff
Date:
2026-02-19 11:29:01 UTC
Severity:
wishlist
Tags:
#917381#5
Date:
2018-12-26 22:58:07 UTC
From:
To:
Not all packages are maintained in git; it would be nice to have a
--no-git option which simply performs the changes to the local
package directory instead.

Cheers,
        Moritz

#917381#12
Date:
2021-01-01 16:49:05 UTC
From:
To:
I second this request.

Merely making the changes and running 'dch -i -n' would be enough to produce a debdiff against the previous release and attached it to a bug report for the maintainer's consideration.

- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 4.19.0-13-amd64 (SMP w/8 CPU threads)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages lintian-brush depends on:
ii  devscripts           2.20.5
ii  python3              3.9.1-1
ii  python3-breezy       3.1.0-8
ii  python3-debian       0.1.39
ii  python3-debmutate    0.16
ii  python3-distro-info  0.24
ii  python3-dulwich      0.20.15-1
ii  python3-iniparse     0.4-3
ii  python3-ruamel.yaml  0.16.12-2

Versions of packages lintian-brush recommends:
ii  decopy               0.2.4.4-0.1
ii  dos2unix             7.4.1-1
ii  gpg                  2.2.20-1
ii  libdebhelper-perl    13.3.1
ii  lintian              2.104.0
ii  python3-asyncpg      0.21.0-1+b2
ii  python3-bs4          4.9.3-1
ii  python3-levenshtein  0.12.0-5+b3
ii  python3-pyinotify    0.9.6-1.3
ii  python3-toml         0.10.1-1

Versions of packages lintian-brush suggests:
pn  breezy-debian      <none>
pn  gnome-pkg-tools    <none>
ii  po-debconf         1.0.21+nmu1
pn  postgresql-common  <none>

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAl/vUn4ACgkQrh+Cd8S0
17Zz1BAAqN7vLu/N4l3/jMtnhv8URdtIYlADgVqHPCX1DoMPqrWG0qrkYIOfR449
qIWkBgTXKrp/qW5tQg3bHz6xl5QhAQMiMEOvjdamamesv3SVeYoIu+BBBHvegTcO
ABrgHopobwxqZt3rxGVxskMOlxKcVLDSmkgfsUJh8K8QdAQaoNqSAZD5LWQ8WT8R
vjScfKbZZCEi475eRYkfCpf3D7SC9BrO7XwS82l/Dc6yCv0BIvNjGV01+HFoSMpf
tuFpgiME+2d0I7KzgJwf6sxj7Goz+h+wCisZ+pByS7aoVYy6CdHs2zxKi83p9PsE
9dWqIkaN1vHXKHeceWUHbPgxnIL7OJQH5+kxBcK2IyhUJP/Y53UJOD+pDsYg8XD/
eB4YELBjKMAMe+Ddia4gc2q57hgdILhxaSkhOs5yhH6YGbNRYnK44w7pUIKA9e6R
dYKPAfOH9mt/gjaB8AdGVUwiSJaj8Lsb1ZDST2uWIY1Ty3aACRj3tWmi8Y0+FbCW
x3BAEhLg6qvBJXCSt9Ypz0cBWurEhi5hZU6Tm0sBpfCcQmDD5m4dlK6y/URAOcE2
nM2cpF6XI7JdUDa1BLZktBAuUWo1nXfgZstlK2rOGpDBdtRYJqpsK4eNed94XnAC
7h4g7R5FU4GN46VWO4RRIBzMzay6qPw3eCZZFXaZGSVzqTPzIP0=
=p3de
-----END PGP SIGNATURE-----

#917381#17
Date:
2021-09-19 16:51:12 UTC
From:
To:
Greetings,

I'm just curious to hear if any progress is being made on this item?

Martin-Éric

- -- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages lintian-brush depends on:
ii  devscripts                   2.21.4
ii  python3                      3.9.2-3
ii  python3-breezy               3.2.1-1
ii  python3-debian               0.1.39
ii  python3-debmutate            0.39
ii  python3-distro-info          1.0
ii  python3-dulwich              0.20.23-1
ii  python3-iniparse             0.4-3
ii  python3-iso8601              0.1.13-1
ii  python3-ruamel.yaml          0.16.12-2
ii  python3-tqdm                 4.57.0-2
ii  python3-upstream-ontologist  0.1.22-1

Versions of packages lintian-brush recommends:
ii  decopy               0.2.4.4-0.1
ii  dos2unix             7.4.1-1
ii  gpg                  2.2.27-2
ii  libdebhelper-perl    13.5.1
ii  lintian              2.106.1
ii  ognibuild            0.0.9-1
ii  python3-asyncpg      0.24.0-1
ii  python3-bs4          4.9.3-1
ii  python3-docutils     0.16+dfsg-4
ii  python3-levenshtein  0.12.2-1
ii  python3-lxml         4.6.3+dfsg-1
ii  python3-markdown     3.3.4-1
ii  python3-pyinotify    0.9.6-1.3
ii  python3-tomlkit      0.6.0-2

Versions of packages lintian-brush suggests:
pn  breezy-debian      <none>
ii  gnome-pkg-tools    0.22.4
ii  po-debconf         1.0.21+nmu1
pn  postgresql-common  <none>

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmFHan0ACgkQrh+Cd8S0
17bjHg//STvnPN4zp5V5E6Ojg3Ucpyzr4q3d6trpwnFKflxYsFeBDR+PGPJ4mvi7
mq77gXnQNQflvXqkKwFXg/th7LO4iR0eYP4LdsP3z7dEHYApf1cVyLzdMNxA05+r
gRRThupmUb04bd3JNCb12doqypPPzdO7bfH/0YYLVAU9DXh50ntPZLLTyhljwSsF
gw8YHWW3LZWhpYRgILEOvKEne+fDJA6y5/A9wMvsNKdWuJxbq2f5L+YNhkKp+WC4
LI5PTiNTk/23V6h5tanyx7iitdpO1ACnNOza39bTghER1fLit49jow8dGMnbAI8I
P9c/i22ChrZi92gsMwhYmBHH3jp0sOrGMRJFrQ/pgWXFp2eLGF564PIV2QVSpI7f
hm1lvjGKB79pkhp5oBuOgq1ril7p59IYhTSoe6OE6G/urR9S57UihNf9aM5ZDqxt
ZHGfYdhagH4cs9/CTJQITYQuamqq9YyUrNfQ2g9hNuPSMdsuc0qwgpUVZ5R3cao/
rrv9+K215+J8livMKnE+KryasIq3PRYsV/WyDai+V7hoP3tq6DhrHXTn0Hjm5SEG
nNxxCuvkWR13PIxhCbRaRx9BW3i4dj7BsU02alNYkW32E3zXiw2GPDwBP8Mp5VMs
smXLS/AYaQPvuTkvIftyUxMVPgKlmZdF9qJGjBEV8gTvA3jKzck=
=bn4i
-----END PGP SIGNATURE-----

#917381#22
Date:
2026-02-19 11:27:20 UTC
From:
To:
So I would like to support git-less operation in lintian-brush.

That said, this isn't trivial; the current code intentionally uses git to be
able to track what changes lintian-brush fixers have made, and to be able to
revert them if subsequent stages of the process fail.

Supporting git (or rather, any type of vcs) will require some alternative
light-weight tracking of changes. This could just be creating an external
git directory and using that to track the changes.