Skip to content

Generalize data access#38

Merged
puerco merged 3 commits intoprotobom:mainfrom
puerco:generalize-1
Apr 14, 2025
Merged

Generalize data access#38
puerco merged 3 commits intoprotobom:mainfrom
puerco:generalize-1

Conversation

@puerco
Copy link
Member

@puerco puerco commented Apr 14, 2025

This PR introduces the second big chunk of changes required to get the protobom CEL integration to a sufficiently general purpose state. We now have a refactored the data type adapter which is wired it through the code, meaning it is effectively in use now.

The second change is that the API functions have been normalized to follow CEL conventions: lowercase and using snake case. After this PR we should be able to start cutting early releases as it should be in a good enough state to import into other tools.

Signed-off-by: Adolfo Garcia Veytia (puerco) puerco@carabiner.dev

puerco and others added 3 commits April 14, 2025 11:55
Signed-off-by: Adolfo Garcia Veytia (puerco) <adolfo.garcia@uservers.net>
This commit reworks the data access paths to the protobom data to
ensure the CEL environment can access the protobom properties. To
do so we start introducing new types for the protobom elements and
reworked the type adapter which is now weaved throughout the CEL
api functions.

Signed-off-by: Adolfo Garcia Veytia (puerco) <adolfo.garcia@uservers.net>
Signed-off-by: Adolfo Garcia Veytia (puerco) <puerco@carabiner.dev>
@puerco puerco merged commit 58c1677 into protobom:main Apr 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants