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/git | |
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/git')
-rw-r--r-- | models/git/branches.go | 3 | ||||
-rw-r--r-- | models/git/branches_test.go | 3 | ||||
-rw-r--r-- | models/git/commit_status.go | 3 | ||||
-rw-r--r-- | models/git/commit_status_test.go | 3 | ||||
-rw-r--r-- | models/git/lfs.go | 3 | ||||
-rw-r--r-- | models/git/lfs_lock.go | 3 | ||||
-rw-r--r-- | models/git/main_test.go | 3 | ||||
-rw-r--r-- | models/git/protected_tag.go | 3 | ||||
-rw-r--r-- | models/git/protected_tag_test.go | 3 |
9 files changed, 9 insertions, 18 deletions
diff --git a/models/git/branches.go b/models/git/branches.go index 328f6f0f0d..87246ed149 100644 --- a/models/git/branches.go +++ b/models/git/branches.go @@ -1,6 +1,5 @@ // Copyright 2016 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 git diff --git a/models/git/branches_test.go b/models/git/branches_test.go index 754c5a4e66..038a4f6686 100644 --- a/models/git/branches_test.go +++ b/models/git/branches_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 git_test diff --git a/models/git/commit_status.go b/models/git/commit_status.go index df6f5ae7ea..411fbbe536 100644 --- a/models/git/commit_status.go +++ b/models/git/commit_status.go @@ -1,6 +1,5 @@ // Copyright 2017 Gitea. 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 git diff --git a/models/git/commit_status_test.go b/models/git/commit_status_test.go index 7b81b1549c..c829673014 100644 --- a/models/git/commit_status_test.go +++ b/models/git/commit_status_test.go @@ -1,6 +1,5 @@ // Copyright 2017 Gitea. 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 git_test diff --git a/models/git/lfs.go b/models/git/lfs.go index 87e07d7a5e..a86e84c050 100644 --- a/models/git/lfs.go +++ b/models/git/lfs.go @@ -1,6 +1,5 @@ // Copyright 2020 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 git diff --git a/models/git/lfs_lock.go b/models/git/lfs_lock.go index c5a8cc245e..3d765ea22b 100644 --- a/models/git/lfs_lock.go +++ b/models/git/lfs_lock.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 git diff --git a/models/git/main_test.go b/models/git/main_test.go index 41e6ac4704..5ef9cde607 100644 --- a/models/git/main_test.go +++ b/models/git/main_test.go @@ -1,6 +1,5 @@ // Copyright 2020 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 git_test diff --git a/models/git/protected_tag.go b/models/git/protected_tag.go index 4640a77b20..1d32b11366 100644 --- a/models/git/protected_tag.go +++ b/models/git/protected_tag.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 git diff --git a/models/git/protected_tag_test.go b/models/git/protected_tag_test.go index 352eed0060..164c33e28f 100644 --- a/models/git/protected_tag_test.go +++ b/models/git/protected_tag_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 git_test |