versions icon indicating copy to clipboard operation
versions copied to clipboard

New Feature : Exclude intermediate Minors

Open sultan opened this issue 3 years ago • 1 comments

The suggested filter would filter out to exclude verbose intermediate versions, to keep only, in this example :

  • 10.0.26
  • 10.1.0

the filter/algo would act beginning at the very last, taking minor prefix "10.1." and filter out every other version string starting with "10.1." then finding another Minor, extracting "10.0." and filter out again, etc, until end of list.

image

sultan avatar Oct 02 '22 08:10 sultan

Result with new code

image

sultan avatar Oct 02 '22 10:10 sultan

at most two versions per Major.Minor: latest release + following latest pre-release version

sultan avatar Oct 15 '22 16:10 sultan

this could be de/activated with a flag -Dversions.reportLength=FULL -Dversions.reportLength=SHORT

@ajarmoniuk is there any rule for the flags names?

sultan avatar Oct 15 '22 18:10 sultan

Not that I know of :)

andrzejj0 avatar Oct 15 '22 18:10 andrzejj0

@sultan are you still going to work on this?

andrzejj0 avatar Nov 23 '22 06:11 andrzejj0

Still on my todo list. I am having difficulties knowing where to put my filter. I can't get it to be streamable. And not sure where to put it after the api used streams. Any advice appreciated.

sultan avatar Nov 23 '22 08:11 sultan

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Nov 24 '23 02:11 github-actions[bot]