Skip to content

Cleanup Rule of Generic type fails to find packages from the previous year #33719

Open
@Pexers

Description

@Pexers

Description

Our server generates several ZIP files daily and stores them within the Gitea organization using the Generic package type. To manage storage, we've configured a cleanup rule that removes packages older than 90 days.

However, when previewing the cleanup rule, only packages created this year (2025) are considered, meaning any packages created in the previous year (2024) are ignored.

Gitea Version

v1.23.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Packages older than 90 days
Image

Cleanup Rule configuration
Image

Cleanup Rule preview
Image

Git Version

v2.47.2

Operating System

Alpine Linux v3.21

How are you running Gitea?

Through Docker Compose

Database

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions