fsfe / reuse-tool

reuse is a tool for compliance with the REUSE recommendations.
https://reuse.software
390 stars 147 forks source link

Allow project-external templates for `addheader` #581

Open mxmehl opened 2 years ago

mxmehl commented 2 years ago

Currently, it's only possible to refer to custom templates for addheader using templates that are within the project's .reuse/templates folder. See the current documentation here.

We want to make it possible to also load templates from other, more global places.

This could be:

BigBlueHat commented 7 months ago

My personal expectation was that reuse would look in...

  1. the project's .reuse/templates/ folder
  2. the parent directories .reuse/templates/ folder (allowing for organization grouped working directories to share configs)
  3. my user directory space: ~/.reuse/templates/ (allowing use by me across all my projects)

It looks like appdirs could provide for the third option.