Re: Request for feedback: debcraft improve

Simon Josefsson <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <[email protected]>
Otto Kekäläinen <[email protected]> writes:

> Hi,
>
> The command `debcraft improve` can be run in a Debian packaging git
> repository to automatically fix several mechanical maintenance items
> common for most Debian packages.

Nice!  I have been looking for some simple tools to automate the many
manual/mechanic package update steps I often make.  I ran debcraft 0.9.1
(from testing, on a trixie-derived OS) in a checkout of latest
'trillian' git, and got the error below.  I do have a ~/.gitconfig with
this information.  Presumably the stuff below is running inside a
container somehow that lack the same configuration.  Couldn't it guess
these things better?

...
Reformatted ./debian/control.
DEBCRAFT WARNING: Command exited with code 2.
++ wrap-and-sort -ast
Author identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'jas@9fbdbd299580.(none)')
DEBCRAFT ERROR: Unresolvable issues found - please read the output above carefully
jas@frallan:~/dpkg/trillian$ git log -p

/Simon

> I recently refactored the code so that each check is in a separate
> script and each fix results in a well-documented git commit.
>
> If you are using Debcraft, I'd like to invite you to test the latest
> version (0.9.1) and give feedback on how these automatic fixes work
> for you and potentially contribute more at
> https://salsa.debian.org/debian/debcraft/-/tree/main/src/container/improve.d
>
> I am tring to do this in a way that it does not overlap too much with
> lintian-brush. There are also cme and other fixer scripts, but I am
> trying to achieve something simpler and more integrated.
>
>
signature.asc (application/pgp-signature, 1.2 KB)
-----BEGIN PGP SIGNATURE-----

iQNoBAEWCgMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmoegB4UHHNpbW9uQGpv
c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f
V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z
ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh
BLHSvRN1vst4TPT4xNc89jjFPAa+BQJp4fWRBQkOa+rdAAoJENc89jjFPAa+hWIA
/1lQvrJeGlQq50lP6tm99D1zDy7J1tQ3ha4x0Jx7rkFTAP9hpUKuTvm6m1fXyiZV
YZlu2+Id/Dq3CIAZvNF+XEr2BLgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx
I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0
+MTXPPY4xTwGvgUCaeCW1wUJDmqLVgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R
cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE
8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J
ENc89jjFPAa+s7AA+gIIHpBApDpcDj1sKhzDngmpvwQf0VkHme6s+EG7qSgpAQDe
/XMrU0c0Pa3ji85cMqZhvzJOFI/soe662lzL0QY3Bbg4BFySz2oSCisGAQQBl1UB
BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA
JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJp4JbXBQkOaottAAoJENc89jjF
PAa+RNUA/2faQO/nFT06E+MlhlQdo/0chlQXC5TZMPTVvVBFwoLOAP9xLJK0ow5E
jTzYJB4K810AL/Iv6PEOAEgA4cPTHVlbCQAKCRBRcisI/kdFonunAQDFdfIdon7l
HY/tnDnRe9tYkTrTLoXIG1CJxsRtdduktgD+OP4q/lOM9uVUi1my16aJB3YxahAm
bdAC03kGQI2RXAo=
=g4oT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.