summaryrefslogtreecommitdiffstats
path: root/modules/repository
diff options
context:
space:
mode:
Diffstat (limited to 'modules/repository')
-rw-r--r--modules/repository/collaborator.go3
-rw-r--r--modules/repository/collaborator_test.go3
-rw-r--r--modules/repository/commits.go3
-rw-r--r--modules/repository/commits_test.go3
-rw-r--r--modules/repository/create.go3
-rw-r--r--modules/repository/create_test.go3
-rw-r--r--modules/repository/delete.go3
-rw-r--r--modules/repository/env.go3
-rw-r--r--modules/repository/fork.go3
-rw-r--r--modules/repository/generate.go3
-rw-r--r--modules/repository/generate_test.go3
-rw-r--r--modules/repository/hooks.go3
-rw-r--r--modules/repository/init.go3
-rw-r--r--modules/repository/main_test.go3
-rw-r--r--modules/repository/push.go3
-rw-r--r--modules/repository/repo.go3
-rw-r--r--modules/repository/temp.go3
17 files changed, 17 insertions, 34 deletions
diff --git a/modules/repository/collaborator.go b/modules/repository/collaborator.go
index b83d8199b9..44c03f999e 100644
--- a/modules/repository/collaborator.go
+++ b/modules/repository/collaborator.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 repository
diff --git a/modules/repository/collaborator_test.go b/modules/repository/collaborator_test.go
index 1b927aa3b6..ad835ae4d4 100644
--- a/modules/repository/collaborator_test.go
+++ b/modules/repository/collaborator_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 repository
diff --git a/modules/repository/commits.go b/modules/repository/commits.go
index 7d6eec151f..a47f9b2dc8 100644
--- a/modules/repository/commits.go
+++ b/modules/repository/commits.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 repository
diff --git a/modules/repository/commits_test.go b/modules/repository/commits_test.go
index 7bd741d0c8..2ae4bc73d2 100644
--- a/modules/repository/commits_test.go
+++ b/modules/repository/commits_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 repository
diff --git a/modules/repository/create.go b/modules/repository/create.go
index c43f1e0989..8bee890aad 100644
--- a/modules/repository/create.go
+++ b/modules/repository/create.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 repository
diff --git a/modules/repository/create_test.go b/modules/repository/create_test.go
index 3040782845..94a9b26aa6 100644
--- a/modules/repository/create_test.go
+++ b/modules/repository/create_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 repository
diff --git a/modules/repository/delete.go b/modules/repository/delete.go
index 25fb15e300..c7e05e6669 100644
--- a/modules/repository/delete.go
+++ b/modules/repository/delete.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 repository
diff --git a/modules/repository/env.go b/modules/repository/env.go
index e86e0d4535..646bf35cc6 100644
--- a/modules/repository/env.go
+++ b/modules/repository/env.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 repository
diff --git a/modules/repository/fork.go b/modules/repository/fork.go
index c967d3b741..8e9f3a8976 100644
--- a/modules/repository/fork.go
+++ b/modules/repository/fork.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 repository
diff --git a/modules/repository/generate.go b/modules/repository/generate.go
index c5fd7d60bf..5726a8fb1b 100644
--- a/modules/repository/generate.go
+++ b/modules/repository/generate.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 repository
diff --git a/modules/repository/generate_test.go b/modules/repository/generate_test.go
index 139fa4c918..1cb9a50f67 100644
--- a/modules/repository/generate_test.go
+++ b/modules/repository/generate_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 repository
diff --git a/modules/repository/hooks.go b/modules/repository/hooks.go
index 4d7d294a92..a95b9c2e99 100644
--- a/modules/repository/hooks.go
+++ b/modules/repository/hooks.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 repository
diff --git a/modules/repository/init.go b/modules/repository/init.go
index 65072a9599..cd7176c238 100644
--- a/modules/repository/init.go
+++ b/modules/repository/init.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 repository
diff --git a/modules/repository/main_test.go b/modules/repository/main_test.go
index 42134fa7ad..007790f2a9 100644
--- a/modules/repository/main_test.go
+++ b/modules/repository/main_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 repository
diff --git a/modules/repository/push.go b/modules/repository/push.go
index 4e4b4000b1..1fa711b359 100644
--- a/modules/repository/push.go
+++ b/modules/repository/push.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 repository
diff --git a/modules/repository/repo.go b/modules/repository/repo.go
index f1360f4478..a90eb8a764 100644
--- a/modules/repository/repo.go
+++ b/modules/repository/repo.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 repository
diff --git a/modules/repository/temp.go b/modules/repository/temp.go
index 21af039469..53646718e0 100644
--- a/modules/repository/temp.go
+++ b/modules/repository/temp.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 repository