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 /models/asymkey | |
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 'models/asymkey')
-rw-r--r-- | models/asymkey/error.go | 3 | ||||
-rw-r--r-- | models/asymkey/gpg_key.go | 3 | ||||
-rw-r--r-- | models/asymkey/gpg_key_add.go | 3 | ||||
-rw-r--r-- | models/asymkey/gpg_key_commit_verification.go | 3 | ||||
-rw-r--r-- | models/asymkey/gpg_key_common.go | 3 | ||||
-rw-r--r-- | models/asymkey/gpg_key_import.go | 3 | ||||
-rw-r--r-- | models/asymkey/gpg_key_test.go | 3 | ||||
-rw-r--r-- | models/asymkey/gpg_key_verify.go | 3 | ||||
-rw-r--r-- | models/asymkey/main_test.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key_authorized_keys.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key_authorized_principals.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key_commit_verification.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key_deploy.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key_fingerprint.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key_parse.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key_principals.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key_test.go | 3 | ||||
-rw-r--r-- | models/asymkey/ssh_key_verify.go | 3 |
19 files changed, 19 insertions, 38 deletions
diff --git a/models/asymkey/error.go b/models/asymkey/error.go index 3ddeb0498a..1d486082f4 100644 --- a/models/asymkey/error.go +++ b/models/asymkey/error.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 asymkey diff --git a/models/asymkey/gpg_key.go b/models/asymkey/gpg_key.go index 30f5ecc949..ecd9041e65 100644 --- a/models/asymkey/gpg_key.go +++ b/models/asymkey/gpg_key.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 asymkey diff --git a/models/asymkey/gpg_key_add.go b/models/asymkey/gpg_key_add.go index e7be19073a..eb4027b3a4 100644 --- a/models/asymkey/gpg_key_add.go +++ b/models/asymkey/gpg_key_add.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 asymkey diff --git a/models/asymkey/gpg_key_commit_verification.go b/models/asymkey/gpg_key_commit_verification.go index d5b06f83fd..1cdd748e35 100644 --- a/models/asymkey/gpg_key_commit_verification.go +++ b/models/asymkey/gpg_key_commit_verification.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 asymkey diff --git a/models/asymkey/gpg_key_common.go b/models/asymkey/gpg_key_common.go index 1ea510c45f..5ceeee9aac 100644 --- a/models/asymkey/gpg_key_common.go +++ b/models/asymkey/gpg_key_common.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 asymkey diff --git a/models/asymkey/gpg_key_import.go b/models/asymkey/gpg_key_import.go index 210c4b835b..5b5ef4faba 100644 --- a/models/asymkey/gpg_key_import.go +++ b/models/asymkey/gpg_key_import.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 asymkey diff --git a/models/asymkey/gpg_key_test.go b/models/asymkey/gpg_key_test.go index 2cee45d98f..6a0f9c6144 100644 --- a/models/asymkey/gpg_key_test.go +++ b/models/asymkey/gpg_key_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 asymkey diff --git a/models/asymkey/gpg_key_verify.go b/models/asymkey/gpg_key_verify.go index 4e9d04f576..cb5eb7c853 100644 --- a/models/asymkey/gpg_key_verify.go +++ b/models/asymkey/gpg_key_verify.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 asymkey diff --git a/models/asymkey/main_test.go b/models/asymkey/main_test.go index 9f53e335fe..82a408ece0 100644 --- a/models/asymkey/main_test.go +++ b/models/asymkey/main_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 asymkey diff --git a/models/asymkey/ssh_key.go b/models/asymkey/ssh_key.go index 811f563c8d..4d6ae8103c 100644 --- a/models/asymkey/ssh_key.go +++ b/models/asymkey/ssh_key.go @@ -1,7 +1,6 @@ // Copyright 2014 The Gogs Authors. All rights reserved. // Copyright 2019 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 asymkey diff --git a/models/asymkey/ssh_key_authorized_keys.go b/models/asymkey/ssh_key_authorized_keys.go index ce3b0248ce..e138182d68 100644 --- a/models/asymkey/ssh_key_authorized_keys.go +++ b/models/asymkey/ssh_key_authorized_keys.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 asymkey diff --git a/models/asymkey/ssh_key_authorized_principals.go b/models/asymkey/ssh_key_authorized_principals.go index 4b08d0dfe7..092839611f 100644 --- a/models/asymkey/ssh_key_authorized_principals.go +++ b/models/asymkey/ssh_key_authorized_principals.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 asymkey diff --git a/models/asymkey/ssh_key_commit_verification.go b/models/asymkey/ssh_key_commit_verification.go index 65bae0f393..af73637c4a 100644 --- a/models/asymkey/ssh_key_commit_verification.go +++ b/models/asymkey/ssh_key_commit_verification.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 asymkey diff --git a/models/asymkey/ssh_key_deploy.go b/models/asymkey/ssh_key_deploy.go index 601e5c32e5..cc84392117 100644 --- a/models/asymkey/ssh_key_deploy.go +++ b/models/asymkey/ssh_key_deploy.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 asymkey diff --git a/models/asymkey/ssh_key_fingerprint.go b/models/asymkey/ssh_key_fingerprint.go index 788d58dbab..ca0334cc0b 100644 --- a/models/asymkey/ssh_key_fingerprint.go +++ b/models/asymkey/ssh_key_fingerprint.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 asymkey diff --git a/models/asymkey/ssh_key_parse.go b/models/asymkey/ssh_key_parse.go index 2462310ed9..b3eecb2c9b 100644 --- a/models/asymkey/ssh_key_parse.go +++ b/models/asymkey/ssh_key_parse.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 asymkey diff --git a/models/asymkey/ssh_key_principals.go b/models/asymkey/ssh_key_principals.go index 7a769fd84d..f00c3f3e9e 100644 --- a/models/asymkey/ssh_key_principals.go +++ b/models/asymkey/ssh_key_principals.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 asymkey diff --git a/models/asymkey/ssh_key_test.go b/models/asymkey/ssh_key_test.go index adffedd0b6..afd79ae6de 100644 --- a/models/asymkey/ssh_key_test.go +++ b/models/asymkey/ssh_key_test.go @@ -1,7 +1,6 @@ // Copyright 2016 The Gogs Authors. All rights reserved. // Copyright 2019 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 asymkey diff --git a/models/asymkey/ssh_key_verify.go b/models/asymkey/ssh_key_verify.go index 6931df9e88..d6c16eb467 100644 --- a/models/asymkey/ssh_key_verify.go +++ b/models/asymkey/ssh_key_verify.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 asymkey |