JetBrains Space Packages (a package repository manager) adds package retention policies feature - By default, the lifetime of a package is not limited. So, while the new package versions are published to a repository, the old ones are not deleted. This means that the repository keeps growing over time. To help you keep the size of the repository within reasonable limits, Packages can auto-delete old or no-longer-needed packages. You can configure the auto-deletion through the set of conditions called “package retention policies”. Currently, there are four available policies:
Keep the package if it was downloaded at least once in the last X days.
Keep the last X versions of the package.
Keep the package version with at least one download.