To make the review of your request easier, please use the following template to provide all the required details and also include any other information that may be relevant.
-
name: patman
-
description: Patman creates, checks, sends and tracks patch series for projects that take patches by email, such as U-Boot and the Linux kernel. It turns a git branch into a patch series with a cover letter and change logs, runs checkpatch.pl and get_maintainer.pl from the project’s tree, sends the series with git send-email, and tracks it and its review tags on Patchwork. It can also draft reviews of patches using Claude Code.
-
snapcraft: github.com/deinde-dev/patman/blob/master/snap/snapcraft.yaml
-
upstream: URL pointing to the upstream repository, if open-source. Otherwise, ‘PRIVATE’
-
upstream-relation: I am the upstream author and maintainer. I wrote patman for U-Boot in 2011 and maintain the standalone project, which split out of U-Boot earlier this year.
-
supported-category: Developer tool which runs arbitrary user-configured commands (the ‘running arbitrary command’ criterion): patman drives the user’s own git and git send-email setup, and runs scripts from the project’s tree.
-
reasoning: patman is a developer tool which works directly on the user’s own source trees and toolchain:
- It runs on whatever git repository the user is in, which can be anywhere on disk (e.g. /src, /work, ~/dev or external drives), not just $HOME.
- It runs the user’s own git and
git send-email, with their git configuration, hooks, SMTP and credential settings, including ssh keys, gpg signing and sendmail. git send-emailruns patman again via--cc-cmd, so it must be runnable as an ordinary executable from outside the snap’s environment.- It runs
checkpatch.plandget_maintainer.plfrom the project’s own tree, which need the host’s perl and tools. - It launches the user’s editor, and for the review feature runs the user’s installed Claude Code (
claude) command.
The tool cannot work usefully with only the home and removable-media interfaces, since it must run the user’s chosen programs with their own configuration.
I understand that strict confinement is generally preferred over classic. [YES]
I’ve tried the existing interfaces to make the snap to work under strict confinement. [YES]