Support author name in LicenseHeaderStep
See original GitHub issueSome license texts include the name of the file’s initial creator. This is currently not possible to do with the LicenseHeaderStep
.
Maybe the step could should work with templates rather than constant strings, e,g,
licenseHeader('/* Copyright ${year} ${author}*/',
[year: java.time.LocalDate.now().year, author: 'John Doe'])
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Display Author name - WordPress.org
I have set the “Display Post Author” to NO, but i still get the name of the author under each FAQ. Viewing 2...
Read more >Cannot uninstall some program - Ubuntu Forums
Please help!!! ... OS name: Linux (version 3.13.0-32-generic) ... your computer. wizardheader.license.header=Step ${step}: End User License ...
Read more >How to get author name in header et al? - TeX
The first has the structure: \protect\@nameuse{@sep1} \protect\Authfont AUTHORNAME\protect\footnote ...
Read more >ep_author_hover - npm
Adds author names to span titles (shows on hover), works as authors ... switching between hovers (Doesn't depend on native browser support) ...
Read more >Is There a Markdown Syntax for Titles, Author, Etc?
... by pandoc (this format is supported by Jekyll, StackEdit and quite a few others): --- title: my title author: my name date:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I only just noticed that there is a misunderstanding. This is not about updating the text with the name of the last committer. It’s about the initial license creation. My use-case dictates that the initial creator’s name be put into the license text and that it stay the same when the license is updated.
Initial license creation is probably the most popular kind that people want. I know that the Eclipse IDE projects like their heads to include a list of everyone who has worked on the file, with
(C) 202x, 202x
for each year in which that person worked on it. Happy to take a PR which implements any mode.