mirror of
https://github.com/containers/podman.git
synced 2026-01-24 13:58:48 -05:00
* Update blang/semver to allow ParseTolerant() support
* Provide helper functions for API handlers to obtain client's 'version'
path variable focused on API endpoint tree: libpod vs. compat
* Introduce new errors:
* version not given in path, endpoints may determine if this is a hard
error (ErrVersionNotGiven)
* given version not supported (ErrVersionNotSupported), only a soft
error if the handler is going to hijack the connection
* Added unit tests for version parsing
* bindings check version on connect:
* client <= Server API version connection is continued
* client >= Server API version connection fails
Signed-off-by: Jhon Honce <jhonce@redhat.com>
18 lines
373 B
JSON
18 lines
373 B
JSON
{
|
|
"author": "blang",
|
|
"bugs": {
|
|
"URL": "https://github.com/blang/semver/issues",
|
|
"url": "https://github.com/blang/semver/issues"
|
|
},
|
|
"gx": {
|
|
"dvcsimport": "github.com/blang/semver"
|
|
},
|
|
"gxVersion": "0.10.0",
|
|
"language": "go",
|
|
"license": "MIT",
|
|
"name": "semver",
|
|
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
|
|
"version": "3.5.1"
|
|
}
|
|
|