Skip to content

feat(dir-importer): add ai-catalog import - #122

Merged
csirmazbendeguz merged 1 commit into
mainfrom
feat/ai-catalog-import
Nov 30, 2026
Merged

csirmazbendeguz merged 1 commit into
mainfrom
feat/ai-catalog-import

Conversation

@csirmazbendeguz

@csirmazbendeguz csirmazbendeguz commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds the ability to import an AI Catalog document as an OASF record, e.g.:

dirctl import --type=ai-catalog --file-path=./ai-catalog.json

It uses the integration/ai_catalog module we've already added to OASF and Directory

@csirmazbendeguz
csirmazbendeguz requested a review from a team as a code owner November 27, 2026 19:17
@codecov-commenter

codecov-commenter commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 71.77419% with 35 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
fetcher/ai_catalog_file.go 75.0% 13 Missing ⚠️
types/source_item.go 0.0% 8 Missing ⚠️
transformer/transformer.go 0.0% 7 Missing ⚠️
transformer/catalog.go 88.9% 6 Missing ⚠️
importer.go 0.0% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@csirmazbendeguz
csirmazbendeguz force-pushed the feat/ai-catalog-import branch 2 times, most recently from 163777e to 5c0a318 Compare November 30, 2026 13:22
@github-actions github-actions Bot added size/M and removed size/L labels Nov 30, 2026
@csirmazbendeguz
csirmazbendeguz force-pushed the feat/ai-catalog-import branch 2 times, most recently from c7b930c to 0dba0be Compare November 30, 2026 13:26
Signed-off-by: Bendegúz Csirmaz <csirmazbendeguz@gmail.com>
@csirmazbendeguz
csirmazbendeguz merged commit 51e418d into main Nov 30, 2026
20 checks passed
@csirmazbendeguz
csirmazbendeguz deleted the feat/ai-catalog-import branch November 30, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants