Skip to content

Adding an age filter to the breakpoint command#35

Closed
mamazu wants to merge 1 commit intorectorphp:mainfrom
mamazu:adding_age_filter
Closed

Adding an age filter to the breakpoint command#35
mamazu wants to merge 1 commit intorectorphp:mainfrom
mamazu:adding_age_filter

Conversation

@mamazu
Copy link
Copy Markdown
Contributor

@mamazu mamazu commented Mar 21, 2026

The problem

In some packages there are many releases in a short period of time. So we want to only show packages that are at least a certain age and hopefully more stable.

What I did

Adding a filter argument to the BreakpointCommand to filter for package age.

However this doesn't work. For some reason this parameter is =1 when it's provided and null when it's not provided.

@mamazu mamazu force-pushed the adding_age_filter branch from a40e54d to d10ee6b Compare March 21, 2026 21:06
@mamazu
Copy link
Copy Markdown
Contributor Author

mamazu commented Mar 21, 2026

Yeah the argument parsing isn't working correct. I don't know the package to know if I need to specify any added argument to the command as well?

I added the argument, and the doc block.

@TomasVotruba
Copy link
Copy Markdown
Member

Looks good, thank you 👍

I've cherry picked it in #37 and made CI pass

@TomasVotruba TomasVotruba mentioned this pull request Apr 28, 2026
@mamazu mamazu deleted the adding_age_filter branch April 28, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants