data: rename templates

Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
2 files changed
tree: eb9ff2794db8729b8664f0b07c551e40ec9c4b92
  1. bin/
  2. data/
  3. Makefile
  4. README.md
README.md

Scripts for creating kernel pull requests.

Install the command and templates with make install. Templates are installed in $XDG_DATA_HOME/linux-pr (default: ~/.local/share/linux-pr). Override DATADIR at installation time to use a different directory; the installed command records that directory. DESTDIR is only a staging prefix.

Select a template by name, without the .mbox.in suffix:

linux-pr -n -C ~/work/linux tpmdd v7.4-rc1 linux-tpmdd

The available names are keyrings and linux-tpmdd. Lookup defaults to the installed template directory, with no current-directory or checkout fallback. Use --data-dir <dir> to select another template directory explicitly. For example, when testing from this checkout:

bin/linux-pr -n --data-dir ./data -C ~/work/linux tpmdd v7.4-rc1 linux-tpmdd