Skip to content

Add time-based cleanup for Maven snapshot versions #32202

Add time-based cleanup for Maven snapshot versions

Add time-based cleanup for Maven snapshot versions #32202

Triggered via pull request August 15, 2025 17:36
Status Failure
Total duration 7m 1s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors
checks-backend
Process completed with exit code 2.
lint-backend
Process completed with exit code 2.
lint-backend: services/packages/maven/cleanup.go#L41
var-naming: var artifactId should be artifactID (revive)
lint-backend: services/packages/maven/cleanup.go#L5
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
lint-backend: services/packages/cleanup/cleanup.go#L168
exported: func name will be used as cleanup.CleanupExpiredData by other packages, and that stutters; consider calling this ExpiredData (revive)
lint-backend: services/packages/cleanup/cleanup.go#L28
exported: func name will be used as cleanup.CleanupTask by other packages, and that stutters; consider calling this Task (revive)
lint-go-windows
Process completed with exit code 2.
lint-go-windows: services/packages/maven/cleanup.go#L41
var-naming: var artifactId should be artifactID (revive)
lint-go-windows: services/packages/maven/cleanup.go#L5
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
lint-go-windows: services/packages/cleanup/cleanup.go#L168
exported: func name will be used as cleanup.CleanupExpiredData by other packages, and that stutters; consider calling this ExpiredData (revive)
lint-go-windows: services/packages/cleanup/cleanup.go#L28
exported: func name will be used as cleanup.CleanupTask by other packages, and that stutters; consider calling this Task (revive)
lint-go-gogit
Process completed with exit code 2.
lint-go-gogit: services/packages/maven/cleanup.go#L41
var-naming: var artifactId should be artifactID (revive)
lint-go-gogit: services/packages/maven/cleanup.go#L5
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
lint-go-gogit: services/packages/cleanup/cleanup.go#L168
exported: func name will be used as cleanup.CleanupExpiredData by other packages, and that stutters; consider calling this ExpiredData (revive)
lint-go-gogit: services/packages/cleanup/cleanup.go#L28
exported: func name will be used as cleanup.CleanupTask by other packages, and that stutters; consider calling this Task (revive)