Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templates for addheader #60

Closed
5 of 6 tasks
mxmehl opened this issue Aug 9, 2019 · 1 comment · Fixed by #70
Closed
5 of 6 tasks

Templates for addheader #60

mxmehl opened this issue Aug 9, 2019 · 1 comment · Fixed by #70
Milestone

Comments

@mxmehl
Copy link
Member

mxmehl commented Aug 9, 2019

We want to support custom templates for headers. Allow default templates per file type and verify integrity.

Some notes that we took:

  • Jinja seems like a good templating system for this
  • Add a way to configure default templates per file type
  • Verify integrity of template (is a single comment block, contains two tag loops)
  • Make sure that the template can replace itself in a header
  • [optional] Perhaps allow a method for uncommented templates that can be used for all file types recognised by REUSE? It's fairly trivial to comment such a text block
  • Allow a method for commented templates
@mxmehl mxmehl added this to the v0.5 milestone Aug 9, 2019
@carmenbianca
Copy link
Member

Updated comment with a checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants