heistp / irtt

Isochronous Round-Trip Tester
GNU General Public License v2.0
185 stars 23 forks source link

SPDX tags in the source files? #36

Open tohojo opened 2 years ago

tohojo commented 2 years ago

The only place the license of IRTT is specified is by the content of the LICENSE file, which is a bit inscrutable. How about adding SPDX tags to the source files as well? :)

(This came up during Fedora packaging review: https://bugzilla.redhat.com/show_bug.cgi?id=2085468 )

heistp commented 2 years ago

Thanks, it's a good idea. I'll come back to this at some point. I'm using them in my new project.

tohojo commented 2 years ago

Pete Heist @.***> writes:

Thanks, it's a good idea. I'll come back to this at some point. I'm using them in my new project.

Cool! Here's a sed one-liner to insert it into every file:

sed -i '1i // SPDX-License-Identifier: GPL-2.0' *.go