Skip to content

Commit f81cc5e

Browse files
authored
[WIP] start of early work to add opencontainers distribution (#9)
* start of early work to add opencontainers distribution there is not much code in the core of the upstream (implemented in golang) so I need to look closer to figure out how to best implement this. I think ideally we would want some kind of class to generate the correct data structure, although I am not sure this will fit nicely into something like Django where we would need to use database models and serialization instead. Signed-off-by: vsoch <vsochat@stanford.edu> * running linter Signed-off-by: vsoch <vsochat@stanford.edu> * rough work on reggie, not tested or finished Signed-off-by: vsoch <vsochat@stanford.edu> * adding wrapper to requests.Response Signed-off-by: vsoch <vsochat@stanford.edu> * finish up tests and will need to finish up docs Signed-off-by: vsoch <vsochat@stanford.edu> * tweaks to getting started docs and client Signed-off-by: vsoch <vsochat@stanford.edu>
1 parent 0d814c7 commit f81cc5e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1849
-242
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__pycache__
2+
*.egg-info*
3+
.eggs

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ Critical items to know are:
1616
Versions here coincide with releases on pypi.
1717

1818
## [master](https://github.com/vsoch/oci-python)
19+
- adding distribution spec (0.0.11)
1920
- adding image-spec and digests (0.0.1)
2021
- skeleton of package while core under development (0.0.0)

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include README.md LICENSE
22
recursive-include opencontainers *
3+
graft opencontainers
34
prune .env
45
prune doc*
56
prune .doc*

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ This include:
99

1010
- [opencontainers/image-spec](https://github.com/opencontainers/image-spec/tree/master/specs-go) maps to [opencontainers/image](opencontainers/image)
1111
- [opencontainers/go-digest](https://github.com/opencontainers/go-digest) maps to [opencontainers/digest](opencontainers/digest)
12+
- [opencontainers/distribution-spec](https://github.com/opencontainers/distribution-spec) maps to [opencontainers/distribution](opencontainers/distribution), which also includes a Python version of the [Reggie client](https://github.com/bloodorangeio/reggie) to interact with an OCI registry.
1213

1314
See the documentation at [vsoch.github.io/oci-python](https://vsoch.github.io/oci-python).

docs/_data/toc.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,22 @@
66
children:
77
- title: Install
88
url: "docs/getting-started#getting-started"
9-
- title: Image Specification
10-
url: "docs/getting-started#image-specification"
9+
- title: "Distribution Specification"
10+
url: "docs/getting-started#distribution-specification"
11+
children:
12+
- title: Reggie Client
13+
url: "docs/getting-started#reggie"
14+
- title: "Image Specification"
15+
url: "docs/getting-started#image-specification"
16+
children:
17+
- title: Manifests
18+
url: "docs/getting-started#image-manifest"
19+
- title: Descriptor
20+
url: "docs/getting-started#descriptor"
1121
- title: Digests
1222
url: "docs/getting-started#digest"
23+
- title: Algorithms
24+
url: "docs/getting-started#algorithms"
1325
- title: "About"
1426
url: "about"
1527
- title: "News"

0 commit comments

Comments
 (0)