/pkg/src/util/publish/ |
H A D | pkgsurf.py | 92 import pkg.server.repository as sr namespace 746 target_repo = sr.Repository(read_only=dry_run, 748 except sr.RepositoryError as e:
|
/pkg/src/modules/publish/ |
H A D | transaction.py | 50 import pkg.server.repository as sr namespace 247 sr.repository_create(self.path, version=3) 248 except sr.RepositoryExistsError: 251 except (apx.ApiException, sr.RepositoryError) as e: 256 repo = sr.Repository(properties=repo_props, 265 except sr.RepositoryInvalidError as e: 267 except sr.RepositoryError as e:
|
/pkg/src/ |
H A D | depot-config.py | 53 import pkg.server.repository as sr namespace 173 repository = sr.Repository(root=root, read_only=True)
|
H A D | pull.py | 54 import pkg.server.repository as sr namespace 986 repo = sr.Repository(read_only=False, 988 except sr.RepositoryInvalidError as e: 1091 except sr.RepositoryUnknownPublisher:
|
H A D | depot.py | 110 import pkg.server.repository as sr namespace 845 sr.repository_create(inst_root, properties=repo_props) 846 except sr.RepositoryExistsError: 849 except (api_errors.ApiException, sr.RepositoryError) as _e: 857 repo = sr.Repository(cfgpathname=repo_config_file, 862 except (RuntimeError, sr.RepositoryError) as _e: 885 except (sr.RepositoryError, search_errors.IndexingException, 892 except sr.RepositoryError as e: 904 except sr.RepositoryError as e:
|
H A D | pkgrepo.py | 82 import pkg.server.repository as sr namespace 294 raise sr.RepositoryInvalidError(str(repo_uri)) 295 return sr.Repository(allow_invalid=allow_invalid, read_only=read_only, 509 sr.repository_create(repo_uri, version=version) 1456 except sr.RepositoryUnknownPublisher as e: 1459 except sr.RepositoryError as e: 1544 # sr.Repository.verify(..) 1573 if error == sr.REPO_VERIFY_BADMANIFEST: 1575 elif error in [sr.REPO_VERIFY_PERM, sr [all...] |
/pkg/src/util/apache2/depot/ |
H A D | depot_index.py | 45 import pkg.server.repository as sr namespace 52 # a global dictionary containing sr.Repository objects, keyed by 297 """Builds a dictionary of sr.Repository objects, keyed by the 342 repo = sr.Repository(root=path, read_only=True, 344 except sr.RepositoryError as e:
|
/pkg/src/tests/cli/ |
H A D | t_pkg_depotd.py | 51 import pkg.server.repository as sr namespace 984 rc = sr.RepositoryConfig(target=rcpath) 1000 except sr.RepositoryUnknownPublisher:
|
H A D | t_pkgrepo.py | 41 import pkg.server.repository as sr namespace 985 sr.RepositorySearchUnavailableError)) 1464 self.assertRaises(sr.RepositoryFileNotFoundError, repo.file, 1483 self.assertRaises(sr.RepositoryFileNotFoundError, repo.file, 1501 self.assertRaises(sr.RepositoryFileNotFoundError, repo.file, 1503 self.assertRaises(sr.RepositoryFileNotFoundError, repo.file, 1505 self.assertRaises(sr.RepositoryFileNotFoundError, repo.file, 3346 self.assertRaises(sr.RepositoryInvalidError, sr.Repository,
|
/pkg/src/modules/ |
H A D | depotcontroller.py | 40 import pkg.server.repository as sr namespace 159 sr.repository_create(self.__dir) 160 except sr.RepositoryExistsError: 163 return sr.Repository(cfgpathname=self.__cfg_file,
|
/pkg/src/modules/client/transport/ |
H A D | transport.py | 64 import pkg.server.repository as sr namespace 295 frepo = sr.Repository(root=path, 330 except (sr.RepositoryError, apx.ApiException):
|
/pkg/src/tests/ |
H A D | pkg5unittest.py | 84 import pkg.server.repository as sr namespace 3162 import pkg.server.repository as sr namespace 3164 repo = sr.repository_create(repodir, 3167 except sr.RepositoryExistsError: 3169 repo = sr.Repository(root=repodir, 3180 import pkg.server.repository as sr namespace 3181 return sr.Repository(read_only=read_only, root=repodir)
|