Sfoglia il codice sorgente

修改Copyright头文件

备注:无需提交为上游补丁
SongZihuan 1 mese fa
parent
commit
2c11c2ff9b
100 ha cambiato i file con 170 aggiunte e 94 eliminazioni
  1. 5 1
      conf/embed.go
  2. 5 1
      conf/embed_test.go
  3. 5 1
      gen.go
  4. 1 1
      gogs.go
  5. 1 1
      internal/app/api.go
  6. 1 1
      internal/app/api_test.go
  7. 1 1
      internal/app/metrics.go
  8. 1 1
      internal/auth/auth.go
  9. 1 1
      internal/auth/github/config.go
  10. 1 1
      internal/auth/github/provider.go
  11. 1 1
      internal/auth/ldap/config.go
  12. 1 1
      internal/auth/ldap/provider.go
  13. 1 1
      internal/auth/pam/config.go
  14. 1 1
      internal/auth/pam/pam.go
  15. 1 1
      internal/auth/pam/pam_stub.go
  16. 1 1
      internal/auth/pam/provider.go
  17. 1 1
      internal/auth/smtp/config.go
  18. 1 1
      internal/auth/smtp/provider.go
  19. 1 1
      internal/authutil/basic.go
  20. 1 1
      internal/authutil/basic_test.go
  21. 1 1
      internal/avatar/avatar.go
  22. 1 1
      internal/avatar/avatar_test.go
  23. 1 1
      internal/cmd/admin.go
  24. 1 1
      internal/cmd/backup.go
  25. 1 1
      internal/cmd/cert.go
  26. 1 1
      internal/cmd/cmd.go
  27. 1 1
      internal/cmd/hook.go
  28. 1 1
      internal/cmd/import.go
  29. 1 1
      internal/cmd/restore.go
  30. 1 1
      internal/cmd/serv.go
  31. 1 1
      internal/cmd/web.go
  32. 1 1
      internal/conf/computed.go
  33. 1 1
      internal/conf/computed_test.go
  34. 1 1
      internal/conf/conf.go
  35. 1 1
      internal/conf/conf_test.go
  36. 1 1
      internal/conf/log.go
  37. 1 1
      internal/conf/log_test.go
  38. 1 1
      internal/conf/mocks.go
  39. 1 1
      internal/conf/static.go
  40. 1 1
      internal/conf/static_minwinsvc.go
  41. 1 1
      internal/conf/static_test.go
  42. 1 1
      internal/conf/utils.go
  43. 1 1
      internal/conf/utils_test.go
  44. 1 1
      internal/context/api.go
  45. 1 1
      internal/context/api_org.go
  46. 1 1
      internal/context/auth.go
  47. 1 1
      internal/context/context.go
  48. 8 0
      internal/context/go_get.go
  49. 1 1
      internal/context/notice.go
  50. 1 1
      internal/context/org.go
  51. 1 1
      internal/context/repo.go
  52. 8 0
      internal/context/store.go
  53. 1 1
      internal/context/user.go
  54. 1 1
      internal/cron/cron.go
  55. 1 1
      internal/cryptoutil/aes.go
  56. 1 1
      internal/cryptoutil/aes_test.go
  57. 1 1
      internal/cryptoutil/md5.go
  58. 1 1
      internal/cryptoutil/md5_test.go
  59. 1 1
      internal/cryptoutil/sha.go
  60. 1 1
      internal/cryptoutil/sha_test.go
  61. 1 1
      internal/database/access_tokens.go
  62. 1 1
      internal/database/access_tokens_test.go
  63. 1 1
      internal/database/actions.go
  64. 5 1
      internal/database/actions_test.go
  65. 1 1
      internal/database/attachment.go
  66. 8 0
      internal/database/backup.go
  67. 1 1
      internal/database/backup_test.go
  68. 1 1
      internal/database/comment.go
  69. 1 1
      internal/database/database.go
  70. 1 1
      internal/database/error.go
  71. 1 1
      internal/database/errors/errors.go
  72. 1 1
      internal/database/errors/repo.go
  73. 1 1
      internal/database/issue.go
  74. 1 1
      internal/database/issue_label.go
  75. 1 1
      internal/database/issue_mail.go
  76. 1 1
      internal/database/lfs.go
  77. 1 1
      internal/database/lfs_test.go
  78. 1 1
      internal/database/login_source_files.go
  79. 1 1
      internal/database/login_source_files_test.go
  80. 1 1
      internal/database/login_sources.go
  81. 1 1
      internal/database/login_sources_test.go
  82. 1 1
      internal/database/main_test.go
  83. 5 1
      internal/database/migrations/main_test.go
  84. 1 1
      internal/database/migrations/migrations.go
  85. 5 1
      internal/database/migrations/v20.go
  86. 5 1
      internal/database/migrations/v20_test.go
  87. 5 1
      internal/database/migrations/v21.go
  88. 5 1
      internal/database/migrations/v21_test.go
  89. 4 0
      internal/database/migrations/v23.go
  90. 4 0
      internal/database/migrations/v24.go
  91. 4 0
      internal/database/migrations/v25.go
  92. 1 1
      internal/database/milestone.go
  93. 1 1
      internal/database/mirror.go
  94. 1 1
      internal/database/mirror_test.go
  95. 1 1
      internal/database/models.go
  96. 1 1
      internal/database/notices.go
  97. 1 1
      internal/database/notices_test.go
  98. 1 1
      internal/database/org.go
  99. 1 1
      internal/database/org_team.go
  100. 5 1
      internal/database/organizations.go

