From 50d4fd343839cec63db5c7d68726cbcdf39a03df Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 15 Jan 2024 17:23:09 +0000 Subject: [PATCH] Revert "[DEADCODE] update deadcode-out" This reverts commit 9f76193ea4c44d66c5ffc9506cae5156a15223ab. --- .deadcode-out | 51 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/.deadcode-out b/.deadcode-out index 85dbe38d1b..d973769997 100644 --- a/.deadcode-out +++ b/.deadcode-out @@ -17,15 +17,17 @@ package "code.gitea.io/gitea/models" func GetYamlFixturesAccess package "code.gitea.io/gitea/models/actions" + func ListUploadedArtifactsByRunID + func CountRunJobs func (ScheduleList).GetUserIDs func (ScheduleList).GetRepoIDs func (ScheduleList).LoadTriggerUser func (ScheduleList).LoadRepos + func FindSchedules + func CountSpecs func GetVariableByID package "code.gitea.io/gitea/models/asymkey" - func (ErrGPGKeyAccessDenied).Error - func (ErrGPGKeyAccessDenied).Unwrap func HasDeployKey package "code.gitea.io/gitea/models/auth" @@ -37,6 +39,8 @@ package "code.gitea.io/gitea/models/db" func TruncateBeans func InTransaction func DumpTables + func Count + func FindAndCount package "code.gitea.io/gitea/models/dbfs" func (*file).renameTo @@ -48,6 +52,10 @@ package "code.gitea.io/gitea/models/forgejo/semver" func SetVersionString func SetVersion +package "code.gitea.io/gitea/models/forgejo_migrations" + func GetCurrentDBVersion + func EnsureUpToDate + package "code.gitea.io/gitea/models/git" func RemoveDeletedBranchByID @@ -55,7 +63,18 @@ package "code.gitea.io/gitea/models/issues" func IsErrUnknownDependencyType func (ErrNewIssueInsert).Error func IsErrIssueWasClosed + func GetIssueWithAttrsByID + func GetRepoIDsForIssuesOptions + func GetLabelIDsInOrgByNames func ChangeMilestoneStatus + func GetMilestonesByRepoIDs + func CountMilestonesByRepoCond + func GetMilestonesStatsByRepoCond + func IsErrErrPullRequestHeadRepoMissing + func (ErrPullRequestHeadRepoMissing).Error + func GetPullRequestsByHeadBranch + func (ErrIssueStopwatchAlreadyExist).Error + func (ErrIssueStopwatchAlreadyExist).Unwrap package "code.gitea.io/gitea/models/migrations/base" func removeAllWithRetry @@ -64,14 +83,16 @@ package "code.gitea.io/gitea/models/migrations/base" func PrepareTestEnv func MainTest -package "code.gitea.io/gitea/models/migrations/v1_22" - func AddIgnoreStaleApprovalsColumnToProtectedBranchTable - package "code.gitea.io/gitea/models/organization" func UpdateTeamUnits func (SearchMembersOptions).ToConds func UsersInTeamsCount +package "code.gitea.io/gitea/models/packages/alpine" + func GetBranches + func GetRepositories + func GetArchitectures + package "code.gitea.io/gitea/models/perm/access" func GetRepoWriters @@ -85,8 +106,6 @@ package "code.gitea.io/gitea/models/repo" func (*releaseSorter).Less func (*releaseSorter).Swap func SortReleases - func FindReposMapByIDs - func RepositoryListOfMap func (SearchOrderBy).String func IsErrTopicNotExist func (ErrTopicNotExist).Error @@ -94,6 +113,9 @@ package "code.gitea.io/gitea/models/repo" func GetTopicByName func WatchRepoMode +package "code.gitea.io/gitea/models/system" + func DeleteNotice + package "code.gitea.io/gitea/models/unittest" func CheckConsistencyFor func checkForConsistency @@ -152,6 +174,8 @@ package "code.gitea.io/gitea/modules/auth/password/pwn" func WithHTTP package "code.gitea.io/gitea/modules/base" + func BasicAuthEncode + func IsLetter func SetupGiteaRoot package "code.gitea.io/gitea/modules/cache" @@ -162,6 +186,7 @@ package "code.gitea.io/gitea/modules/cache" package "code.gitea.io/gitea/modules/charset" func (*BreakWriter).Write func ToUTF8 + func EscapeControlString package "code.gitea.io/gitea/modules/context" func GetPrivateContext @@ -194,6 +219,7 @@ package "code.gitea.io/gitea/modules/gitgraph" package "code.gitea.io/gitea/modules/graceful" func (*Manager).TerminateContext + func (*Manager).IsTerminate func (*Manager).Err func (*Manager).Value func (*Manager).Deadline @@ -209,7 +235,6 @@ package "code.gitea.io/gitea/modules/json" func (StdJSON).Indent package "code.gitea.io/gitea/modules/markup" - func IsSameDomain func GetRendererByType func RenderString func IsMarkupFile @@ -283,8 +308,8 @@ package "code.gitea.io/gitea/modules/testlogger" package "code.gitea.io/gitea/modules/timeutil" func GetExecutableModTime - func MockSet - func MockUnset + func Set + func Unset package "code.gitea.io/gitea/modules/translation" func (MockLocale).Language @@ -292,9 +317,6 @@ package "code.gitea.io/gitea/modules/translation" func (MockLocale).TrN func (MockLocale).PrettyNumber -package "code.gitea.io/gitea/modules/util" - func UnsafeStringToBytes - package "code.gitea.io/gitea/modules/util/filebuffer" func CreateFromReader @@ -319,6 +341,9 @@ package "code.gitea.io/gitea/services/convert" package "code.gitea.io/gitea/services/forms" func (*DeadlineForm).Validate +package "code.gitea.io/gitea/services/packages/alpine" + func BuildAllRepositoryFiles + package "code.gitea.io/gitea/services/pull" func IsCommitStatusContextSuccess