summaryrefslogtreecommitdiffstats
path: root/routers/web/org
diff options
context:
space:
mode:
authorflynnnnnnnnnn <118399147+flynnnnnnnnnn@users.noreply.github.com>2022-11-27 13:20:29 -0500
committerGitHub <noreply@github.com>2022-11-27 18:20:29 +0000
commite81ccc406bf723a5a58d685e7782f281736affd4 (patch)
treebc9812f3f1779f8ce86b8f915d08aafd02e944b9 /routers/web/org
parentf6fd501841816f5e5c1c9a30fbc4c9a2a6f987bc (diff)
downloadgitea-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 'routers/web/org')
-rw-r--r--routers/web/org/home.go3
-rw-r--r--routers/web/org/members.go3
-rw-r--r--routers/web/org/org.go3
-rw-r--r--routers/web/org/org_labels.go3
-rw-r--r--routers/web/org/setting.go3
-rw-r--r--routers/web/org/setting_oauth2.go3
-rw-r--r--routers/web/org/teams.go3
7 files changed, 7 insertions, 14 deletions
diff --git a/routers/web/org/home.go b/routers/web/org/home.go
index 6bd8a89d12..4cc364acd3 100644
--- a/routers/web/org/home.go
+++ b/routers/web/org/home.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 org
diff --git a/routers/web/org/members.go b/routers/web/org/members.go
index ec5a98fc6a..3be2a39c2e 100644
--- a/routers/web/org/members.go
+++ b/routers/web/org/members.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2020 The Gitea Authors.
-// 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 org
diff --git a/routers/web/org/org.go b/routers/web/org/org.go
index 32d8787995..f67e7edb4c 100644
--- a/routers/web/org/org.go
+++ b/routers/web/org/org.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// 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 org
diff --git a/routers/web/org/org_labels.go b/routers/web/org/org_labels.go
index 185e1eee31..1c910a93a5 100644
--- a/routers/web/org/org_labels.go
+++ b/routers/web/org/org_labels.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 org
diff --git a/routers/web/org/setting.go b/routers/web/org/setting.go
index 3f7bc59856..899e554ba0 100644
--- a/routers/web/org/setting.go
+++ b/routers/web/org/setting.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 org
diff --git a/routers/web/org/setting_oauth2.go b/routers/web/org/setting_oauth2.go
index 47d1141f34..9bf4280b07 100644
--- a/routers/web/org/setting_oauth2.go
+++ b/routers/web/org/setting_oauth2.go
@@ -1,6 +1,5 @@
// Copyright 2022 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 org
diff --git a/routers/web/org/teams.go b/routers/web/org/teams.go
index 399d07fe47..d12e2fcc45 100644
--- a/routers/web/org/teams.go
+++ b/routers/web/org/teams.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 org