+ 5 - 1
conf/embed.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package conf
 

+ 5 - 1
conf/embed_test.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package conf
 

+ 5 - 1
gen.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package main
 

+ 1 - 1
gogs.go

@@ -2,7 +2,7 @@
 
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 // Gogs is a painless self-hosted Git Service.
 package main

+ 1 - 1
internal/app/api.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package app
 

+ 1 - 1
internal/app/api_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package app
 

+ 1 - 1
internal/app/metrics.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package app
 

+ 1 - 1
internal/auth/auth.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package auth
 

+ 1 - 1
internal/auth/github/config.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package github
 

+ 1 - 1
internal/auth/github/provider.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package github
 

+ 1 - 1
internal/auth/ldap/config.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 // Package ldap provide functions & structure to query a LDAP ldap directory.
 // For now, it's mainly tested again an MS Active Directory service, see README.md for more information.

+ 1 - 1
internal/auth/ldap/provider.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package ldap
 

+ 1 - 1
internal/auth/pam/config.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package pam
 

+ 1 - 1
internal/auth/pam/pam.go

@@ -2,7 +2,7 @@
 
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package pam
 

+ 1 - 1
internal/auth/pam/pam_stub.go

@@ -2,7 +2,7 @@
 
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package pam
 

+ 1 - 1
internal/auth/pam/provider.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package pam
 

+ 1 - 1
internal/auth/smtp/config.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package smtp
 

+ 1 - 1
internal/auth/smtp/provider.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package smtp
 

+ 1 - 1
internal/authutil/basic.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package authutil
 

+ 1 - 1
internal/authutil/basic_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package authutil
 

+ 1 - 1
internal/avatar/avatar.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package avatar
 

+ 1 - 1
internal/avatar/avatar_test.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package avatar
 

+ 1 - 1
internal/cmd/admin.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cmd
 

+ 1 - 1
internal/cmd/backup.go

@@ -1,6 +1,6 @@
 // Copyright 2017 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cmd
 

+ 1 - 1
internal/cmd/cert.go

@@ -1,7 +1,7 @@
 // Copyright 2009 The Go Authors. All rights reserved.
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cmd
 

+ 1 - 1
internal/cmd/cmd.go

@@ -1,6 +1,6 @@
 // Copyright 2015 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cmd
 

+ 1 - 1
internal/cmd/hook.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cmd
 

+ 1 - 1
internal/cmd/import.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cmd
 

+ 1 - 1
internal/cmd/restore.go

@@ -1,6 +1,6 @@
 // Copyright 2017 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cmd
 

+ 1 - 1
internal/cmd/serv.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cmd
 

+ 1 - 1
internal/cmd/web.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cmd
 

+ 1 - 1
internal/conf/computed.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/computed_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/conf.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/conf_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/log.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/log_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/mocks.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/static.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/static_minwinsvc.go

@@ -2,7 +2,7 @@
 
 // Copyright 2015 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/static_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/utils.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/conf/utils_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package conf
 

+ 1 - 1
internal/context/api.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package context
 

