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
Description: PGP signature

