Skip to content

Refactors core listing and retrieval API#18

Merged
olofk merged 1 commit intofusesoc:mainfrom
anlu85:14-refactor-api-to-use-database
Sep 30, 2025
Merged

Refactors core listing and retrieval API#18
olofk merged 1 commit intofusesoc:mainfrom
anlu85:14-refactor-api-to-use-database

Conversation

@anlu85
Copy link
Copy Markdown
Contributor

@anlu85 anlu85 commented Sep 30, 2025

Streamlines the core listing and retrieval endpoints to use the database as the source of truth instead of Github.

  • Modifies the /list/ endpoint to retrieve core packages from the database, allowing for filtering by VLNV name.
  • Changes the /get/ endpoint to fetch core files directly via a URL stored in the database, identified by the VLNV name.
  • Adds tests for core listing, retrieval, and publishing endpoints.

This change improves performance, simplifies the codebase, and reduces dependency on the Github API.

Closes #14

Streamlines the core listing and retrieval endpoints to use the database as the source of truth instead of Github.

- Modifies the `/list/` endpoint to retrieve core packages from the database, allowing for filtering by VLNV name.
- Changes the `/get/` endpoint to fetch core files directly via a URL stored in the database, identified by the VLNV name.
- Adds tests for core listing, retrieval, and publishing endpoints.

This change improves performance, simplifies the codebase, and reduces dependency on the Github API.
@olofk olofk merged commit 5bf877b into fusesoc:main Sep 30, 2025
5 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.

Refactor API to Use Database Instead of Direct GitHub Access

2 participants