mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
Upgrade deadcode package to a new name (#4048)
We're stuck on an old version of golang deadcode. Renovate is confused by it's rename in https://codeberg.org/forgejo/forgejo/pulls/4043. I don't remember how to use this tool to test it, let's see how the CI reacts to this PR. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4048 Reviewed-by: Victoria <efertone@noreply.codeberg.org> Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Co-authored-by: 0ko <0ko@noreply.codeberg.org> Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
parent
a669198bfa
commit
bd4ee91a19
2 changed files with 223 additions and 350 deletions
571
.deadcode-out
571
.deadcode-out
|
@ -1,349 +1,222 @@
|
||||||
package "code.gitea.io/gitea/cmd"
|
cmd/web_graceful.go:28:6: unreachable func: NoMainListener
|
||||||
func NoMainListener
|
cmd/forgejo/forgejo.go:43:6: unreachable func: ContextSetNoInit
|
||||||
|
cmd/forgejo/forgejo.go:52:6: unreachable func: ContextSetNoExit
|
||||||
package "code.gitea.io/gitea/cmd/forgejo"
|
cmd/forgejo/forgejo.go:61:6: unreachable func: ContextSetStderr
|
||||||
func ContextSetNoInit
|
cmd/forgejo/forgejo.go:65:6: unreachable func: ContextGetStderr
|
||||||
func ContextSetNoExit
|
cmd/forgejo/forgejo.go:73:6: unreachable func: ContextSetStdout
|
||||||
func ContextSetStderr
|
cmd/forgejo/forgejo.go:85:6: unreachable func: ContextSetStdin
|
||||||
func ContextGetStderr
|
models/error.go:160:6: unreachable func: IsErrUpdateTaskNotExist
|
||||||
func ContextSetStdout
|
models/error.go:165:34: unreachable func: ErrUpdateTaskNotExist.Error
|
||||||
func ContextSetStdin
|
models/error.go:169:34: unreachable func: ErrUpdateTaskNotExist.Unwrap
|
||||||
|
models/error.go:397:6: unreachable func: IsErrSHANotFound
|
||||||
package "code.gitea.io/gitea/models"
|
models/error.go:504:6: unreachable func: IsErrMergeDivergingFastForwardOnly
|
||||||
func IsErrUpdateTaskNotExist
|
models/fixture_generation.go:18:6: unreachable func: GetYamlFixturesAccess
|
||||||
func (ErrUpdateTaskNotExist).Error
|
models/actions/schedule_list.go:20:31: unreachable func: ScheduleList.GetUserIDs
|
||||||
func (ErrUpdateTaskNotExist).Unwrap
|
models/actions/schedule_list.go:26:31: unreachable func: ScheduleList.GetRepoIDs
|
||||||
func IsErrSHANotFound
|
models/actions/schedule_list.go:32:31: unreachable func: ScheduleList.LoadTriggerUser
|
||||||
func IsErrMergeDivergingFastForwardOnly
|
models/actions/schedule_list.go:51:31: unreachable func: ScheduleList.LoadRepos
|
||||||
func GetYamlFixturesAccess
|
models/asymkey/error.go:208:34: unreachable func: ErrGPGKeyAccessDenied.Error
|
||||||
|
models/asymkey/error.go:213:34: unreachable func: ErrGPGKeyAccessDenied.Unwrap
|
||||||
package "code.gitea.io/gitea/models/actions"
|
models/asymkey/ssh_key_deploy.go:109:6: unreachable func: HasDeployKey
|
||||||
func (ScheduleList).GetUserIDs
|
models/auth/source.go:302:6: unreachable func: GetSourceByName
|
||||||
func (ScheduleList).GetRepoIDs
|
models/auth/webauthn.go:133:6: unreachable func: GetWebAuthnCredentialByID
|
||||||
func (ScheduleList).LoadTriggerUser
|
models/auth/webauthn.go:185:6: unreachable func: WebAuthnCredentials
|
||||||
func (ScheduleList).LoadRepos
|
models/db/context.go:288:6: unreachable func: TruncateBeans
|
||||||
|
models/db/context.go:309:6: unreachable func: InTransaction
|
||||||
package "code.gitea.io/gitea/models/asymkey"
|
models/db/engine.go:78:6: unreachable func: DumpTables
|
||||||
func (ErrGPGKeyAccessDenied).Error
|
models/dbfs/dbfile.go:312:16: unreachable func: file.renameTo
|
||||||
func (ErrGPGKeyAccessDenied).Unwrap
|
models/dbfs/dbfs.go:85:6: unreachable func: Create
|
||||||
func HasDeployKey
|
models/dbfs/dbfs.go:89:6: unreachable func: Rename
|
||||||
|
models/forgefed/federationhost_repository.go:19:6: unreachable func: GetFederationHost
|
||||||
package "code.gitea.io/gitea/models/auth"
|
models/forgejo/semver/semver.go:23:6: unreachable func: GetVersion
|
||||||
func GetSourceByName
|
models/forgejo/semver/semver.go:51:6: unreachable func: SetVersionString
|
||||||
func GetWebAuthnCredentialByID
|
models/forgejo/semver/semver.go:63:6: unreachable func: SetVersion
|
||||||
func WebAuthnCredentials
|
models/git/branch.go:256:6: unreachable func: RemoveDeletedBranchByID
|
||||||
|
models/issues/dependency.go:93:6: unreachable func: IsErrUnknownDependencyType
|
||||||
package "code.gitea.io/gitea/models/db"
|
models/issues/issue.go:77:30: unreachable func: ErrNewIssueInsert.Error
|
||||||
func TruncateBeans
|
models/issues/issue.go:88:6: unreachable func: IsErrIssueWasClosed
|
||||||
func InTransaction
|
models/issues/milestone.go:255:6: unreachable func: ChangeMilestoneStatus
|
||||||
func DumpTables
|
models/migrations/base/db.go:446:6: unreachable func: removeAllWithRetry
|
||||||
|
models/migrations/base/db.go:458:6: unreachable func: newXORMEngine
|
||||||
package "code.gitea.io/gitea/models/dbfs"
|
models/migrations/base/db.go:466:6: unreachable func: deleteDB
|
||||||
func (*file).renameTo
|
models/migrations/base/tests.go:33:6: unreachable func: PrepareTestEnv
|
||||||
func Create
|
models/migrations/base/tests.go:114:6: unreachable func: MainTest
|
||||||
func Rename
|
models/organization/team.go:251:6: unreachable func: GetTeamNamesByID
|
||||||
|
models/organization/team_unit.go:33:6: unreachable func: UpdateTeamUnits
|
||||||
package "code.gitea.io/gitea/models/forgefed"
|
models/organization/team_user.go:47:34: unreachable func: SearchMembersOptions.ToConds
|
||||||
func GetFederationHost
|
models/organization/team_user.go:81:6: unreachable func: UsersInTeamsCount
|
||||||
|
models/perm/access/repo_permission.go:426:6: unreachable func: GetRepoWriters
|
||||||
package "code.gitea.io/gitea/models/forgejo/semver"
|
models/project/column.go:309:6: unreachable func: UpdateColumnSorting
|
||||||
func GetVersion
|
models/project/project.go:353:6: unreachable func: ChangeProjectStatus
|
||||||
func SetVersionString
|
models/repo/attachment.go:200:6: unreachable func: DeleteAttachmentsByIssue
|
||||||
func SetVersion
|
models/repo/release.go:420:26: unreachable func: releaseSorter.Len
|
||||||
|
models/repo/release.go:424:26: unreachable func: releaseSorter.Less
|
||||||
package "code.gitea.io/gitea/models/git"
|
models/repo/release.go:432:26: unreachable func: releaseSorter.Swap
|
||||||
func RemoveDeletedBranchByID
|
models/repo/release.go:437:6: unreachable func: SortReleases
|
||||||
|
models/repo/repo_list.go:25:6: unreachable func: FindReposMapByIDs
|
||||||
package "code.gitea.io/gitea/models/issues"
|
models/repo/repo_list.go:211:24: unreachable func: SearchOrderBy.String
|
||||||
func IsErrUnknownDependencyType
|
models/repo/topic.go:48:6: unreachable func: IsErrTopicNotExist
|
||||||
func (ErrNewIssueInsert).Error
|
models/repo/topic.go:54:29: unreachable func: ErrTopicNotExist.Error
|
||||||
func IsErrIssueWasClosed
|
models/repo/topic.go:58:29: unreachable func: ErrTopicNotExist.Unwrap
|
||||||
func ChangeMilestoneStatus
|
models/repo/topic.go:95:6: unreachable func: GetTopicByName
|
||||||
|
models/repo/watch.go:108:6: unreachable func: WatchRepoMode
|
||||||
package "code.gitea.io/gitea/models/migrations/base"
|
models/unittest/consistency.go:27:6: unreachable func: CheckConsistencyFor
|
||||||
func removeAllWithRetry
|
models/unittest/consistency.go:45:6: unreachable func: checkForConsistency
|
||||||
func newXORMEngine
|
models/unittest/fixtures.go:25:6: unreachable func: GetXORMEngine
|
||||||
func deleteDB
|
models/unittest/fixtures.go:32:6: unreachable func: OverrideFixtures
|
||||||
func PrepareTestEnv
|
models/unittest/fixtures.go:43:6: unreachable func: InitFixtures
|
||||||
func MainTest
|
models/unittest/fixtures.go:95:6: unreachable func: LoadFixtures
|
||||||
|
models/unittest/fscopy.go:17:6: unreachable func: Copy
|
||||||
package "code.gitea.io/gitea/models/organization"
|
models/unittest/fscopy.go:64:6: unreachable func: CopyDir
|
||||||
func GetTeamNamesByID
|
models/unittest/mock_http.go:29:6: unreachable func: NewMockWebServer
|
||||||
func UpdateTeamUnits
|
models/unittest/mock_http.go:107:6: unreachable func: NormalizedFullPath
|
||||||
func (SearchMembersOptions).ToConds
|
models/unittest/testdb.go:37:6: unreachable func: FixturesDir
|
||||||
func UsersInTeamsCount
|
models/unittest/testdb.go:41:6: unreachable func: fatalTestError
|
||||||
|
models/unittest/testdb.go:47:6: unreachable func: InitSettings
|
||||||
package "code.gitea.io/gitea/models/perm/access"
|
models/unittest/testdb.go:73:6: unreachable func: MainTest
|
||||||
func GetRepoWriters
|
models/unittest/testdb.go:216:6: unreachable func: CreateTestEngine
|
||||||
|
models/unittest/testdb.go:239:6: unreachable func: PrepareTestDatabase
|
||||||
package "code.gitea.io/gitea/models/project"
|
models/unittest/testdb.go:245:6: unreachable func: PrepareTestEnv
|
||||||
func UpdateColumnSorting
|
models/unittest/unit_tests.go:29:6: unreachable func: Cond
|
||||||
func ChangeProjectStatus
|
models/unittest/unit_tests.go:34:6: unreachable func: OrderBy
|
||||||
|
models/unittest/unit_tests.go:54:6: unreachable func: LoadBeanIfExists
|
||||||
package "code.gitea.io/gitea/models/repo"
|
models/unittest/unit_tests.go:60:6: unreachable func: BeanExists
|
||||||
func DeleteAttachmentsByIssue
|
models/unittest/unit_tests.go:67:6: unreachable func: AssertExistsAndLoadBean
|
||||||
func (*releaseSorter).Len
|
models/unittest/unit_tests.go:97:6: unreachable func: GetCount
|
||||||
func (*releaseSorter).Less
|
models/unittest/unit_tests.go:113:6: unreachable func: AssertNotExistsBean
|
||||||
func (*releaseSorter).Swap
|
models/unittest/unit_tests.go:121:6: unreachable func: AssertExistsIf
|
||||||
func SortReleases
|
models/unittest/unit_tests.go:128:6: unreachable func: AssertSuccessfulInsert
|
||||||
func FindReposMapByIDs
|
models/unittest/unit_tests.go:134:6: unreachable func: AssertCount
|
||||||
func (SearchOrderBy).String
|
models/unittest/unit_tests.go:139:6: unreachable func: AssertInt64InRange
|
||||||
func IsErrTopicNotExist
|
models/user/email_address.go:112:6: unreachable func: IsErrPrimaryEmailCannotDelete
|
||||||
func (ErrTopicNotExist).Error
|
models/user/error.go:86:28: unreachable func: ErrUserInactive.Error
|
||||||
func (ErrTopicNotExist).Unwrap
|
models/user/error.go:91:28: unreachable func: ErrUserInactive.Unwrap
|
||||||
func GetTopicByName
|
models/user/external_login_user.go:25:6: unreachable func: IsErrExternalLoginUserAlreadyExist
|
||||||
func WatchRepoMode
|
models/user/external_login_user.go:45:6: unreachable func: IsErrExternalLoginUserNotExist
|
||||||
|
models/user/federated_user.go:17:6: unreachable func: NewFederatedUser
|
||||||
package "code.gitea.io/gitea/models/unittest"
|
models/user/setting.go:51:6: unreachable func: IsErrUserSettingIsNotExist
|
||||||
func CheckConsistencyFor
|
models/user/setting.go:101:6: unreachable func: GetUserAllSettings
|
||||||
func checkForConsistency
|
models/user/setting.go:146:6: unreachable func: DeleteUserSetting
|
||||||
func GetXORMEngine
|
models/user/user.go:959:6: unreachable func: GetUserEmailsByNames
|
||||||
func OverrideFixtures
|
models/user/user.go:1000:6: unreachable func: GetUserNamesByIDs
|
||||||
func InitFixtures
|
modules/assetfs/layered.go:55:6: unreachable func: Bindata
|
||||||
func LoadFixtures
|
modules/auth/password/hash/dummy.go:17:28: unreachable func: DummyHasher.HashWithSaltBytes
|
||||||
func Copy
|
modules/auth/password/hash/dummy.go:31:6: unreachable func: NewDummyHasher
|
||||||
func CopyDir
|
modules/auth/password/pwn/pwn.go:49:6: unreachable func: WithHTTP
|
||||||
func NewMockWebServer
|
modules/base/tool.go:194:6: unreachable func: SetupGiteaRoot
|
||||||
func NormalizedFullPath
|
modules/cache/cache.go:76:6: unreachable func: GetInt
|
||||||
func FixturesDir
|
modules/cache/context.go:118:6: unreachable func: WithNoCacheContext
|
||||||
func fatalTestError
|
modules/cache/context.go:155:6: unreachable func: RemoveContextData
|
||||||
func InitSettings
|
modules/charset/breakwriter.go:17:23: unreachable func: BreakWriter.Write
|
||||||
func MainTest
|
modules/emoji/emoji.go:121:6: unreachable func: ReplaceCodes
|
||||||
func CreateTestEngine
|
modules/eventsource/event.go:114:17: unreachable func: Event.String
|
||||||
func PrepareTestDatabase
|
modules/forgefed/forgefed.go:15:6: unreachable func: GetItemByType
|
||||||
func PrepareTestEnv
|
modules/forgefed/forgefed.go:25:6: unreachable func: JSONUnmarshalerFn
|
||||||
func Cond
|
modules/forgefed/forgefed.go:36:6: unreachable func: NotEmpty
|
||||||
func OrderBy
|
modules/forgefed/repository.go:79:6: unreachable func: ToRepository
|
||||||
func LoadBeanIfExists
|
modules/forgefed/repository.go:102:6: unreachable func: OnRepository
|
||||||
func BeanExists
|
modules/git/command.go:448:6: unreachable func: AllowLFSFiltersArgs
|
||||||
func AssertExistsAndLoadBean
|
modules/git/commit.go:83:6: unreachable func: AddChanges
|
||||||
func GetCount
|
modules/git/commit.go:88:6: unreachable func: AddChangesWithArgs
|
||||||
func AssertNotExistsBean
|
modules/git/commit.go:107:6: unreachable func: CommitChanges
|
||||||
func AssertExistsIf
|
modules/git/commit.go:115:6: unreachable func: CommitChangesWithArgs
|
||||||
func AssertSuccessfulInsert
|
modules/git/error.go:20:6: unreachable func: IsErrExecTimeout
|
||||||
func AssertCount
|
modules/git/error.go:25:27: unreachable func: ErrExecTimeout.Error
|
||||||
func AssertInt64InRange
|
modules/git/error.go:76:34: unreachable func: ErrUnsupportedVersion.Error
|
||||||
|
modules/git/hook.go:126:6: unreachable func: SetUpdateHook
|
||||||
package "code.gitea.io/gitea/models/user"
|
modules/git/repo_base_nogogit.go:47:6: unreachable func: openRepositoryWithDefaultContext
|
||||||
func IsErrPrimaryEmailCannotDelete
|
modules/git/repo_tag.go:21:6: unreachable func: IsTagExist
|
||||||
func (ErrUserInactive).Error
|
modules/git/tree_entry_mode.go:32:6: unreachable func: ToEntryMode
|
||||||
func (ErrUserInactive).Unwrap
|
modules/git/utils.go:116:31: unreachable func: LimitedReaderCloser.Read
|
||||||
func IsErrExternalLoginUserAlreadyExist
|
modules/git/utils.go:130:31: unreachable func: LimitedReaderCloser.Close
|
||||||
func IsErrExternalLoginUserNotExist
|
modules/gitgraph/parser.go:29:23: unreachable func: Parser.Reset
|
||||||
func NewFederatedUser
|
modules/gitrepo/branch.go:24:6: unreachable func: GetBranchCommitID
|
||||||
func IsErrUserSettingIsNotExist
|
modules/gitrepo/branch.go:47:6: unreachable func: GetWikiDefaultBranch
|
||||||
func GetUserAllSettings
|
modules/graceful/context.go:34:19: unreachable func: Manager.TerminateContext
|
||||||
func DeleteUserSetting
|
modules/graceful/manager.go:248:19: unreachable func: Manager.Err
|
||||||
func GetUserEmailsByNames
|
modules/graceful/manager.go:253:19: unreachable func: Manager.Value
|
||||||
func GetUserNamesByIDs
|
modules/graceful/manager.go:258:19: unreachable func: Manager.Deadline
|
||||||
|
modules/hcaptcha/hcaptcha.go:37:6: unreachable func: WithHTTP
|
||||||
package "code.gitea.io/gitea/modules/assetfs"
|
modules/json/json.go:47:16: unreachable func: StdJSON.Marshal
|
||||||
func Bindata
|
modules/json/json.go:52:16: unreachable func: StdJSON.Unmarshal
|
||||||
|
modules/json/json.go:57:16: unreachable func: StdJSON.NewEncoder
|
||||||
package "code.gitea.io/gitea/modules/auth/password/hash"
|
modules/json/json.go:62:16: unreachable func: StdJSON.NewDecoder
|
||||||
func (*DummyHasher).HashWithSaltBytes
|
modules/json/json.go:67:16: unreachable func: StdJSON.Indent
|
||||||
func NewDummyHasher
|
modules/markup/html.go:147:6: unreachable func: IsSameDomain
|
||||||
|
modules/markup/renderer.go:208:6: unreachable func: GetRendererByType
|
||||||
package "code.gitea.io/gitea/modules/auth/password/pwn"
|
modules/markup/renderer.go:237:6: unreachable func: RenderString
|
||||||
func WithHTTP
|
modules/markup/renderer.go:381:6: unreachable func: IsMarkupFile
|
||||||
|
modules/markup/console/console.go:72:6: unreachable func: Render
|
||||||
package "code.gitea.io/gitea/modules/base"
|
modules/markup/console/console.go:80:6: unreachable func: RenderString
|
||||||
func SetupGiteaRoot
|
modules/markup/markdown/ast.go:39:6: unreachable func: IsDetails
|
||||||
|
modules/markup/markdown/ast.go:71:6: unreachable func: IsSummary
|
||||||
package "code.gitea.io/gitea/modules/cache"
|
modules/markup/markdown/ast.go:108:6: unreachable func: IsTaskCheckBoxListItem
|
||||||
func GetInt
|
modules/markup/markdown/ast.go:144:6: unreachable func: IsIcon
|
||||||
func WithNoCacheContext
|
modules/markup/markdown/markdown.go:299:6: unreachable func: RenderRawString
|
||||||
func RemoveContextData
|
modules/markup/markdown/math/math.go:43:6: unreachable func: WithInlineDollarParser
|
||||||
|
modules/markup/markdown/math/math.go:54:6: unreachable func: WithBlockDollarParser
|
||||||
package "code.gitea.io/gitea/modules/charset"
|
modules/markup/mdstripper/mdstripper.go:138:25: unreachable func: stripRenderer.AddOptions
|
||||||
func (*BreakWriter).Write
|
modules/markup/mdstripper/mdstripper.go:144:6: unreachable func: StripMarkdown
|
||||||
|
modules/markup/orgmode/orgmode.go:117:6: unreachable func: RenderString
|
||||||
package "code.gitea.io/gitea/modules/emoji"
|
modules/private/forgejo_actions.go:19:6: unreachable func: ActionsRunnerRegister
|
||||||
func ReplaceCodes
|
modules/process/manager_exec.go:20:20: unreachable func: Manager.ExecTimeout
|
||||||
|
modules/queue/base_channel.go:35:6: unreachable func: newBaseChannelSimple
|
||||||
package "code.gitea.io/gitea/modules/eventsource"
|
modules/queue/base_channel.go:39:6: unreachable func: newBaseChannelUnique
|
||||||
func (*Event).String
|
modules/queue/base_redis.go:67:6: unreachable func: newBaseRedisSimple
|
||||||
|
modules/queue/base_redis.go:71:6: unreachable func: newBaseRedisUnique
|
||||||
package "code.gitea.io/gitea/modules/forgefed"
|
modules/queue/testhelper.go:28:29: unreachable func: testStateRecorder.Records
|
||||||
func GetItemByType
|
modules/queue/testhelper.go:36:29: unreachable func: testStateRecorder.Reset
|
||||||
func JSONUnmarshalerFn
|
modules/queue/workerqueue.go:216:6: unreachable func: newWorkerPoolQueueForTest
|
||||||
func NotEmpty
|
modules/queue/lqinternal/lqinternal.go:14:6: unreachable func: QueueItemIDBytes
|
||||||
func ToRepository
|
modules/queue/lqinternal/lqinternal.go:20:6: unreachable func: QueueItemKeyBytes
|
||||||
func OnRepository
|
modules/queue/lqinternal/lqinternal.go:41:6: unreachable func: ListLevelQueueKeys
|
||||||
|
modules/setting/config_provider.go:186:6: unreachable func: NewConfigProviderFromData
|
||||||
package "code.gitea.io/gitea/modules/git"
|
modules/setting/git.go:80:25: unreachable func: GitConfigType.GetOption
|
||||||
func AllowLFSFiltersArgs
|
modules/setting/log.go:184:6: unreachable func: InitLoggersForTest
|
||||||
func AddChanges
|
modules/storage/storage.go:27:36: unreachable func: ErrInvalidConfiguration.Error
|
||||||
func AddChangesWithArgs
|
modules/storage/storage.go:35:6: unreachable func: IsErrInvalidConfiguration
|
||||||
func CommitChanges
|
modules/structs/hook.go:145:6: unreachable func: ParseCreateHook
|
||||||
func CommitChangesWithArgs
|
modules/structs/hook.go:295:6: unreachable func: ParsePushHook
|
||||||
func IsErrExecTimeout
|
modules/sync/status_pool.go:38:23: unreachable func: StatusTable.Start
|
||||||
func (ErrExecTimeout).Error
|
modules/sync/status_pool.go:52:23: unreachable func: StatusTable.IsRunning
|
||||||
func (ErrUnsupportedVersion).Error
|
modules/testlogger/testlogger.go:38:34: unreachable func: testLoggerWriterCloser.pushT
|
||||||
func SetUpdateHook
|
modules/testlogger/testlogger.go:45:34: unreachable func: testLoggerWriterCloser.Log
|
||||||
func openRepositoryWithDefaultContext
|
modules/testlogger/testlogger.go:365:34: unreachable func: testLoggerWriterCloser.recordError
|
||||||
func IsTagExist
|
modules/testlogger/testlogger.go:394:34: unreachable func: testLoggerWriterCloser.printMsg
|
||||||
func ToEntryMode
|
modules/testlogger/testlogger.go:410:34: unreachable func: testLoggerWriterCloser.popT
|
||||||
func (*LimitedReaderCloser).Read
|
modules/testlogger/testlogger.go:423:34: unreachable func: testLoggerWriterCloser.Reset
|
||||||
func (*LimitedReaderCloser).Close
|
modules/testlogger/testlogger.go:443:6: unreachable func: PrintCurrentTest
|
||||||
|
modules/testlogger/testlogger.go:496:6: unreachable func: Printf
|
||||||
package "code.gitea.io/gitea/modules/gitgraph"
|
modules/testlogger/testlogger.go:506:6: unreachable func: NewTestLoggerWriter
|
||||||
func (*Parser).Reset
|
modules/testlogger/testlogger.go:520:30: unreachable func: TestLogEventWriter.Base
|
||||||
|
modules/testlogger/testlogger.go:525:30: unreachable func: TestLogEventWriter.GetLevel
|
||||||
package "code.gitea.io/gitea/modules/gitrepo"
|
modules/testlogger/testlogger.go:530:30: unreachable func: TestLogEventWriter.GetWriterName
|
||||||
func GetBranchCommitID
|
modules/testlogger/testlogger.go:535:30: unreachable func: TestLogEventWriter.GetWriterType
|
||||||
func GetWikiDefaultBranch
|
modules/testlogger/testlogger.go:540:30: unreachable func: TestLogEventWriter.Run
|
||||||
|
modules/timeutil/executable.go:21:6: unreachable func: GetExecutableModTime
|
||||||
package "code.gitea.io/gitea/modules/graceful"
|
modules/timeutil/timestamp.go:24:6: unreachable func: MockSet
|
||||||
func (*Manager).TerminateContext
|
modules/timeutil/timestamp.go:29:6: unreachable func: MockUnset
|
||||||
func (*Manager).Err
|
modules/translation/mock.go:18:21: unreachable func: MockLocale.Language
|
||||||
func (*Manager).Value
|
modules/translation/mock.go:22:21: unreachable func: MockLocale.TrString
|
||||||
func (*Manager).Deadline
|
modules/translation/mock.go:26:21: unreachable func: MockLocale.Tr
|
||||||
|
modules/translation/mock.go:30:21: unreachable func: MockLocale.TrN
|
||||||
package "code.gitea.io/gitea/modules/hcaptcha"
|
modules/translation/mock.go:34:21: unreachable func: MockLocale.TrSize
|
||||||
func WithHTTP
|
modules/translation/mock.go:38:21: unreachable func: MockLocale.PrettyNumber
|
||||||
|
modules/util/filebuffer/file_backed_buffer.go:49:6: unreachable func: CreateFromReader
|
||||||
package "code.gitea.io/gitea/modules/json"
|
modules/validation/validatable.go:26:6: unreachable func: IsErrNotValid
|
||||||
func (StdJSON).Marshal
|
modules/web/routemock.go:49:6: unreachable func: RouteMock
|
||||||
func (StdJSON).Unmarshal
|
modules/web/routemock.go:57:6: unreachable func: RouteMockReset
|
||||||
func (StdJSON).NewEncoder
|
modules/web/middleware/locale.go:57:6: unreachable func: DeleteLocaleCookie
|
||||||
func (StdJSON).NewDecoder
|
routers/web/home.go:114:6: unreachable func: NotFound
|
||||||
func (StdJSON).Indent
|
routers/web/org/projects.go:35:6: unreachable func: MustEnableProjects
|
||||||
|
services/context/private.go:59:6: unreachable func: GetPrivateContext
|
||||||
package "code.gitea.io/gitea/modules/markup"
|
services/convert/secret.go:12:6: unreachable func: ToSecret
|
||||||
func IsSameDomain
|
services/forms/repo_form.go:734:24: unreachable func: DeadlineForm.Validate
|
||||||
func GetRendererByType
|
services/pull/commit_status.go:75:6: unreachable func: IsCommitStatusContextSuccess
|
||||||
func RenderString
|
services/repository/fork.go:33:6: unreachable func: IsErrForkAlreadyExist
|
||||||
func IsMarkupFile
|
services/repository/archiver/archiver.go:290:6: unreachable func: ArchiveRepository
|
||||||
|
services/repository/files/content.go:38:24: unreachable func: ContentType.String
|
||||||
package "code.gitea.io/gitea/modules/markup/console"
|
services/repository/files/file.go:37:6: unreachable func: GetFileResponseFromCommit
|
||||||
func Render
|
services/repository/files/temp_repo.go:216:37: unreachable func: TemporaryUploadRepository.GetLastCommit
|
||||||
func RenderString
|
services/repository/files/temp_repo.go:221:37: unreachable func: TemporaryUploadRepository.GetLastCommitByRef
|
||||||
|
services/webhook/notifier.go:36:6: unreachable func: NewNotifier
|
||||||
package "code.gitea.io/gitea/modules/markup/markdown"
|
|
||||||
func IsDetails
|
|
||||||
func IsSummary
|
|
||||||
func IsTaskCheckBoxListItem
|
|
||||||
func IsIcon
|
|
||||||
func RenderRawString
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/markup/markdown/math"
|
|
||||||
func WithInlineDollarParser
|
|
||||||
func WithBlockDollarParser
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/markup/mdstripper"
|
|
||||||
func StripMarkdown
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/markup/orgmode"
|
|
||||||
func RenderString
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/private"
|
|
||||||
func ActionsRunnerRegister
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/process"
|
|
||||||
func (*Manager).ExecTimeout
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/queue"
|
|
||||||
func newBaseChannelSimple
|
|
||||||
func newBaseChannelUnique
|
|
||||||
func newBaseRedisSimple
|
|
||||||
func newBaseRedisUnique
|
|
||||||
func newWorkerPoolQueueForTest
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/queue/lqinternal"
|
|
||||||
func QueueItemIDBytes
|
|
||||||
func QueueItemKeyBytes
|
|
||||||
func ListLevelQueueKeys
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/setting"
|
|
||||||
func NewConfigProviderFromData
|
|
||||||
func (*GitConfigType).GetOption
|
|
||||||
func InitLoggersForTest
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/storage"
|
|
||||||
func (ErrInvalidConfiguration).Error
|
|
||||||
func IsErrInvalidConfiguration
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/structs"
|
|
||||||
func ParseCreateHook
|
|
||||||
func ParsePushHook
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/sync"
|
|
||||||
func (*StatusTable).Start
|
|
||||||
func (*StatusTable).IsRunning
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/testlogger"
|
|
||||||
func (*testLoggerWriterCloser).pushT
|
|
||||||
func (*testLoggerWriterCloser).Log
|
|
||||||
func (*testLoggerWriterCloser).recordError
|
|
||||||
func (*testLoggerWriterCloser).printMsg
|
|
||||||
func (*testLoggerWriterCloser).popT
|
|
||||||
func (*testLoggerWriterCloser).Reset
|
|
||||||
func PrintCurrentTest
|
|
||||||
func Printf
|
|
||||||
func NewTestLoggerWriter
|
|
||||||
func (*TestLogEventWriter).Base
|
|
||||||
func (*TestLogEventWriter).GetLevel
|
|
||||||
func (*TestLogEventWriter).GetWriterName
|
|
||||||
func (*TestLogEventWriter).GetWriterType
|
|
||||||
func (*TestLogEventWriter).Run
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/timeutil"
|
|
||||||
func GetExecutableModTime
|
|
||||||
func MockSet
|
|
||||||
func MockUnset
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/translation"
|
|
||||||
func (MockLocale).Language
|
|
||||||
func (MockLocale).TrString
|
|
||||||
func (MockLocale).Tr
|
|
||||||
func (MockLocale).TrN
|
|
||||||
func (MockLocale).TrSize
|
|
||||||
func (MockLocale).PrettyNumber
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/util/filebuffer"
|
|
||||||
func CreateFromReader
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/validation"
|
|
||||||
func IsErrNotValid
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/web"
|
|
||||||
func RouteMock
|
|
||||||
func RouteMockReset
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/web/middleware"
|
|
||||||
func DeleteLocaleCookie
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/routers/web"
|
|
||||||
func NotFound
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/routers/web/org"
|
|
||||||
func MustEnableProjects
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/context"
|
|
||||||
func GetPrivateContext
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/convert"
|
|
||||||
func ToSecret
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/forms"
|
|
||||||
func (*DeadlineForm).Validate
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/pull"
|
|
||||||
func IsCommitStatusContextSuccess
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/repository"
|
|
||||||
func IsErrForkAlreadyExist
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/repository/archiver"
|
|
||||||
func ArchiveRepository
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/repository/files"
|
|
||||||
func (*ContentType).String
|
|
||||||
func GetFileResponseFromCommit
|
|
||||||
func (*TemporaryUploadRepository).GetLastCommit
|
|
||||||
func (*TemporaryUploadRepository).GetLastCommitByRef
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/webhook"
|
|
||||||
func NewNotifier
|
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -36,7 +36,7 @@ SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.31.0 # renova
|
||||||
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
|
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
|
||||||
GO_LICENSES_PACKAGE ?= github.com/google/go-licenses@v1.6.0 # renovate: datasource=go
|
GO_LICENSES_PACKAGE ?= github.com/google/go-licenses@v1.6.0 # renovate: datasource=go
|
||||||
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/govulncheck@v1 # renovate: datasource=go
|
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/govulncheck@v1 # renovate: datasource=go
|
||||||
DEADCODE_PACKAGE ?= golang.org/x/tools/internal/cmd/deadcode@v0.14.0 # renovate: datasource=go
|
DEADCODE_PACKAGE ?= golang.org/x/tools/cmd/deadcode@v0.22.0 # renovate: datasource=go
|
||||||
GOMOCK_PACKAGE ?= go.uber.org/mock/mockgen@v0.4.0 # renovate: datasource=go
|
GOMOCK_PACKAGE ?= go.uber.org/mock/mockgen@v0.4.0 # renovate: datasource=go
|
||||||
|
|
||||||
DOCKER_IMAGE ?= gitea/gitea
|
DOCKER_IMAGE ?= gitea/gitea
|
||||||
|
|
Loading…
Reference in a new issue