diff options
Diffstat (limited to 'services/migrations')
25 files changed, 25 insertions, 50 deletions
diff --git a/services/migrations/codebase.go b/services/migrations/codebase.go index edeb276773..c02c8e13a2 100644 --- a/services/migrations/codebase.go +++ b/services/migrations/codebase.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 migrations diff --git a/services/migrations/codebase_test.go b/services/migrations/codebase_test.go index 03b5946d71..68721e0641 100644 --- a/services/migrations/codebase_test.go +++ b/services/migrations/codebase_test.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 migrations diff --git a/services/migrations/common.go b/services/migrations/common.go index 052975c9e7..34d7c93ddf 100644 --- a/services/migrations/common.go +++ b/services/migrations/common.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 migrations diff --git a/services/migrations/dump.go b/services/migrations/dump.go index 8103e2faac..cc8518d4a2 100644 --- a/services/migrations/dump.go +++ b/services/migrations/dump.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 migrations diff --git a/services/migrations/error.go b/services/migrations/error.go index d26fa8112c..46d303ac8e 100644 --- a/services/migrations/error.go +++ b/services/migrations/error.go @@ -1,7 +1,6 @@ // Copyright 2019 The Gitea Authors. All rights reserved. // Copyright 2018 Jonas Franz. 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 migrations diff --git a/services/migrations/git.go b/services/migrations/git.go index 3198f934ca..22ffd5e765 100644 --- a/services/migrations/git.go +++ b/services/migrations/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 migrations diff --git a/services/migrations/gitbucket.go b/services/migrations/gitbucket.go index 21d8c672dd..65c138ed04 100644 --- a/services/migrations/gitbucket.go +++ b/services/migrations/gitbucket.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 migrations diff --git a/services/migrations/gitea_downloader.go b/services/migrations/gitea_downloader.go index 9775af1cdc..470090b501 100644 --- a/services/migrations/gitea_downloader.go +++ b/services/migrations/gitea_downloader.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 migrations diff --git a/services/migrations/gitea_downloader_test.go b/services/migrations/gitea_downloader_test.go index 601b0a7c79..c37c70947e 100644 --- a/services/migrations/gitea_downloader_test.go +++ b/services/migrations/gitea_downloader_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 migrations diff --git a/services/migrations/gitea_uploader.go b/services/migrations/gitea_uploader.go index 8a7533b3d1..ea9b1a7142 100644 --- a/services/migrations/gitea_uploader.go +++ b/services/migrations/gitea_uploader.go @@ -1,7 +1,6 @@ // Copyright 2019 The Gitea Authors. All rights reserved. // Copyright 2018 Jonas Franz. 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 migrations diff --git a/services/migrations/gitea_uploader_test.go b/services/migrations/gitea_uploader_test.go index 362492631f..6a942b9b57 100644 --- a/services/migrations/gitea_uploader_test.go +++ b/services/migrations/gitea_uploader_test.go @@ -1,7 +1,6 @@ // Copyright 2019 The Gitea Authors. All rights reserved. // Copyright 2018 Jonas Franz. 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 migrations diff --git a/services/migrations/github.go b/services/migrations/github.go index e5683fb530..48dd90323d 100644 --- a/services/migrations/github.go +++ b/services/migrations/github.go @@ -1,7 +1,6 @@ // Copyright 2019 The Gitea Authors. All rights reserved. // Copyright 2018 Jonas Franz. 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 migrations diff --git a/services/migrations/github_test.go b/services/migrations/github_test.go index 7bbbbb6168..2b89e6dc0f 100644 --- a/services/migrations/github_test.go +++ b/services/migrations/github_test.go @@ -1,7 +1,6 @@ // Copyright 2019 The Gitea Authors. All rights reserved. // Copyright 2018 Jonas Franz. 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 migrations diff --git a/services/migrations/gitlab.go b/services/migrations/gitlab.go index b8bb0c77b5..44e1d70713 100644 --- a/services/migrations/gitlab.go +++ b/services/migrations/gitlab.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 migrations diff --git a/services/migrations/gitlab_test.go b/services/migrations/gitlab_test.go index 829964b384..1d8c5989bb 100644 --- a/services/migrations/gitlab_test.go +++ b/services/migrations/gitlab_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 migrations diff --git a/services/migrations/gogs.go b/services/migrations/gogs.go index 14bc734c4e..d01934ac6d 100644 --- a/services/migrations/gogs.go +++ b/services/migrations/gogs.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 migrations diff --git a/services/migrations/gogs_test.go b/services/migrations/gogs_test.go index 501161b610..610af183de 100644 --- a/services/migrations/gogs_test.go +++ b/services/migrations/gogs_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 migrations diff --git a/services/migrations/http_client.go b/services/migrations/http_client.go index 0d683693a1..9e3caec191 100644 --- a/services/migrations/http_client.go +++ b/services/migrations/http_client.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 migrations diff --git a/services/migrations/main_test.go b/services/migrations/main_test.go index ad9bc9c731..30875f6e5b 100644 --- a/services/migrations/main_test.go +++ b/services/migrations/main_test.go @@ -1,7 +1,6 @@ // Copyright 2019 The Gitea Authors. All rights reserved. // Copyright 2018 Jonas Franz. 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 migrations diff --git a/services/migrations/migrate.go b/services/migrations/migrate.go index dfb21b884b..a3b9d1cfa8 100644 --- a/services/migrations/migrate.go +++ b/services/migrations/migrate.go @@ -1,7 +1,6 @@ // Copyright 2019 The Gitea Authors. All rights reserved. // Copyright 2018 Jonas Franz. 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 migrations diff --git a/services/migrations/migrate_test.go b/services/migrations/migrate_test.go index 3fc4034777..03efa6185b 100644 --- a/services/migrations/migrate_test.go +++ b/services/migrations/migrate_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 migrations diff --git a/services/migrations/onedev.go b/services/migrations/onedev.go index 8cc826c3b4..d4b1b73d37 100644 --- a/services/migrations/onedev.go +++ b/services/migrations/onedev.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 migrations diff --git a/services/migrations/onedev_test.go b/services/migrations/onedev_test.go index 6a17eb334b..48412fec64 100644 --- a/services/migrations/onedev_test.go +++ b/services/migrations/onedev_test.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 migrations diff --git a/services/migrations/restore.go b/services/migrations/restore.go index 10fe8c4ee8..fd337b22c7 100644 --- a/services/migrations/restore.go +++ b/services/migrations/restore.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 migrations diff --git a/services/migrations/update.go b/services/migrations/update.go index cdec73cd1b..48b61885e8 100644 --- a/services/migrations/update.go +++ b/services/migrations/update.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 migrations |