Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different limit policy for major and minor versions and Intermediate versions #3

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

lelmarir
Copy link

@lelmarir lelmarir commented May 8, 2015

Hi,

i've added some functionality you may like:

# number of minor versions to be kept or 0 to keep all
maxVersionPolicy.maxMinorVersions=5
# if not zero will be kept intermediate minor versions wich are multiple of the specified value (should be lesser than maxMinorVersions) or 0 to disable
#   eg. if we have versions from 1.0 to 1.4 (with maxMinorVersions=5 and keepIntermediateMinorVersions=5) and we create vesion 1.5, 1.1 will be deleted instead of 1.0
maxVersionPolicy.keepIntermediateMinorVersions=5
# number of major versions to be kept or 0 to keep all
maxVersionPolicy.maxMajorVersions=5
# like keepIntermediateMinorVersions but for major ones
maxVersionPolicy.keepIntermediateMajorVersions=5 

Please take a look; and feel free to merge or cherry pick

I've changed the moduleId, so, if you pick that change remember to first uninstall the previous module before installing this it they will conflict

@jottley
Copy link
Owner

jottley commented Oct 20, 2016

I am going to bring the add-on to work against 5.1. At the moment these changes conflict with what is in master. Can you take a look to see what the conflicts are? Then I can look at merging it in.

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.

None yet

2 participants