Searched refs:p5p (Results 1 - 12 of 12) sorted by relevance

/pkg/src/util/apache2/sysrepo/
H A Dsysrepo_p5p.py25 import pkg.p5p namespace
57 """An exception thrown when a client requests a path within a p5p file
78 """An exception thrown when the p5p file referred to by the
84 return "Missing p5p archive: {0}".format(self.path)
88 """An object to handle a request for p5p file contents from the
95 self.p5p = None
102 if self.p5p:
103 self.p5p.close()
122 file we create per p5p archive, and the p5p archiv
[all...]
/pkg/src/tests/api/
H A Dt_p5p.py42 import pkg.p5p namespace
53 """Class to test the functionality of the pkg.p5p module."""
204 arc_path = os.path.join(self.test_root, "empty.p5p")
205 arc = pkg.p5p.Archive(arc_path, mode="w")
230 arc_path = os.path.join(self.test_root, "add.p5p")
231 arc = pkg.p5p.Archive(arc_path, mode="w")
338 arc_path = os.path.join(self.test_root, "add_package.p5p")
339 arc = pkg.p5p.Archive(arc_path, mode="w")
353 arc = pkg.p5p.Archive(arc_path, mode="w")
399 arc_path = os.path.join(self.test_root, "add_repo_package.p5p")
[all...]
/pkg/src/
H A Dsysrepo.py59 import pkg.p5p as p5p namespace
489 # we only support p5p files and directory-based
508 p5p.Archive(urlresult.path)
509 except p5p.InvalidArchive:
511 _("unable to read p5p "
H A Dpull.py51 import pkg.p5p namespace
774 pkg_arc = pkg.p5p.Archive(target, mode="w")
/pkg/src/tests/cli/
H A Dt_pkg_composite.py37 import pkg.p5p namespace
175 arc = pkg.p5p.Archive(arc_path, mode="w")
235 self.all_arc = self.__archive_packages("all_pkgs.p5p", repo,
241 "{0}.p5p".format(alist[0].pkg_name), repo, alist)
H A Dt_pkg_temp_sources.py38 import pkg.p5p namespace
187 arc = pkg.p5p.Archive(arc_path, mode="w")
232 self.all_arc = self.__archive_packages("all_pkgs.p5p", repo,
238 "{0}.p5p".format(alist[0].pkg_name), repo, alist)
245 self.perm_arc = os.path.join(self.test_root, "noaccess.p5p")
250 arc_path = os.path.join(self.test_root, "empty.p5p")
251 arc = pkg.p5p.Archive(arc_path, mode="w")
H A Dt_pkg_varcet.py34 import pkg.p5p namespace
H A Dt_pkgrecv.py42 import pkg.p5p as p5p namespace
858 arc_path = os.path.join(self.test_root, "test.p5p")
867 arc = p5p.Archive(arc_path, mode="r")
894 arc2_path = os.path.join(self.test_root, "test2.p5p")
898 arc = p5p.Archive(arc2_path, mode="r")
950 arc_path = os.path.join(self.test_root, "dry-run.p5p")
958 arc_mog_path = os.path.join(self.test_root, "test_mog.p5p")
964 arc = p5p.Archive(arc_mog_path, mode="r")
1015 arc_path = os.path.join(self.test_root, "test.p5p")
[all...]
H A Dt_pkg_mediated.py34 import pkg.p5p namespace
H A Dt_sysrepo.py38 import pkg.p5p namespace
424 # create a p5p archive
426 "test_8_file_publisher_archive.p5p")
550 """Ensure that when a p5p file changes from beneath us, or
554 # create a p5p archive
556 "test_12_changing_p5p_archive.p5p")
576 # modify the p5p file - publish a new package and an
577 # update of the existing package, then recreate the p5p file.
589 # remove the p5p file, which should still allow us to uninstall
595 # that require the p5p fil
[all...]
H A Dt_pkgrepo.py43 import pkg.p5p namespace
788 "test_info_empty_archive.p5p")
789 arc = pkg.p5p.Archive(arc_path, mode="w")
799 "test_info_1pub_archive.p5p")
800 arc = pkg.p5p.Archive(arc_path, mode="w")
814 "test_info_2pub_archive.p5p")
815 arc = pkg.p5p.Archive(arc_path, mode="w")
/pkg/src/modules/client/transport/
H A Drepo.py48 import pkg.p5p namespace
1999 self._arc = pkg.p5p.Archive(path, mode="r")
2000 except pkg.p5p.InvalidArchive as e:
2099 except pkg.p5p.UnknownArchiveFiles as e:
2124 except pkg.p5p.UnknownArchiveFiles as e:
2158 except pkg.p5p.UnknownPackageManifest as e:
2185 except pkg.p5p.UnknownPackageManifest as e:
2219 except pkg.p5p.UnknownArchiveFiles as e:

Completed in 56 milliseconds