question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support author name in LicenseHeaderStep

See original GitHub issue

Some 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:open
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jochenbergercommented, Nov 3, 2022

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.

0reactions
nedtwiggcommented, Nov 3, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found