pulp-cli-deb 0.0.3__tar.gz → 0.0.5.dev0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/PKG-INFO +2 -1
  2. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulp_cli_deb.egg-info/PKG-INFO +2 -1
  3. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulpcore/cli/deb/context.py +6 -27
  4. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/setup.py +2 -1
  5. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulp_cli_deb.egg-info/SOURCES.txt +0 -0
  6. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulp_cli_deb.egg-info/dependency_links.txt +0 -0
  7. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulp_cli_deb.egg-info/entry_points.txt +0 -0
  8. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulp_cli_deb.egg-info/requires.txt +0 -0
  9. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulp_cli_deb.egg-info/top_level.txt +0 -0
  10. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulpcore/cli/deb/__init__.py +0 -0
  11. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulpcore/cli/deb/distribution.py +0 -0
  12. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulpcore/cli/deb/locale/de/LC_MESSAGES/messages.mo +0 -0
  13. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulpcore/cli/deb/publication.py +0 -0
  14. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulpcore/cli/deb/py.typed +0 -0
  15. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulpcore/cli/deb/remote.py +0 -0
  16. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pulpcore/cli/deb/repository.py +0 -0
  17. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/pyproject.toml +0 -0
  18. {pulp-cli-deb-0.0.3 → pulp-cli-deb-0.0.5.dev0}/setup.cfg +0 -0
@@ -1,7 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulp-cli-deb
3
- Version: 0.0.3
3
+ Version: 0.0.5.dev0
4
4
  Summary: Command line interface to talk to pulpcore's REST API. (Debian plugin commands)
5
+ Home-page: https://github.com/pulp/pulp-cli-deb
5
6
  License: GPLv2+
6
7
  Classifier: Development Status :: 3 - Alpha
7
8
  Classifier: Environment :: Console
@@ -1,7 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulp-cli-deb
3
- Version: 0.0.3
3
+ Version: 0.0.5.dev0
4
4
  Summary: Command line interface to talk to pulpcore's REST API. (Debian plugin commands)
5
+ Home-page: https://github.com/pulp/pulp-cli-deb
5
6
  License: GPLv2+
6
7
  Classifier: Development Status :: 3 - Alpha
7
8
  Classifier: Environment :: Console
@@ -19,21 +19,14 @@ class PulpAptDistributionContext(PulpEntityContext):
19
19
  ENTITY = _("apt distribution")
20
20
  ENTITIES = _("apt distributions")
21
21
  HREF = "deb_apt_distribution_href"
22
- LIST_ID = "distributions_deb_apt_list"
23
- READ_ID = "distributions_deb_apt_read"
24
- CREATE_ID = "distributions_deb_apt_create"
25
- UPDATE_ID = "distributions_deb_apt_partial_update"
26
- DELETE_ID = "distributions_deb_apt_delete"
22
+ ID_PREFIX = "distributions_deb_apt"
27
23
 
28
24
 
29
25
  class PulpAptPublicationContext(PulpEntityContext):
30
26
  ENTITY = _("apt publication")
31
27
  ENTITIES = _("apt publications")
32
28
  HREF = "deb_apt_publication_href"
33
- LIST_ID = "publications_deb_apt_list"
34
- READ_ID = "publications_deb_apt_read"
35
- CREATE_ID = "publications_deb_apt_create"
36
- DELETE_ID = "publications_deb_apt_delete"
29
+ ID_PREFIX = "publications_deb_apt"
37
30
 
38
31
  def preprocess_body(self, body: EntityDefinition) -> EntityDefinition:
39
32
  body = super().preprocess_body(body)
@@ -48,10 +41,7 @@ class PulpVerbatimPublicationContext(PulpEntityContext):
48
41
  ENTITY = _("verbatim publication")
49
42
  ENTITIES = _("verbatim publications")
50
43
  HREF = "deb_verbatim_publication_href"
51
- LIST_ID = "publications_deb_verbatim_list"
52
- READ_ID = "publications_deb_verbatim_read"
53
- CREATE_ID = "publications_deb_verbatim_create"
54
- DELETE_ID = "publications_deb_verbatim_delete"
44
+ ID_PREFIX = "publications_deb_verbatim"
55
45
  APT_ONLY: ClassVar[Set[str]] = {"simple", "structured", "signing_service"}
56
46
 
57
47
  def preprocess_body(self, body: EntityDefinition) -> EntityDefinition:
@@ -72,11 +62,7 @@ class PulpAptRemoteContext(PulpEntityContext):
72
62
  ENTITY = _("apt remote")
73
63
  ENTITIES = _("apt remotes")
74
64
  HREF = "deb_apt_remote_href"
75
- LIST_ID = "remotes_deb_apt_list"
76
- READ_ID = "remotes_deb_apt_read"
77
- CREATE_ID = "remotes_deb_apt_create"
78
- UPDATE_ID = "remotes_deb_apt_partial_update"
79
- DELETE_ID = "remotes_deb_apt_delete"
65
+ ID_PREFIX = "remotes_deb_apt"
80
66
  NULLABLES = {"architectures", "components"}
81
67
 
82
68
  @staticmethod
@@ -106,21 +92,14 @@ class PulpAptRemoteContext(PulpEntityContext):
106
92
  class PulpAptRepositoryVersionContext(PulpRepositoryVersionContext):
107
93
  HREF = "deb_apt_repository_version_href"
108
94
  REPOSITORY_HREF = "deb_apt_repository_href"
109
- LIST_ID = "repositories_deb_apt_versions_list"
110
- READ_ID = "repositories_deb_apt_versions_read"
111
- DELETE_ID = "repositories_deb_apt_versions_delete"
95
+ ID_PREFIX = "repositories_deb_apt_versions"
112
96
 
113
97
 
114
98
  class PulpAptRepositoryContext(PulpRepositoryContext):
115
99
  ENTITY = _("apt repository")
116
100
  ENTITIES = _("apt repositories")
117
101
  HREF = "deb_apt_repository_href"
118
- LIST_ID = "repositories_deb_apt_list"
119
- READ_ID = "repositories_deb_apt_read"
120
- CREATE_ID = "repositories_deb_apt_create"
121
- UPDATE_ID = "repositories_deb_apt_partial_update"
122
- DELETE_ID = "repositories_deb_apt_delete"
123
- SYNC_ID = "repositories_deb_apt_sync"
102
+ ID_PREFIX = "repositories_deb_apt"
124
103
  VERSION_CONTEXT = PulpAptRepositoryVersionContext
125
104
 
126
105
 
@@ -21,7 +21,8 @@ plugin_entry_points = [(package.rsplit(".", 1)[-1], package) for package in plug
21
21
  setup(
22
22
  name="pulp-cli-deb",
23
23
  description="Command line interface to talk to pulpcore's REST API. (Debian plugin commands)",
24
- version="0.0.3",
24
+ url="https://github.com/pulp/pulp-cli-deb",
25
+ version="0.0.5.dev",
25
26
  packages=plugin_packages,
26
27
  package_data={"": ["py.typed", "locale/*/LC_MESSAGES/*.mo"]},
27
28
  python_requires=">=3.6",