diff --git a/models/forgefed/activity.go b/models/forgefed/activity.go index cbec22fa23..aeb943308e 100644 --- a/models/forgefed/activity.go +++ b/models/forgefed/activity.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Forgejo Authors. All rights reserved. +// Copyright 2023, 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package forgefed diff --git a/models/forgefed/actor.go b/models/forgefed/actor.go index c7f102eea1..03c4caeb00 100644 --- a/models/forgefed/actor.go +++ b/models/forgefed/actor.go @@ -1,4 +1,4 @@ -// Copyright 2023 The forgejo Authors. All rights reserved. +// Copyright 2023, 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package forgefed diff --git a/models/forgefed/actor_test.go b/models/forgefed/actor_test.go index 40e2a25f4d..88d2867429 100644 --- a/models/forgefed/actor_test.go +++ b/models/forgefed/actor_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The forgejo Authors. All rights reserved. +// Copyright 2023, 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package forgefed diff --git a/models/forgefed/federationhost_test.go b/models/forgefed/federationhost_test.go index 844d8c3e1a..04f941d93d 100644 --- a/models/forgefed/federationhost_test.go +++ b/models/forgefed/federationhost_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package forgefed diff --git a/models/repo/following_repo.go b/models/repo/following_repo.go index 8ec4b02785..85b96aa147 100644 --- a/models/repo/following_repo.go +++ b/models/repo/following_repo.go @@ -1,4 +1,4 @@ -// Copyright 2024 The forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package repo diff --git a/models/repo/repo.go b/models/repo/repo.go index 3298ca8c4d..8af38f6248 100644 --- a/models/repo/repo.go +++ b/models/repo/repo.go @@ -1,4 +1,5 @@ -// Copyright 2021, 2024 The Gitea & forgejo Authors. All rights reserved. +// Copyright 2021 The Gitea Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package repo diff --git a/models/repo/repo_repository.go b/models/repo/repo_repository.go index a9d91d3318..1835e440fd 100644 --- a/models/repo/repo_repository.go +++ b/models/repo/repo_repository.go @@ -1,4 +1,4 @@ -// Copyright 2024 The forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT // ToDo: Is this package the right place for federated repo? May need to diskuss this. package repo diff --git a/models/repo/repo_test.go b/models/repo/repo_test.go index 209aa99e44..7fa5f4fb68 100644 --- a/models/repo/repo_test.go +++ b/models/repo/repo_test.go @@ -1,4 +1,5 @@ // Copyright 2017 The Gitea Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package repo_test diff --git a/models/user/user.go b/models/user/user.go index 5afdec9a07..322854e56b 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -1,6 +1,6 @@ // Copyright 2014 The Gogs Authors. All rights reserved. // Copyright 2019 The Gitea Authors. All rights reserved. -// Copyright 2024 The forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package user diff --git a/models/user/user_test.go b/models/user/user_test.go index 1ba9778315..53b6bce6f3 100644 --- a/models/user/user_test.go +++ b/models/user/user_test.go @@ -1,4 +1,5 @@ // Copyright 2017 The Gitea Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package user_test diff --git a/modules/activitypub/client.go b/modules/activitypub/client.go index 23475ab065..4962ad79a4 100644 --- a/modules/activitypub/client.go +++ b/modules/activitypub/client.go @@ -1,4 +1,5 @@ -// Copyright 2022, 2023 The Forgejo & Gitea Authors. All rights reserved. +// Copyright 2022 The Gitea Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT // TODO: Think about whether this should be moved to services/activitypub (compare to exosy/services/activitypub/client.go) diff --git a/modules/activitypub/client_test.go b/modules/activitypub/client_test.go index b84d0ac158..2ef16fcdf5 100644 --- a/modules/activitypub/client_test.go +++ b/modules/activitypub/client_test.go @@ -1,5 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Copyright 2023 The forgejo Authors. All rights reserved. +// Copyright 2023 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package activitypub diff --git a/modules/templates/helper.go b/modules/templates/helper.go index f5569e6e96..9e6b5baf17 100644 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -1,3 +1,4 @@ +// Copyright 2024 The Forgejo Authors. All rights reserved. // Copyright 2018 The Gitea Authors. All rights reserved. // Copyright 2014 The Gogs Authors. All rights reserved. // SPDX-License-Identifier: MIT diff --git a/modules/validation/helpers.go b/modules/validation/helpers.go index 6f2fc6ca6e..415df4154c 100644 --- a/modules/validation/helpers.go +++ b/modules/validation/helpers.go @@ -1,3 +1,4 @@ +// Copyright 2024 The Forgejo Authors. All rights reserved. // Copyright 2018 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT diff --git a/modules/validation/validatable.go b/modules/validation/validatable.go index 1e9de3929f..ec69da14f9 100644 --- a/modules/validation/validatable.go +++ b/modules/validation/validatable.go @@ -1,4 +1,5 @@ -// Copyright 2023 The forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. +// Copyright 2023 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package validation diff --git a/modules/validation/validatable_test.go b/modules/validation/validatable_test.go index b86bd20e05..daa3678683 100644 --- a/modules/validation/validatable_test.go +++ b/modules/validation/validatable_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package validation diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index 68e4a51a83..65d5fc9074 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -1,4 +1,4 @@ -// Copyright 2023, 2024 The forgejo Authors. All rights reserved. +// Copyright 2023, 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package activitypub diff --git a/routers/api/v1/activitypub/repository_test.go b/routers/api/v1/activitypub/repository_test.go index bd593b27af..acd588d99b 100644 --- a/routers/api/v1/activitypub/repository_test.go +++ b/routers/api/v1/activitypub/repository_test.go @@ -1,3 +1,6 @@ +// Copyright 2024 The Forgejo Authors. All rights reserved. +// SPDX-License-Identifier: MIT + package activitypub import ( diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index e109824885..25311aa7a6 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -1,6 +1,6 @@ // Copyright 2015 The Gogs Authors. All rights reserved. // Copyright 2016 The Gitea Authors. All rights reserved. -// Copyright 2023 The forgejo Authors. All rights reserved. +// Copyright 2023 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT // Package v1 Gitea API diff --git a/routers/api/v1/swagger/options.go b/routers/api/v1/swagger/options.go index e741a7dfab..55effaab6f 100644 --- a/routers/api/v1/swagger/options.go +++ b/routers/api/v1/swagger/options.go @@ -1,4 +1,5 @@ -// Copyright 2023 The Gitea & forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. +// Copyright 2017 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT package swagger diff --git a/routers/api/v1/user/star.go b/routers/api/v1/user/star.go index d04474e097..cb9e05f791 100644 --- a/routers/api/v1/user/star.go +++ b/routers/api/v1/user/star.go @@ -1,6 +1,6 @@ // Copyright 2016 The Gogs Authors. All rights reserved. // Copyright 2020 The Gitea Authors. -// Copyright 2024 The forgejo Authors. +// Copyright 2024 The Forgejo Authors. // SPDX-License-Identifier: MIT package user diff --git a/routers/utils/utils.go b/routers/utils/utils.go index 3d8d1b8656..93359a842d 100644 --- a/routers/utils/utils.go +++ b/routers/utils/utils.go @@ -1,4 +1,5 @@ -// Copyright 2017, 2023 The Gitea & forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. +// Copyright 2017, 2023 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT package utils diff --git a/routers/web/repo/repo.go b/routers/web/repo/repo.go index 3fa392b2fb..025bfe129d 100644 --- a/routers/web/repo/repo.go +++ b/routers/web/repo/repo.go @@ -1,6 +1,6 @@ // Copyright 2014 The Gogs Authors. All rights reserved. // Copyright 2020 The Gitea Authors. All rights reserved. -// Copyright 2024 The forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package repo diff --git a/routers/web/repo/setting/setting.go b/routers/web/repo/setting/setting.go index 26a34c7b0e..8544f2a54b 100644 --- a/routers/web/repo/setting/setting.go +++ b/routers/web/repo/setting/setting.go @@ -1,6 +1,6 @@ // Copyright 2014 The Gogs Authors. All rights reserved. // Copyright 2018 The Gitea Authors. All rights reserved. -// Copyright 2024 The forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package setting diff --git a/services/context/repo.go b/services/context/repo.go index 43aa7d31c8..d865ee25aa 100644 --- a/services/context/repo.go +++ b/services/context/repo.go @@ -1,3 +1,4 @@ +// Copyright 2024 The Forgejo Authors. All rights reserved. // Copyright 2014 The Gogs Authors. All rights reserved. // Copyright 2017 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT diff --git a/services/context/repository.go b/services/context/repository.go index c49d5bb4e3..d69a5f317d 100644 --- a/services/context/repository.go +++ b/services/context/repository.go @@ -1,4 +1,4 @@ -// Copyright 2023 The forgejo Authors. All rights reserved. +// Copyright 2023 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package context diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go index 8696abca30..5a80c327fb 100644 --- a/services/forms/repo_form.go +++ b/services/forms/repo_form.go @@ -1,3 +1,4 @@ +// Copyright 2024 The Forgejo Authors. All rights reserved. // Copyright 2014 The Gogs Authors. All rights reserved. // Copyright 2017 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT diff --git a/services/repository/repository.go b/services/repository/repository.go index 088cb654d4..742d93dd2e 100644 --- a/services/repository/repository.go +++ b/services/repository/repository.go @@ -1,3 +1,4 @@ +// Copyright 2024 The Forgejo Authors. All rights reserved. // Copyright 2019 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT diff --git a/services/repository/star.go b/services/repository/star.go index 27aba77ac1..505da0f099 100644 --- a/services/repository/star.go +++ b/services/repository/star.go @@ -1,4 +1,4 @@ -// Copyright 2024 The forgejo Authors. All rights reserved. +// Copyright 2024 The Forgejo Authors. All rights reserved. // SPDX-License-Identifier: MIT package repository diff --git a/services/user/user.go b/services/user/user.go index 183628410c..4e983eb9f6 100644 --- a/services/user/user.go +++ b/services/user/user.go @@ -1,3 +1,4 @@ +// Copyright 2024 The Forgejo Authors. All rights reserved. // Copyright 2021 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT