Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy +build: constraint #19582

Merged
merged 2 commits into from
May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build vendor
// +build vendor

package main

Expand Down
1 change: 0 additions & 1 deletion build/code-batch-process.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

package main

Expand Down
1 change: 0 additions & 1 deletion build/generate-bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

package main

Expand Down
1 change: 0 additions & 1 deletion build/generate-emoji.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

package main

Expand Down
1 change: 0 additions & 1 deletion build/generate-gitignores.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

package main

Expand Down
1 change: 0 additions & 1 deletion build/generate-licenses.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

package main

Expand Down
1 change: 0 additions & 1 deletion build/gitea-format-imports.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

package main

Expand Down
1 change: 0 additions & 1 deletion build/gocovmerge.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// merges them into one profile

//go:build ignore
// +build ignore

package main

Expand Down
1 change: 0 additions & 1 deletion cmd/embedded.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build bindata
// +build bindata

package cmd

Expand Down
1 change: 0 additions & 1 deletion cmd/embedded_stub.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !bindata
// +build !bindata

package cmd

Expand Down
1 change: 0 additions & 1 deletion modules/auth/pam/pam.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build pam
// +build pam

package pam

Expand Down
1 change: 0 additions & 1 deletion modules/auth/pam/pam_stub.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !pam
// +build !pam

package pam

Expand Down
1 change: 0 additions & 1 deletion modules/auth/pam/pam_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build pam
// +build pam

// Copyright 2021 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
Expand Down
1 change: 0 additions & 1 deletion modules/avatar/identicon/identicon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build test_avatar_identicon
// +build test_avatar_identicon

package identicon

Expand Down
1 change: 0 additions & 1 deletion modules/git/blob_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/blob_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/command_race_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build race
// +build race

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/commit_convert_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/commit_info_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/commit_info_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/last_commit_cache_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/last_commit_cache_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/notes_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/notes_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/parse_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/parse_gogit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/parse_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/parse_nogogit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/pipeline/lfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package pipeline

Expand Down
1 change: 0 additions & 1 deletion modules/git/pipeline/lfs_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package pipeline

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_base_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_base_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_blob_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_blob_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_branch_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_branch_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_commit_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_commit_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_commitgraph_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_language_stats_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_language_stats_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_language_stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_ref_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_ref_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_tag_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_tag_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_tree_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/repo_tree_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/sha1_gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build gogit
// +build gogit

package git

Expand Down
1 change: 0 additions & 1 deletion modules/git/sha1_nogogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build !gogit
// +build !gogit

package git

Expand Down
Loading