apt-transport-oci
apt-transport-oci copied to clipboard
Adding packages to an existing repo
Hello,
Thanks a lot for your work on this. We are wanting to use this for package hosting but it looks like you have to push the entire repository each time you want to add a package. Am I missing something? The oras tool doesn't seem to offer a way to add layers to an image either.
Any insight you could offer would be appreciated, thanks.
Russ
We are wanting to use this for package hosting but it looks like you have to push the entire repository each time you want to add a package.
Yes.
Is there anything stopping adding additional packages via layers (if tooling can be found that actually does that)?
In theory, oras could compare the existing remote OCI Image Config JSON with the new JSON, and skip checking remote existence and pushing blobs that are already referred by the existing JSON.
I guess this is a suggestion for the Oras project. Although it doesn't seem under heavy development.
I write a python script to do this: https://github.com/amazingfate/deb-repo