Skip to content

feat(config): --exclude-newer with relative time scale #4545

@timhoffm

Description

@timhoffm

Problem description

https://pixi.sh/latest/reference/pixi_manifest/#exclude-newer-optional allows to exclude packages that are newer than a given date.

Would it make sense to also support a relative time scale as a convenience, e.g. --exclude-newer 7d meaning exclude packages that were published within the last 7 days? Applications could be scenarios that want to update regularly but skip the bleeding edge.

While technically the caller could calculate the respective date and pass that, it may be a nice convenience to support this out-of-the box.

Metadata

Metadata

Labels

configurationIssue related to configuration of workspace or global behaviorenhancementNew features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions