You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
BSL license stipulates that every source file should have one:
All source files under BSL have a Change Date and the name of an Open Source license in the header. The Change Date specifies when the source file changes from BSL to the specified Open Source license. On the Change Date, or the fourth anniversary of the first publicly available distribution of the code under the BSL, whichever comes first, the code automatically becomes available under the Change License (i.e., an Open Source license).
Proposed solution: use an automatic header insertion tool and go-header lint (golangci-run includes it)
The text was updated successfully, but these errors were encountered:
yrashk
added a commit
to yrashk/bpxe
that referenced
this issue
May 14, 2021
> All source files under BSL have a Change Date and the name of an Open
Source license in the header. The Change Date specifies when the source
file changes from BSL to the specified Open Source license. On the
Change Date, or the fourth anniversary of the first publicly available
distribution of the code under the BSL, whichever comes first, the code
automatically becomes available under the Change License (i.e., an Open
Source license).
Solution: use an automatic header insertion tool (go-license)
and [go-header](https://github.com/denis-tingaikin/go-header) lint
(golangci-run includes it)
Closesyrashk-archived#13
yrashk
added a commit
to yrashk/bpxe
that referenced
this issue
May 14, 2021
BSL license stipulates that every source file should have one:
> All source files under BSL have a Change Date and the name of an Open
Source license in the header. The Change Date specifies when the source
file changes from BSL to the specified Open Source license. On the
Change Date, or the fourth anniversary of the first publicly available
distribution of the code under the BSL, whichever comes first, the code
automatically becomes available under the Change License (i.e., an Open
Source license).
Solution: use an automatic header insertion tool (go-license)
and [go-header](https://github.com/denis-tingaikin/go-header) lint
(golangci-run includes it)
Originally, I wanted to have empty comment lines between clauses of the
license header (copyright, reference to LICENSE and Change Date clause),
but go-license and go-header didn't quite agree on how to handle empty
lines and go-header was complaining and failing the check. They did
agree when I used a block comment to insert the license, but `go vet`
didn't: golang/go#46169
So I just removed the empty comment lines to get this done for now.
Closesyrashk-archived#13
BSL license stipulates that every source file should have one:
Proposed solution: use an automatic header insertion tool and go-header lint (golangci-run includes it)
The text was updated successfully, but these errors were encountered: