Skip to content
This repository was archived by the owner on Oct 5, 2026. It is now read-only.

Adding an age filter to the breakpoint command - #35

Closed
mamazu wants to merge 1 commit into
rectorphp:mainfrom
mamazu:adding_age_filter
Closed

mamazu wants to merge 1 commit into
rectorphp:mainfrom
mamazu:adding_age_filter

Conversation

@mamazu

@mamazu mamazu commented Mar 21, 2026 •

Copy link
Copy Markdown
Contributor

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 commented Mar 21, 2026 •

Copy link
Copy Markdown
Contributor Author

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants