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/indexer | |
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/indexer')
-rw-r--r-- | modules/indexer/bleve/batch.go | 3 | ||||
-rw-r--r-- | modules/indexer/code/bleve.go | 3 | ||||
-rw-r--r-- | modules/indexer/code/bleve_test.go | 3 | ||||
-rw-r--r-- | modules/indexer/code/elastic_search.go | 3 | ||||
-rw-r--r-- | modules/indexer/code/elastic_search_test.go | 3 | ||||
-rw-r--r-- | modules/indexer/code/git.go | 3 | ||||
-rw-r--r-- | modules/indexer/code/indexer.go | 3 | ||||
-rw-r--r-- | modules/indexer/code/indexer_test.go | 3 | ||||
-rw-r--r-- | modules/indexer/code/search.go | 3 | ||||
-rw-r--r-- | modules/indexer/code/wrapped.go | 3 | ||||
-rw-r--r-- | modules/indexer/issues/bleve.go | 3 | ||||
-rw-r--r-- | modules/indexer/issues/bleve_test.go | 3 | ||||
-rw-r--r-- | modules/indexer/issues/db.go | 3 | ||||
-rw-r--r-- | modules/indexer/issues/elastic_search.go | 3 | ||||
-rw-r--r-- | modules/indexer/issues/indexer.go | 3 | ||||
-rw-r--r-- | modules/indexer/issues/indexer_test.go | 3 | ||||
-rw-r--r-- | modules/indexer/stats/db.go | 3 | ||||
-rw-r--r-- | modules/indexer/stats/indexer.go | 3 | ||||
-rw-r--r-- | modules/indexer/stats/indexer_test.go | 3 | ||||
-rw-r--r-- | modules/indexer/stats/queue.go | 3 |
20 files changed, 20 insertions, 40 deletions
diff --git a/modules/indexer/bleve/batch.go b/modules/indexer/bleve/batch.go index 79994e6e5b..77675147b2 100644 --- a/modules/indexer/bleve/batch.go +++ b/modules/indexer/bleve/batch.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 bleve diff --git a/modules/indexer/code/bleve.go b/modules/indexer/code/bleve.go index 3ea1c86178..6ee2639d34 100644 --- a/modules/indexer/code/bleve.go +++ b/modules/indexer/code/bleve.go @@ -1,6 +1,5 @@ // 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 code diff --git a/modules/indexer/code/bleve_test.go b/modules/indexer/code/bleve_test.go index a34d54bc0e..00bcd5c90c 100644 --- a/modules/indexer/code/bleve_test.go +++ b/modules/indexer/code/bleve_test.go @@ -1,6 +1,5 @@ // 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 code diff --git a/modules/indexer/code/elastic_search.go b/modules/indexer/code/elastic_search.go index dd3c9c9771..68c8096758 100644 --- a/modules/indexer/code/elastic_search.go +++ b/modules/indexer/code/elastic_search.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 code diff --git a/modules/indexer/code/elastic_search_test.go b/modules/indexer/code/elastic_search_test.go index fc58633f16..e7506eefa6 100644 --- a/modules/indexer/code/elastic_search_test.go +++ b/modules/indexer/code/elastic_search_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 code diff --git a/modules/indexer/code/git.go b/modules/indexer/code/git.go index 774dcc8149..bbcc6ba487 100644 --- a/modules/indexer/code/git.go +++ b/modules/indexer/code/git.go @@ -1,6 +1,5 @@ // 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 code diff --git a/modules/indexer/code/indexer.go b/modules/indexer/code/indexer.go index 9845ade3dd..d07ab10db0 100644 --- a/modules/indexer/code/indexer.go +++ b/modules/indexer/code/indexer.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 code diff --git a/modules/indexer/code/indexer_test.go b/modules/indexer/code/indexer_test.go index 06923dfd25..c353d5b688 100644 --- a/modules/indexer/code/indexer_test.go +++ b/modules/indexer/code/indexer_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 code diff --git a/modules/indexer/code/search.go b/modules/indexer/code/search.go index df255fa875..1de9ffc224 100644 --- a/modules/indexer/code/search.go +++ b/modules/indexer/code/search.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 code diff --git a/modules/indexer/code/wrapped.go b/modules/indexer/code/wrapped.go index ba58236fba..33ba57a094 100644 --- a/modules/indexer/code/wrapped.go +++ b/modules/indexer/code/wrapped.go @@ -1,6 +1,5 @@ // 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 code diff --git a/modules/indexer/issues/bleve.go b/modules/indexer/issues/bleve.go index dff1cf0c60..952bddfb29 100644 --- a/modules/indexer/issues/bleve.go +++ b/modules/indexer/issues/bleve.go @@ -1,6 +1,5 @@ // Copyright 2018 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 issues diff --git a/modules/indexer/issues/bleve_test.go b/modules/indexer/issues/bleve_test.go index 42d22f06a2..22827158e4 100644 --- a/modules/indexer/issues/bleve_test.go +++ b/modules/indexer/issues/bleve_test.go @@ -1,6 +1,5 @@ // Copyright 2018 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 issues diff --git a/modules/indexer/issues/db.go b/modules/indexer/issues/db.go index d21c86337e..d28b536e02 100644 --- a/modules/indexer/issues/db.go +++ b/modules/indexer/issues/db.go @@ -1,6 +1,5 @@ // 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 issues diff --git a/modules/indexer/issues/elastic_search.go b/modules/indexer/issues/elastic_search.go index 97e32b8975..ee8e3df62f 100644 --- a/modules/indexer/issues/elastic_search.go +++ b/modules/indexer/issues/elastic_search.go @@ -1,6 +1,5 @@ // 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 issues diff --git a/modules/indexer/issues/indexer.go b/modules/indexer/issues/indexer.go index 5b0279d1ab..55d3c7bc09 100644 --- a/modules/indexer/issues/indexer.go +++ b/modules/indexer/issues/indexer.go @@ -1,6 +1,5 @@ // Copyright 2018 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 issues diff --git a/modules/indexer/issues/indexer_test.go b/modules/indexer/issues/indexer_test.go index e8b9ff8370..ff0541d049 100644 --- a/modules/indexer/issues/indexer_test.go +++ b/modules/indexer/issues/indexer_test.go @@ -1,6 +1,5 @@ // 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 issues diff --git a/modules/indexer/stats/db.go b/modules/indexer/stats/db.go index d39b1dcf2a..068626c4fa 100644 --- a/modules/indexer/stats/db.go +++ b/modules/indexer/stats/db.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 stats diff --git a/modules/indexer/stats/indexer.go b/modules/indexer/stats/indexer.go index f4fe54b8cb..1c01e25e29 100644 --- a/modules/indexer/stats/indexer.go +++ b/modules/indexer/stats/indexer.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 stats diff --git a/modules/indexer/stats/indexer_test.go b/modules/indexer/stats/indexer_test.go index a4a8b63241..f9a1bc520a 100644 --- a/modules/indexer/stats/indexer_test.go +++ b/modules/indexer/stats/indexer_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 stats diff --git a/modules/indexer/stats/queue.go b/modules/indexer/stats/queue.go index f983fcd11d..32379f2859 100644 --- a/modules/indexer/stats/queue.go +++ b/modules/indexer/stats/queue.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 stats |