diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-20 20:10:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-20 20:10:51 +0200 |
commit | b0bfa0e6da7d1cb0673328cdcff18329ca18cabf (patch) | |
tree | 226b022eb0d7aef35ad65dcaa10c6a2ec9f56e7c /vendor/github.com/blang/semver/README.md | |
parent | 09f8f14b4f7d09946d3d5cfc5460ec9923f7da59 (diff) | |
parent | f9c392f50a631a181bc2aa194b9c46504506d657 (diff) | |
download | podman-b0bfa0e6da7d1cb0673328cdcff18329ca18cabf.tar.gz podman-b0bfa0e6da7d1cb0673328cdcff18329ca18cabf.tar.bz2 podman-b0bfa0e6da7d1cb0673328cdcff18329ca18cabf.zip |
Merge pull request #6271 from jwhonce/wip/version
V2 API Version Support
Diffstat (limited to 'vendor/github.com/blang/semver/README.md')
-rw-r--r-- | vendor/github.com/blang/semver/README.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/github.com/blang/semver/README.md b/vendor/github.com/blang/semver/README.md index 4399639e2..08b2e4a3d 100644 --- a/vendor/github.com/blang/semver/README.md +++ b/vendor/github.com/blang/semver/README.md @@ -1,4 +1,4 @@ -semver for golang [![Build Status](https://drone.io/github.com/blang/semver/status.png)](https://drone.io/github.com/blang/semver/latest) [![GoDoc](https://godoc.org/github.com/blang/semver?status.png)](https://godoc.org/github.com/blang/semver) [![Coverage Status](https://img.shields.io/coveralls/blang/semver.svg)](https://coveralls.io/r/blang/semver?branch=master) +semver for golang [![Build Status](https://travis-ci.org/blang/semver.svg?branch=master)](https://travis-ci.org/blang/semver) [![GoDoc](https://godoc.org/github.com/blang/semver?status.png)](https://godoc.org/github.com/blang/semver) [![Coverage Status](https://img.shields.io/coveralls/blang/semver.svg)](https://coveralls.io/r/blang/semver?branch=master) ====== semver is a [Semantic Versioning](http://semver.org/) library written in golang. It fully covers spec version `2.0.0`. @@ -41,6 +41,7 @@ Features - Compare Helper Methods - InPlace manipulation - Ranges `>=1.0.0 <2.0.0 || >=3.0.0 !3.0.1-beta.1` +- Wildcards `>=1.x`, `<=2.5.x` - Sortable (implements sort.Interface) - database/sql compatible (sql.Scanner/Valuer) - encoding/json compatible (json.Marshaler/Unmarshaler) @@ -59,6 +60,8 @@ A condition is composed of an operator and a version. The supported operators ar - `1.0.0`, `=1.0.0`, `==1.0.0` Equal to `1.0.0` - `!1.0.0`, `!=1.0.0` Not equal to `1.0.0`. Excludes version `1.0.0`. +Note that spaces between the operator and the version will be gracefully tolerated. + A `Range` can link multiple `Ranges` separated by space: Ranges can be linked by logical AND: |