diff options
author | flynnnnnnnnnn <118399147+flynnnnnnnnnn@users.noreply.github.com> | 2022-11-27 13:20:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 18:20:29 +0000 |
commit | e81ccc406bf723a5a58d685e7782f281736affd4 (patch) | |
tree | bc9812f3f1779f8ce86b8f915d08aafd02e944b9 /modules/auth | |
parent | f6fd501841816f5e5c1c9a30fbc4c9a2a6f987bc (diff) | |
download | gitea-e81ccc406bf723a5a58d685e7782f281736affd4.tar.gz gitea-e81ccc406bf723a5a58d685e7782f281736affd4.zip |
Implement FSFE REUSE for golang files (#21840)
Change all license headers to comply with REUSE specification.
Fix #16132
Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules/auth')
-rw-r--r-- | modules/auth/openid/discovery_cache.go | 3 | ||||
-rw-r--r-- | modules/auth/openid/discovery_cache_test.go | 3 | ||||
-rw-r--r-- | modules/auth/openid/openid.go | 3 | ||||
-rw-r--r-- | modules/auth/pam/pam.go | 3 | ||||
-rw-r--r-- | modules/auth/pam/pam_stub.go | 3 | ||||
-rw-r--r-- | modules/auth/pam/pam_test.go | 3 | ||||
-rw-r--r-- | modules/auth/webauthn/webauthn.go | 3 | ||||
-rw-r--r-- | modules/auth/webauthn/webauthn_test.go | 3 |
8 files changed, 8 insertions, 16 deletions
diff --git a/modules/auth/openid/discovery_cache.go b/modules/auth/openid/discovery_cache.go index 68cd7a8756..3a8d119bdd 100644 --- a/modules/auth/openid/discovery_cache.go +++ b/modules/auth/openid/discovery_cache.go @@ -1,6 +1,5 @@ // Copyright 2017 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package openid diff --git a/modules/auth/openid/discovery_cache_test.go b/modules/auth/openid/discovery_cache_test.go index 28546f6031..5a7f450937 100644 --- a/modules/auth/openid/discovery_cache_test.go +++ b/modules/auth/openid/discovery_cache_test.go @@ -1,6 +1,5 @@ // Copyright 2017 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package openid diff --git a/modules/auth/openid/openid.go b/modules/auth/openid/openid.go index 8926fc6d7a..249ce02335 100644 --- a/modules/auth/openid/openid.go +++ b/modules/auth/openid/openid.go @@ -1,6 +1,5 @@ // Copyright 2017 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package openid diff --git a/modules/auth/pam/pam.go b/modules/auth/pam/pam.go index 39e93d7162..cca1482b1d 100644 --- a/modules/auth/pam/pam.go +++ b/modules/auth/pam/pam.go @@ -1,6 +1,5 @@ // Copyright 2014 The Gogs Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT //go:build pam diff --git a/modules/auth/pam/pam_stub.go b/modules/auth/pam/pam_stub.go index 414d7631b5..a48e89860e 100644 --- a/modules/auth/pam/pam_stub.go +++ b/modules/auth/pam/pam_stub.go @@ -1,6 +1,5 @@ // Copyright 2014 The Gogs Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT //go:build !pam diff --git a/modules/auth/pam/pam_test.go b/modules/auth/pam/pam_test.go index 08565d2f31..c277d59c41 100644 --- a/modules/auth/pam/pam_test.go +++ b/modules/auth/pam/pam_test.go @@ -1,8 +1,7 @@ //go:build pam // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package pam diff --git a/modules/auth/webauthn/webauthn.go b/modules/auth/webauthn/webauthn.go index e39b6f46d6..ec60a86100 100644 --- a/modules/auth/webauthn/webauthn.go +++ b/modules/auth/webauthn/webauthn.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package webauthn diff --git a/modules/auth/webauthn/webauthn_test.go b/modules/auth/webauthn/webauthn_test.go index 71fb9d2757..1beeb64cd6 100644 --- a/modules/auth/webauthn/webauthn_test.go +++ b/modules/auth/webauthn/webauthn_test.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package webauthn |