Renovate Bot
6b436955fc
Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v1.64.6 (forgejo) ( #7118 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2025-03-04 21:38:35 +00:00
Gusted
75a8b83946
chore: improve slow tests
...
- Optimize generting random files.
- Reduce big file of 128MiB to 32MiB (git was never made for large files
anyways, but simply tests that it works).
- Reduce looped git operations from 100 iterations to 10.
- Add extra print statements to know what a slow test is doing, this
also helps to see if a particular piece of code in a slow test is the
culprit or if the test is just very extensive.
- Set `[ui.notification].EVENT_SOURCE_UPDATE_TIME` to 1s to speed up
`TestEventSourceManagerRun`.
- Sneaked in some general test improvements.
2024-11-14 12:41:11 +01:00
TheFox0x7
4de909747b
Add testifylint to lint checks ( #4535 )
...
go-require lint is ignored for now
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4535
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
Co-committed-by: TheFox0x7 <thefox0x7@gmail.com>
2024-07-30 19:41:10 +00:00
oliverpool
5785ae72c7
[TESTS] prevent overriding testlogger when calling mainApp
2024-03-27 22:54:13 +01:00
Earl Warren
e90db3f5cc
[CLI] implement forgejo-cli
...
(cherry picked from commit 2555e315f7
)
(cherry picked from commit 51b9c9092e
)
[CLI] implement forgejo-cli (squash) support initDB
(cherry picked from commit 5c31ae602a
)
(cherry picked from commit bbf76489a7
)
Conflicts:
because of d0dbe52e76
upgrade to https://pkg.go.dev/github.com/urfave/cli/v2
(cherry picked from commit b6c1bcc008
)
[CLI] implement forgejo-cli actions
(cherry picked from commit 08be2b226e
)
(cherry picked from commit b6cfa88c6e
)
(cherry picked from commit 59704200de
)
[CLI] implement forgejo-cli actions generate-secret
(cherry picked from commit 6f7905c8ec
)
(cherry picked from commit e085d6d273
)
[CLI] implement forgejo-cli actions generate-secret (squash) NoInit
(cherry picked from commit 962c944eb2
)
[CLI] implement forgejo-cli actions register
(cherry picked from commit 2f95143000
)
(cherry picked from commit 42f2f8731e
)
[CLI] implement forgejo-cli actions register (squash) no private
Do not go through the private API, directly modify the database
(cherry picked from commit 1ba7c0d39d
)
[CLI] implement forgejo-cli actions
(cherry picked from commit 6f7905c8ec
)
(cherry picked from commit e085d6d273
)
[CLI] implement forgejo-cli actions generate-secret (squash) NoInit
(cherry picked from commit 962c944eb2
)
(cherry picked from commit 4c121ef022
)
Conflicts:
cmd/forgejo/actions.go
tests/integration/cmd_forgejo_actions_test.go
(cherry picked from commit 36997a48e3
)
[CLI] implement forgejo-cli actions (squash) restore --version
Refs: https://codeberg.org/forgejo/forgejo/issues/1134
(cherry picked from commit 9739eb52d8
)
[CI] implement forgejo-cli (squash) the actions subcommand needs config
(cherry picked from commit def638475122a26082ab3835842c84cd03839154)
Conflicts:
cmd/main.go
https://codeberg.org/forgejo/forgejo/pulls/1209
(cherry picked from commit a1758a3910
)
(cherry picked from commit 935fa650c7
)
(cherry picked from commit cd21026bc9
)
(cherry picked from commit 1700b8973a
)
(cherry picked from commit 1def42a379
)
(cherry picked from commit 839d97521d
)
(cherry picked from commit fd8c13be6b
)
(cherry picked from commit 588e5d552f
)
(cherry picked from commit 151a726620
)
[v1.22] [CLI] implement forgejo-cli
https://codeberg.org/forgejo/forgejo/pulls/1541
(cherry picked from commit 46708de7b9
)
(cherry picked from commit a8e5c1369e
)
(cherry picked from commit c8a32aaf24
)
Conflicts:
models/actions/main_test.go
https://codeberg.org/forgejo/forgejo/pulls/1656
(cherry picked from commit 79f4553063
)
(cherry picked from commit 0379da0cf5
)
(cherry picked from commit 331d58c085
)
(cherry picked from commit 89705502c4
)
(cherry picked from commit 4723d5febf
)
(cherry picked from commit e71b260130
)
(cherry picked from commit 6a376a5b48
)
Conflicts:
cmd/main.go
https://codeberg.org/forgejo/forgejo/pulls/1969
(cherry picked from commit 6ba97cf4b5
)
(cherry picked from commit e0a6ebfeca
)
(cherry picked from commit 5702aeab2d
)
(cherry picked from commit f919c4d6c1
)
(cherry picked from commit a26799a88a
)
(cherry picked from commit b6ab473395
)
(cherry picked from commit cf054a0461
)
2024-02-05 13:33:58 +01:00