Searched defs:p5i (Results 1 - 10 of 10) sorted by relevance

/pkg/src/tests/api/
H A Dt_p5i.py39 import pkg.p5i as p5i namespace
49 """Class to test the functionality of the pkg.p5i module."""
110 """Verify that the p5i parsing and writing works as expected."""
112 # Verify that p5i export and parse works as expected.
123 # Dump the p5i data.
125 p5i.write(fobj, [pub], pkg_names=pnames)
127 # Verify that the p5i data ends with a terminating newline.
163 validate_results(p5i.parse(fileobj=fobj))
172 validate_results(p5i
[all...]
/pkg/src/
H A Ddepot-config.py52 import pkg.p5i as p5i namespace
366 p5i.write(pub_file, [pub])
374 p5i.write(pub_file, pub_objs)
/pkg/src/util/apache2/depot/
H A Ddepot_index.py43 import pkg.p5i namespace
574 def p5i(self, *tokens): member in class:WsgiDepot
575 """Use a DepotHTTP to return a p5i response."""
580 headers["Content-Type"] = pkg.p5i.MIME_TYPE
763 elif "/p5i/0/" in path_info:
764 cherrypy.response.body = self.app.p5i(*toks,
/pkg/src/modules/
H A Dp5p.py46 import pkg.p5i namespace
1174 # See if this publisher has a .p5i file in the
1177 "pub.p5i")
1181 # No p5i; that's ok.
1185 pubs = pkg.p5i.parse(fileobj=fobj)
1245 # signed packages present, and p5i information for each
1255 # Create a p5i file.
1257 pkg.p5i.write(fobj, [npub])
1260 # Queue the p5i file for addition to the archive.
1262 "pub.p5i")
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_depotd.py52 import pkg.p5i as p5i namespace
1025 entries = p5i.parse(location=purl)
1058 """Verify the output of the depot /p5i operation."""
1072 # Now, for each published package, attempt to get a p5i file
1076 purl = urljoin(durl, "p5i/0/{0}".format(p))
1077 pub, pkglist = p5i.parse(location=purl)[0]
1079 # p5i files contain non-qualified FMRIs as the FMRIs
1088 purl = urljoin(durl, "p5i/0/{0}".format(stem))
1089 pub, pkglist = p5i
[all...]
/pkg/src/modules/client/transport/
H A Drepo.py43 import pkg.p5i as p5i namespace
1477 p5i.write(buf, pubs)
2141 p5i.write(buf, pubs)
H A Dtransport.py61 import pkg.p5i as p5i namespace
1002 pub_data = p5i.parse(data=infostr)
/pkg/src/modules/server/
H A Ddepot.py80 import pkg.p5i as p5i namespace
114 "p5i",
128 "p5i",
1294 "Content-Type", p5i.MIME_TYPE)])
1312 p5i.write(buf, pubs)
1324 "Content-Type", p5i.MIME_TYPE)])
1349 p5i.write(buf, pubs)
1400 p5i.write(buf, [pub], pkg_names=pkg_names)
1405 "Content-Type", p5i
[all...]
H A Drepository.py58 import pkg.p5i as p5i namespace
1345 p5ipath = os.path.join(self.root, "pub.p5i")
1347 pubs = p5i.parse(location=p5ipath)
1353 # No p5i exists, or existing one doesn't contain publisher info,
1818 p5ipath = os.path.join(self.root, "pub.p5i")
1844 p5i.write(ef, [pub])
1846 # we use simpleson.dump() in p5i.write(),
1852 p5i.write(fp, [pub])
/pkg/src/modules/client/
H A Dapi.py93 import pkg.p5i as p5i namespace
5432 'data' is an optional string containing the p5i data.
5444 return p5i.parse(data=data, fileobj=fileobj, location=location)
5537 to the provided file-like object 'fileobj' in JSON p5i format.
5566 # before passing them to the p5i module.
5576 p5i.write(fileobj, plist, pkg_names=new_pkg_names)

Completed in 86 milliseconds