Closed clausfod closed 3 years ago
We are using Renovatebot self hosted and have seen a problem with commons.io(https://commons.apache.org/) lately
See the debug output here: { "datasource": "maven", "depName": "commons-io:commons-io", "currentValue": "2.5", "fileReplacePosition": 1660, "registryUrls": ["https://repo.maven.apache.org/maven2"], "groupName": "commons-io.version", "depIndex": 102, "updates": [ { "fromVersion": "2.5", "toVersion": "2.8.0", "newValue": "2.8.0", "newMajor": 2, "newMinor": 8, "updateType": "minor", "isSingleVersion": true }, { "fromVersion": "2.5", "toVersion": "20030203.000550", "newValue": "20030203.000550", "newMajor": 20030203, "newMinor": 550, "updateType": "major", "isSingleVersion": true } ], "warnings": [], "sourceUrl": null },
Why is version 20030203.000550 (from 2005 ->https://mvnrepository.com/artifact/commons-io/commons-io) considered to be newer than version 2.8.0 ?
Please fill the issue template and format the code.
It's because major 20030203 is greater than 2
20030203
2
We have a workarounds preset
You should make sure to include workarounds:all preset.
workarounds:all
We are using Renovatebot self hosted and have seen a problem with commons.io(https://commons.apache.org/) lately
See the debug output here: { "datasource": "maven", "depName": "commons-io:commons-io", "currentValue": "2.5", "fileReplacePosition": 1660, "registryUrls": ["https://repo.maven.apache.org/maven2"], "groupName": "commons-io.version", "depIndex": 102, "updates": [ { "fromVersion": "2.5", "toVersion": "2.8.0", "newValue": "2.8.0", "newMajor": 2, "newMinor": 8, "updateType": "minor", "isSingleVersion": true }, { "fromVersion": "2.5", "toVersion": "20030203.000550", "newValue": "20030203.000550", "newMajor": 20030203, "newMinor": 550, "updateType": "major", "isSingleVersion": true } ], "warnings": [], "sourceUrl": null },
Why is version 20030203.000550 (from 2005 ->https://mvnrepository.com/artifact/commons-io/commons-io) considered to be newer than version 2.8.0 ?