pip, bundler, and other dependency handlers often support comparison operators, and more than one of these (e.g. lower and upper bounds).
Either single string, with delimited (comma, semicolon, multiple, whatever), or an array of strings. For example:
Version = '>2.2.3,<3.0'
Version = '>=1.2.9', '<2.0'
Single string is a little awkward looking but less complex in code. Multiple versions would be nicer looking but will add some complexity to what's already some painful logic.
If this sounds like anyone would use it, or has thoughts on these or other formats, hit me up!
Thanks to the reminder from Ravikanth!
pip, bundler, and other dependency handlers often support comparison operators, and more than one of these (e.g. lower and upper bounds).
Either single string, with delimited (comma, semicolon, multiple, whatever), or an array of strings. For example:
Version = '>2.2.3,<3.0'Version = '>=1.2.9', '<2.0'Single string is a little awkward looking but less complex in code. Multiple versions would be nicer looking but will add some complexity to what's already some painful logic.
If this sounds like anyone would use it, or has thoughts on these or other formats, hit me up!
Thanks to the reminder from Ravikanth!