Move git command run on a special repository to standalone methods to hide the implemention detail #17734
pull-db-tests.yml
on: pull_request
files-changed
/
detect
5s
test-pgsql
1m 59s
test-sqlite
1m 48s
test-unit
2m 6s
test-mysql
2m 6s
test-mssql
1m 53s
Annotations
47 errors
test-mssql:
services/context/api.go#L330
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-mssql:
services/context/api.go#L337
ctx.Repo.GitRepo.IsTagExist undefined (type gitrepo.GitRepository has no field or method IsTagExist)
|
test-mssql:
services/context/api.go#L338
ctx.Repo.GitRepo.GetTagCommit undefined (type gitrepo.GitRepository has no field or method GetTagCommit)
|
test-mssql:
services/context/repo.go#L681
multiple-value gitRepo.GetBranchCommit(ctx.Repo.Repository.DefaultBranch) (value of type (*"code.gitea.io/gitea/modules/git".Commit, error)) in single-value context
|
test-mssql:
services/context/repo.go#L828
repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-mssql:
services/context/repo.go#L859
repo.GitRepo.IsTagExist undefined (type gitrepo.GitRepository has no field or method IsTagExist)
|
test-mssql:
services/context/repo.go#L878
repo.GitRepo.GetBlob undefined (type gitrepo.GitRepository has no field or method GetBlob)
|
test-mssql:
services/context/repo.go#L925
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-mssql:
services/context/repo.go#L930
ctx.Repo.GitRepo.Path undefined (type gitrepo.GitRepository has no field or method Path)
|
test-mssql:
services/context/repo.go#L963
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-sqlite:
modules/git/commit.go#L67
c.repo.GetCommitByObjectID undefined (type *Repository has no field or method GetCommitByObjectID)
|
test-sqlite:
modules/git/ref.go#L53
ref.repo.GetCommitByObjectID undefined (type *Repository has no field or method GetCommitByObjectID)
|
test-sqlite:
modules/git/repo_commit.go#L34
repo.GetCommitByObjectID undefined (type *Repository has no field or method GetCommitByObjectID)
|
test-sqlite:
modules/git/repo_commit.go#L71
repo.GetCommitByObjectID undefined (type *Repository has no field or method GetCommitByObjectID)
|
test-sqlite:
modules/git/repo_commit.go#L269
repo.GetCommitByObjectID undefined (type *Repository has no field or method GetCommitByObjectID)
|
test-sqlite:
modules/git/tag.go#L26
gitRepo.GetCommitByObjectID undefined (type *Repository has no field or method GetCommitByObjectID)
|
test-sqlite
Process completed with exit code 2.
|
test-pgsql:
services/context/api.go#L330
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-pgsql:
services/context/api.go#L337
ctx.Repo.GitRepo.IsTagExist undefined (type gitrepo.GitRepository has no field or method IsTagExist)
|
test-pgsql:
services/context/api.go#L338
ctx.Repo.GitRepo.GetTagCommit undefined (type gitrepo.GitRepository has no field or method GetTagCommit)
|
test-pgsql:
services/context/repo.go#L681
multiple-value gitRepo.GetBranchCommit(ctx.Repo.Repository.DefaultBranch) (value of type (*"code.gitea.io/gitea/modules/git".Commit, error)) in single-value context
|
test-pgsql:
services/context/repo.go#L828
repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-pgsql:
services/context/repo.go#L859
repo.GitRepo.IsTagExist undefined (type gitrepo.GitRepository has no field or method IsTagExist)
|
test-pgsql:
services/context/repo.go#L878
repo.GitRepo.GetBlob undefined (type gitrepo.GitRepository has no field or method GetBlob)
|
test-pgsql:
services/context/repo.go#L925
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-pgsql:
services/context/repo.go#L930
ctx.Repo.GitRepo.Path undefined (type gitrepo.GitRepository has no field or method Path)
|
test-pgsql:
services/context/repo.go#L963
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-mysql:
services/context/api.go#L330
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-mysql:
services/context/api.go#L337
ctx.Repo.GitRepo.IsTagExist undefined (type gitrepo.GitRepository has no field or method IsTagExist)
|
test-mysql:
services/context/api.go#L338
ctx.Repo.GitRepo.GetTagCommit undefined (type gitrepo.GitRepository has no field or method GetTagCommit)
|
test-mysql:
services/context/repo.go#L681
multiple-value gitRepo.GetBranchCommit(ctx.Repo.Repository.DefaultBranch) (value of type (*"code.gitea.io/gitea/modules/git".Commit, error)) in single-value context
|
test-mysql:
services/context/repo.go#L828
repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-mysql:
services/context/repo.go#L859
repo.GitRepo.IsTagExist undefined (type gitrepo.GitRepository has no field or method IsTagExist)
|
test-mysql:
services/context/repo.go#L878
repo.GitRepo.GetBlob undefined (type gitrepo.GitRepository has no field or method GetBlob)
|
test-mysql:
services/context/repo.go#L925
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-mysql:
services/context/repo.go#L930
ctx.Repo.GitRepo.Path undefined (type gitrepo.GitRepository has no field or method Path)
|
test-mysql:
services/context/repo.go#L963
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-unit:
services/context/api.go#L330
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-unit:
services/context/api.go#L337
ctx.Repo.GitRepo.IsTagExist undefined (type gitrepo.GitRepository has no field or method IsTagExist)
|
test-unit:
services/context/api.go#L338
ctx.Repo.GitRepo.GetTagCommit undefined (type gitrepo.GitRepository has no field or method GetTagCommit)
|
test-unit:
services/context/repo.go#L681
multiple-value gitRepo.GetBranchCommit(ctx.Repo.Repository.DefaultBranch) (value of type (*"code.gitea.io/gitea/modules/git".Commit, error)) in single-value context
|
test-unit:
services/context/repo.go#L828
repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-unit:
services/context/repo.go#L859
repo.GitRepo.IsTagExist undefined (type gitrepo.GitRepository has no field or method IsTagExist)
|
test-unit:
services/context/repo.go#L878
repo.GitRepo.GetBlob undefined (type gitrepo.GitRepository has no field or method GetBlob)
|
test-unit:
services/context/repo.go#L925
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|
test-unit:
services/context/repo.go#L930
ctx.Repo.GitRepo.Path undefined (type gitrepo.GitRepository has no field or method Path)
|
test-unit:
services/context/repo.go#L963
ctx.Repo.GitRepo.IsBranchExist undefined (type gitrepo.GitRepository has no field or method IsBranchExist)
|