Skip to content

chore(docs): ocm resource download ADR#364

Merged
jakobmoellerdev merged 8 commits into
open-component-model:mainfrom
jakobmoellerdev:download-adr
Jul 11, 2025
Merged

chore(docs): ocm resource download ADR#364
jakobmoellerdev merged 8 commits into
open-component-model:mainfrom
jakobmoellerdev:download-adr

Conversation

@jakobmoellerdev

@jakobmoellerdev jakobmoellerdev commented Jul 7, 2025

Copy link
Copy Markdown
Member

What this PR does / why we need it

Enable easy and simple interpretation of downloaded resources fetched from component versions based on a new set of specifications that integrates seamlessly with the new OCM Plugin System, while providing a rearchitected foundation from the OCM v1 download handlers.

Which issue(s) this PR fixes

fix open-component-model/ocm-project#545

@github-actions github-actions Bot added area/documentation Documentation related kind/chore chore, maintenance, etc. size/m Medium labels Jul 7, 2025
@github-actions github-actions Bot added the component/github-actions Changes on GitHub Actions or within `.github/` directory label Jul 9, 2025
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
# Conflicts:
#	.github/config/wordlist.txt
@jakobmoellerdev jakobmoellerdev marked this pull request as ready for review July 9, 2025 08:14
@jakobmoellerdev jakobmoellerdev requested a review from a team as a code owner July 9, 2025 08:14
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Comment thread docs/adr/0007_resource_download.md
Comment thread docs/adr/0007_resource_download.md Outdated
Comment thread docs/adr/0007_resource_download.md

@Skarlso Skarlso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done with two comments left. :) 👍

# Conflicts:
#	.github/config/wordlist.txt
This makes it so that the OCI library can now dynamically discover top level artifacts in OCI layouts passed to upload scenarios. This is achieved by building a successor graph dynamically based on the index. The call itself is implemented to be extremely efficient for 90% of our cases. (1-10 main artifacts with <100 references).

This effectively allows us to use layouts without passing in a source access and we can simplify our OCI repository interfaces signficantly. This means we are now much closer to the old OCMv1 Main Artifact Fetching in Artifact Sets.

Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
@jakobmoellerdev jakobmoellerdev requested a review from Skarlso July 9, 2025 12:13

@ikhandamirov ikhandamirov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. If my comments regarding the name of the flag don't resonate, feel free to just resolve.

Comment thread docs/adr/0007_resource_download.md Outdated
Comment thread docs/adr/0007_resource_download.md Outdated
Comment thread docs/adr/0007_resource_download.md
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
@jakobmoellerdev jakobmoellerdev enabled auto-merge (squash) July 11, 2025 06:47
@jakobmoellerdev jakobmoellerdev merged commit cbe82c3 into open-component-model:main Jul 11, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Documentation related component/github-actions Changes on GitHub Actions or within `.github/` directory kind/chore chore, maintenance, etc. size/m Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create ADR for OCM Resource Download Handlers

3 participants