/pkg/src/modules/ |
H A D | mediator.py | 29 import pkg.version as version namespace 44 string is a valid mediator version for a link mediation. 'valid' is 50 version.Version(value) 52 except version.VersionError as e: 56 return False, _("'{value}' is not a valid mediator-version: " 58 return False, _("'{0}' is not a valid mediator-version").format(value) 62 returns a tuple of (name, version) where 'name' is a string containing 63 the name of the implementation and 'version' is None or a pkg.version [all...] |
H A D | indexer.py | 40 import pkg.version namespace 185 return pkg.version.Version(unquote(vers), None) 278 added or removed; whether this version of the package is 578 # the version information the search storage class added. 808 """This version of update index is designed to work with the 820 """ This version of update index is designed to work with the
|
H A D | p5p.py | 51 if sys.version > '3': 60 supported or recognized by this version of the pkg(7) ArchiveIndex 102 version = None variable in class:ArchiveIndex 107 def __init__(self, name, mode="r", version=None): 117 'version' is an optional integer value specifying the version 119 current version is assumed. 123 if version is None: 124 version = self.CURRENT_VERSION 125 if version no 300 version = None variable in class:Archive [all...] |
H A D | manifest.py | 49 import pkg.version as version namespace 56 """Private helper function that returns a compiled version of a 127 package version on both the client and the repository. Both purposes 134 The reserved attribute, "fmri", represents the package and version 152 as an indicator that a specific package version is supported by the 237 a.attrs.get("mediator-version"), 308 for v in ("mediator-version", 409 a.attrs.get("mediator-version"), 416 "mediator-version" [all...] |
H A D | config.py | 67 import pkg.version namespace 867 if isinstance(value, pkg.version.Version): 871 nvalue = pkg.version.Version(value) 1039 version=None): 1043 by configuration version defining the initial set of property 1051 'version' is an integer value that will be used to determine 1053 newest version found in 'definitions' will be used. 1056 assert version is None or isinstance(version, int) 1060 if version i 1429 def version(self): member in class:Config [all...] |
H A D | catalog.py | 51 import pkg.version namespace 423 also be the newest version of the package. 427 be in descending version order. If False, results will be 428 in a ascending version order on a per-publisher, per-stem 489 if entry["version"] == ver: 501 entry["version"] = ver 536 also be the newest version of the package. 540 be in descending version order. If False, results will be 541 in a ascending version order on a per-publisher, per-stem 547 Results are always in catalog version orde 1351 version = property(__get_version, __set_version) variable in class:CatalogAttrs 3863 version = property(__get_version, __set_version) variable in class:Catalog [all...] |
/pkg/src/tests/perf/ |
H A D | fmribench.py | 36 import pkg.version as version namespace 44 """import pkg.version as version""", 45 """v1 = version.DotSequence("0.72.1")""" 49 """import pkg.version as version 50 v1 = version.DotSequence("0.72.1") 51 v2 = version.DotSequence("0.73.1")""", 56 """import pkg.version a [all...] |
H A D | membench.py | 35 import pkg.version as version namespace 41 return version.DotSequence("5.111111") 44 return version.DotSequence("5.{0:d}".format(num)) 47 return version.Version("0.5.11-0.111:20090428T172804Z") 50 return version.Version("0.5.11,5.11-0.{0:d}:{1:0=8d}T172804Z".format(num, num))
|
/pkg/src/modules/actions/ |
H A D | depend.py | 41 import pkg.version namespace 70 optional - optional dependency on minimum version of other package. In 72 version level. 74 require - dependency on minimum version of other package is needed 77 conditional - dependency on minimum version of specified package 78 if predicate package is installed at specified version or newer. 80 require-any - dependency on minimum version of any of the specified 83 origin - specified package must be at this version or newer 85 on version installed in / rather than image being modified. 87 parent - dependency on same version o [all...] |
/pkg/src/tests/api/ |
H A D | t_api_list.py | 44 import pkg.version as version namespace 83 aver = version.Version(aver) 84 bver = version.Version(bver) 127 # Compare with newest version entry for this stem. 128 if ver != str(self.dlist1[6].version): 131 # Compare with newest version entry for this stem. 132 if ver != str(self.dlist1[10].version): 135 # Compare with newest version entry for this stem. 136 nver = str(self.dlist1[12].version) [all...] |
H A D | t_version.py | 33 import pkg.version as version namespace 40 self.d1 = version.DotSequence("1.1.3") 41 self.d2 = version.DotSequence("1.1.3") 42 self.d3 = version.DotSequence("5.4") 43 self.d4 = version.DotSequence("5.6") 44 self.d5 = version.DotSequence("5.4.1") 45 self.d6 = version.DotSequence("5.5.1") 46 self.d7 = version.DotSequence("6.5.1") 48 self.v1 = version [all...] |
/pkg/src/modules/server/ |
H A D | api.py | 43 import pkg.version as version namespace 103 be in descending version order. If False, results will be 104 in a ascending version order on a per-publisher, per-stem 119 are returned ordered by stem and descending version. State 197 iver = ifmri.version 206 pkg.version.CONSTRAINT_AUTO): 245 version - (string) the version of the package 252 descending version orde 592 def version(self): member in class:CatalogInterface [all...] |
H A D | depot.py | 83 import pkg.version namespace 433 # Ensure that we have a integer protocol version. 441 "Missing version\n") 444 "Non-integer version\n") 447 # 'version' is not supported for the operation. 471 # Assume 'version' is not supported for the operation for some 597 """The request is an encoded pkg FMRI. If the version is 1200 the version is specified incompletely, we return an error, 1270 # Add human version if exist. 1271 hum_ver = m.get("pkg.human-version", "") [all...] |
H A D | repository.py | 67 import pkg.version namespace 318 current format (version). 321 def __init__(self, location, version, current_version): 324 self.version = version 328 return("The repository at '{location}' is version " 329 "'{version}'; only versions up to {current_version} are" 335 (version). 338 def __init__(self, location, version, supported): 341 self.version [all...] |
/pkg/src/ |
H A D | pull.py | 55 import pkg.version as version namespace 138 includes only the latest version of each package 176 directory structures by stem and version at the location 268 def expand_fmri(pfmri, constraint=version.CONSTRAINT_AUTO): 274 # Iterate in reverse so newest version is evaluated first. 278 if not pfmri.version or \ 279 f.version.is_successor(pfmri.version, constraint): 345 """Returns a filtered version o [all...] |
H A D | depot.py | 29 # XXX The prototype pkg.depotd combines both the version management server that 34 # to a special purpose HTTP/HTTPS server explicitly for the version management 39 # XXX Although we pushed the evaluation of next-version, etc. to the pull 88 version = cherrypy.__version__.split('.') variable 90 if list(map(int, version)) < [3, 1, 0]: 932 if list(map(int, version)) >= [3, 2, 0]:
|
H A D | setup.py | 84 # the version of pylint that we must have in order to run the pylint checks. 106 # Extract Python minor version. 512 def supported_pylint_ver(version): 513 """Compare the installed version against the version 514 we require to build with, returning False if the version 515 is too old. It's tempting to use pkg.version.Version 518 inst_pylint_ver = version.split(".") 531 # if we somehow get non-numeric version 536 # it's fine to default to the required version 1812 version = '0.1', variable [all...] |
H A D | client.py | 81 import pkg.version as version namespace 174 "version"] 203 basic_usage["version"] = "" 261 adv_usage["verify"] = _("[-Hqv] [-p path]... [--parsable version]\n" 267 " [--accept] [--licenses] [--parsable version] [--unpackaged]\n" 305 " [-V <version>] [--no-be-activate]\n" 481 if isinstance(err, version.VersionError): 482 # For version errors, include the pattern so 562 entry["version"] [all...] |
/pkg/src/modules/client/ |
H A D | plandesc.py | 54 import pkg.version namespace 116 "version": pkg.version.Version, 117 "implementation-version": pkg.version.Version, 125 "version": pkg.version.Version, 126 "implementation-version": pkg.version.Version, 278 # add a state version encodin [all...] |
H A D | client_api.py | 61 import pkg.version as version namespace 170 "version": {"type": "string"}, 252 "version": { 474 if isinstance(err, version.VersionError): 475 # For version errors, include the pattern so 694 entry["version"] = ver 1521 version.""" 1536 # then take only those packages to the latest version 2377 hum_ver = pi.get_attr_values("pkg.human-version") [all...] |
H A D | pkg_solver.py | 47 import pkg.version as version namespace 66 _TRIM_DEP_MISSING = 0 # no matching pkg version found for dep 69 _TRIM_FIRMWARE = 3 # firmware version requirement 73 _TRIM_INSTALLED_NEWER = 7 # newer version installed already 74 _TRIM_INSTALLED_ORIGIN = 8 # installed version in image too old 75 _TRIM_INSTALLED_ROOT_ORIGIN = 9 # installed version in root image too old 77 _TRIM_PARENT_NEWER = 11 # parent image has newer version 78 _TRIM_PARENT_OLDER = 12 # parent image has older version 82 _TRIM_PROPOSED_VER = 16 # didn't match requested version [all...] |
H A D | image.py | 75 import pkg.version namespace 180 self.version = -1 556 version = None 557 if self.version > -1: 558 # Configuration version is currently 3 560 version = 3 563 self.root, version=version, 714 def mkdirs(self, root=None, version=None): 721 'version' i [all...] |
H A D | api.py | 97 import pkg.version namespace 301 'version_id' indicates the version of the api the client is 527 """A dictionary of the mediators and their configured version 532 "version": mediator-version-string, 533 "version-source": (site|vendor|system|local), 539 'version' is an optional string that specifies the version 543 'version-source' is a string describing the source of the 544 selected version configuratio [all...] |
H A D | imageplan.py | 69 import pkg.version namespace 147 s += "Package version changes:\n" 208 if self.image.version != self.image.CURRENT_VERSION: 475 # the actuator specifies a version which is not installed, treat 479 # the solver. Otherwise we might trim on the installed version 1037 version and implementation for. It should be of the form: 1042 "version": mediator-version-string 1048 instead of 'version'. A value of None will be interpreted 1052 'version' i [all...] |
/pkg/src/modules/client/linkedimage/ |
H A D | common.py | 72 import pkg.version namespace 1536 if fmri.version != pfmri.version and \ 1537 not pfmri.version.is_successor(fmri.version, 1538 pkg.version.CONSTRAINT_AUTO): 3312 json version of the plan on stdout, and we'll verify it by 3455 "facet.version-lock.*" facets.""" 3651 class version. This routine must serialize 'obj' when
|