Skip to content

chore: apply golangci "forbidigo" to all packages - #39151

Merged
wxiaoguang merged 2 commits into
go-gitea:mainfrom
wxiaoguang:refactor-cmd-print
Aug 27, 2026
Merged

chore: apply golangci "forbidigo" to all packages#39151
wxiaoguang merged 2 commits into
go-gitea:mainfrom
wxiaoguang:refactor-cmd-print

Conversation

@wxiaoguang

Copy link
Copy Markdown
Contributor

"forbidigo" is useful to disable the functions that we don't want developers to use (for the future), so remove its exclusion rule.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 27, 2026
@github-actions github-actions Bot added topic/code-linting skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Aug 27, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Aug 27, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Aug 27, 2026
@wxiaoguang
wxiaoguang enabled auto-merge (squash) August 27, 2026 16:17
@wxiaoguang
wxiaoguang merged commit b7cfa4e into go-gitea:main Aug 27, 2026
23 checks passed
@GiteaBot GiteaBot added this to the 28.0.0 milestone Aug 27, 2026
@wxiaoguang
wxiaoguang deleted the refactor-cmd-print branch August 27, 2026 16:35
zjjhot added a commit to zjjhot/gitea that referenced this pull request Aug 28, 2026
* 'main' of https://github.com/go-gitea/gitea:
  fix(packages): preserve SemVer prerelease identifiers in Swift Registry (go-gitea#39156)
  [skip ci] Updated translations via Crowdin
  ci(snap): pack snaps without an LXD container (go-gitea#39152)
  chore: apply golangci "forbidigo" to all packages (go-gitea#39151)
  refactor: drop two unmaintained dependencies, rename the byte size helpers (go-gitea#39083)
  fix(actions): keep step-level continue-on-error expressions unevaluated (go-gitea#39141)
  [skip ci] Updated translations via Crowdin
  feat: add deploy tokens (go-gitea#37306)
  chore: raise minimum git version to 2.25 (go-gitea#39131)
  fix: recognize linguist language aliases (go-gitea#39135)
  fix(repo): centralize repository-scoped authorization (go-gitea#39063)
zjjhot added a commit to zjjhot/gitea that referenced this pull request Aug 28, 2026
* main:
  fix(packages): preserve SemVer prerelease identifiers in Swift Registry (go-gitea#39156)
  [skip ci] Updated translations via Crowdin
  ci(snap): pack snaps without an LXD container (go-gitea#39152)
  chore: apply golangci "forbidigo" to all packages (go-gitea#39151)
  refactor: drop two unmaintained dependencies, rename the byte size helpers (go-gitea#39083)
  fix(actions): keep step-level continue-on-error expressions unevaluated (go-gitea#39141)
  [skip ci] Updated translations via Crowdin
  feat: add deploy tokens (go-gitea#37306)
  chore: raise minimum git version to 2.25 (go-gitea#39131)
  fix: recognize linguist language aliases (go-gitea#39135)
  fix(repo): centralize repository-scoped authorization (go-gitea#39063)
silverwind added a commit to silverwind/gitea that referenced this pull request Aug 30, 2026
* origin/main: (30 commits)
  docs: Update CHANGELOG for release 1.27.3 (go-gitea#39170)
  [skip ci] Updated translations via Crowdin
  [skip ci] Updated translations via Crowdin
  fix(process): reap entire process group on cmd.Cancel (go-gitea#39143)
  feat(web): Add org removal functionality to admin user details page (go-gitea#38013)
  fix(actions): run every due schedule exactly once per occurrence (go-gitea#39078)
  refactor: pagination/pager (go-gitea#39162)
  [skip ci] Updated translations via Crowdin
  enhance(actions): make workflow dispatch choice dropdown support search (go-gitea#39154)
  fix(web): populate the reason for "cannot commit to branch" in web editor commit form (go-gitea#39155)
  refactor(automerge): fix error handling, populate recent automerge tasks on restart (go-gitea#39001)
  chore(frontend): avoid loading CSS twice in vite dev mode (go-gitea#39160)
  fix(packages): preserve SemVer prerelease identifiers in Swift Registry (go-gitea#39156)
  [skip ci] Updated translations via Crowdin
  ci(snap): pack snaps without an LXD container (go-gitea#39152)
  chore: apply golangci "forbidigo" to all packages (go-gitea#39151)
  refactor: drop two unmaintained dependencies, rename the byte size helpers (go-gitea#39083)
  fix(actions): keep step-level continue-on-error expressions unevaluated (go-gitea#39141)
  [skip ci] Updated translations via Crowdin
  feat: add deploy tokens (go-gitea#37306)
  ...

# Conflicts:
#	modelmigration/migrations.go
#	modelmigration/v28/v352.go
#	routers/private/hook_pre_receive.go
#	templates/repo/release/new.tmpl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. topic/code-linting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants