mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 13:29:12 -05:00
089f51a63c
- Add the experimental [deacode](https://pkg.go.dev/golang.org/x/tools/internal/cmd/deadcode) linter to Forgejo. - To deal with false positives that can happen due to build tags or with code that's currently only referenced by test code, the output of the tool is compared against a known-good output. - This commit doesn't make any attempt to remove any deadcode. (cherry picked from commitac462279e9
) (cherry picked from commitb5ea6e85ac
) (cherry picked from commit5915f3643c
) [CLEANUP] Remove deadcode - This is deadcode since https://codeberg.org/forgejo/forgejo/pulls/1802 removed the usage of it. (cherry picked from commitd840b9923e
) (cherry picked from commit9442bab626
) (cherry picked from commit0de9d18863
) (cherry picked from commit26abf78374
) (cherry picked from commit05d3a143c3
) (cherry picked from commit4b3d38d5e1
) (cherry picked from commita726e71986
) (cherry picked from commitcb62ae5b98
) (cherry picked from commit8195ba06d5
) (cherry picked from commit4570fb591a
) (cherry picked from commit1f4d33de2b
)
117 lines
1.9 KiB
Text
117 lines
1.9 KiB
Text
# Emacs
|
|
*~
|
|
|
|
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
|
*.o
|
|
*.a
|
|
*.so
|
|
|
|
# Folders
|
|
_obj
|
|
_test
|
|
|
|
# IntelliJ
|
|
.idea
|
|
# Goland's output filename can not be set manually
|
|
/go_build_*
|
|
/gitea_*
|
|
|
|
# MS VSCode
|
|
.vscode
|
|
__debug_bin
|
|
|
|
*.cgo1.go
|
|
*.cgo2.c
|
|
_cgo_defun.c
|
|
_cgo_gotypes.go
|
|
_cgo_export.*
|
|
|
|
_testmain.go
|
|
|
|
*.exe
|
|
*.test
|
|
*.prof
|
|
|
|
*coverage.out
|
|
coverage.all
|
|
cpu.out
|
|
|
|
/modules/migration/bindata.go
|
|
/modules/migration/bindata.go.hash
|
|
/modules/options/bindata.go
|
|
/modules/options/bindata.go.hash
|
|
/modules/public/bindata.go
|
|
/modules/public/bindata.go.hash
|
|
/modules/templates/bindata.go
|
|
/modules/templates/bindata.go.hash
|
|
|
|
*.db
|
|
*.log
|
|
*.log.*.gz
|
|
|
|
/gitea
|
|
/gitea-vet
|
|
/debug
|
|
/integrations.test
|
|
|
|
/bin
|
|
/dist
|
|
/custom/*
|
|
!/custom/conf/app.example.ini
|
|
/data
|
|
/indexers
|
|
/log
|
|
/public/img/avatar
|
|
/tests/integration/gitea-integration-*
|
|
/tests/integration/indexers-*
|
|
/tests/e2e/gitea-e2e-*
|
|
/tests/e2e/indexers-*
|
|
/tests/e2e/reports
|
|
/tests/e2e/test-artifacts
|
|
/tests/e2e/test-snapshots
|
|
/tests/*.ini
|
|
/tests/**/*.git/**/*.sample
|
|
/node_modules
|
|
/.venv
|
|
/yarn.lock
|
|
/yarn-error.log
|
|
/npm-debug.log*
|
|
/public/assets/js
|
|
/public/assets/css
|
|
/public/assets/fonts
|
|
/public/assets/licenses.txt
|
|
/public/assets/img/webpack
|
|
/vendor
|
|
/web_src/fomantic/node_modules
|
|
/web_src/fomantic/build/*
|
|
!/web_src/fomantic/build/semantic.js
|
|
!/web_src/fomantic/build/semantic.css
|
|
!/web_src/fomantic/build/themes
|
|
/web_src/fomantic/build/themes/*
|
|
!/web_src/fomantic/build/themes/default
|
|
/web_src/fomantic/build/themes/default/assets/*
|
|
!/web_src/fomantic/build/themes/default/assets/fonts
|
|
/web_src/fomantic/build/themes/default/assets/fonts/*
|
|
!/web_src/fomantic/build/themes/default/assets/fonts/icons.woff2
|
|
!/web_src/fomantic/build/themes/default/assets/fonts/outline-icons.woff2
|
|
/VERSION
|
|
/.air
|
|
/.go-licenses
|
|
/.cur-deadcode-out
|
|
|
|
# Snapcraft
|
|
/gitea_a*.txt
|
|
snap/.snapcraft/
|
|
parts/
|
|
stage/
|
|
prime/
|
|
*.snap
|
|
*.snap-build
|
|
*_source.tar.bz2
|
|
.DS_Store
|
|
|
|
# Make evidence files
|
|
/.make_evidence
|
|
|
|
# Manpage
|
|
/man
|