+ 1 - 1
internal/context/api_org.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package context
 

+ 1 - 1
internal/context/auth.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package context
 

+ 1 - 1
internal/context/context.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package context
 

+ 8 - 0
internal/context/go_get.go

@@ -1,3 +1,11 @@
+// Copyright 2022 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
 package context
 
 import (

+ 1 - 1
internal/context/notice.go

@@ -1,6 +1,6 @@
 // Copyright 2019 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package context
 

+ 1 - 1
internal/context/org.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package context
 

+ 1 - 1
internal/context/repo.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package context
 

+ 8 - 0
internal/context/store.go

@@ -1,3 +1,11 @@
+// Copyright 2022 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
 package context
 
 import (

+ 1 - 1
internal/context/user.go

@@ -1,6 +1,6 @@
 // Copyright 2018 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package context
 

+ 1 - 1
internal/cron/cron.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cron
 

+ 1 - 1
internal/cryptoutil/aes.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cryptoutil
 

+ 1 - 1
internal/cryptoutil/aes_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cryptoutil
 

+ 1 - 1
internal/cryptoutil/md5.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cryptoutil
 

+ 1 - 1
internal/cryptoutil/md5_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cryptoutil
 

+ 1 - 1
internal/cryptoutil/sha.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cryptoutil
 

+ 1 - 1
internal/cryptoutil/sha_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package cryptoutil
 

+ 1 - 1
internal/database/access_tokens.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/access_tokens_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/actions.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 5 - 1
internal/database/actions_test.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package database
 

+ 1 - 1
internal/database/attachment.go

@@ -1,6 +1,6 @@
 // Copyright 2017 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 8 - 0
internal/database/backup.go

@@ -1,3 +1,11 @@
+// Copyright 2022 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
 package database
 
 import (

+ 1 - 1
internal/database/backup_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/comment.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/database.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/error.go

@@ -1,6 +1,6 @@
 // Copyright 2015 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/errors/errors.go

@@ -1,6 +1,6 @@
 // Copyright 2017 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package errors
 

+ 1 - 1
internal/database/errors/repo.go

@@ -1,6 +1,6 @@
 // Copyright 2017 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package errors
 

+ 1 - 1
internal/database/issue.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/issue_label.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/issue_mail.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/lfs.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/lfs_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/login_source_files.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/login_source_files_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/login_sources.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/login_sources_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/main_test.go

@@ -1,6 +1,6 @@
 // Copyright 2020 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 5 - 1
internal/database/migrations/main_test.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package migrations
 

+ 1 - 1
internal/database/migrations/migrations.go

@@ -1,6 +1,6 @@
 // Copyright 2015 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package migrations
 

+ 5 - 1
internal/database/migrations/v20.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package migrations
 

+ 5 - 1
internal/database/migrations/v20_test.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package migrations
 

+ 5 - 1
internal/database/migrations/v21.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package migrations
 

+ 5 - 1
internal/database/migrations/v21_test.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package migrations
 

+ 4 - 0
internal/database/migrations/v23.go

@@ -1,3 +1,7 @@
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
 package migrations
 
 import (

+ 4 - 0
internal/database/migrations/v24.go

@@ -1,3 +1,7 @@
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
 package migrations
 
 import (

+ 4 - 0
internal/database/migrations/v25.go

@@ -1,3 +1,7 @@
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
 package migrations
 
 import (

+ 1 - 1
internal/database/milestone.go

@@ -1,6 +1,6 @@
 // Copyright 2017 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/mirror.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/mirror_test.go

@@ -1,6 +1,6 @@
 // Copyright 2017 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/models.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/notices.go

@@ -1,6 +1,6 @@
 // Copyright 2023 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/notices_test.go

@@ -1,6 +1,6 @@
 // Copyright 2023 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/org.go

@@ -1,6 +1,6 @@
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 1 - 1
internal/database/org_team.go

@@ -1,6 +1,6 @@
 // Copyright 2016 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
 
 package database
 

+ 5 - 1
internal/database/organizations.go

@@ -1,6 +1,10 @@
 // Copyright 2022 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE.gogs file.
+// license that can be found in the LICENSE and LICENSE.gogs file.
+
+// Copyright 2025 Huan-Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
 
 package database
 

Some files were not shown because too many files changed in this diff