pkgdev icon indicating copy to clipboard operation
pkgdev copied to clipboard

pkgdev commit: add copyright headers to new files

Open thesamesam opened this issue 4 years ago • 3 comments

Often, in profiles/*, we need to make new files like use.mask within subprofiles. pkgdev commit could add the necessary copyright headers at the beginning of the file.

See also: #5 where we update existing headers.

thesamesam avatar Mar 04 '21 00:03 thesamesam

What's the best way of identifying what files need a copyright header and which ones can't have one at all? I'd rather not maintain a hardcoded list in pkgdev.

radhermit avatar Mar 04 '21 00:03 radhermit

Or restated another way, why do any profile files need copyright headers? :laughing:

radhermit avatar Mar 04 '21 00:03 radhermit

Now I feel daft. I've kind of assumed it's needed because most other files in profiles/* have them. I can't find a reference for it and I've opened a bug given it seems useless.

thesamesam avatar Mar 04 '21 01:03 thesamesam