Re-design model and replace projects.yaml with postgres database#40
Merged
Conversation
938767c to
574a60a
Compare
Replace YAML-based project configuration with PostgreSQL database integration. Introduce new data model with ORM: * EclipseFoundationProject (string PK), * Workload (polymorphic: GitHubWorkload, JenkinsWorkload) * DependencyTrackProject. Update auth flow, settings, and all affected sections accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
* Remove projects.yaml.example and *ignore entries. * ci.yml -- Run pia with a dummy db URL: The docs smoke test still works, because SQLAlchemy only opens a real connection on the first db query. * docker-compose.yml -- Start service with dummy db URL: This is a non-functional stop-gap to not break `docker compose up` with the model change. In the future, we will likely add a working db service. Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
lukpueh
commented
May 12, 2026
mbarbero
approved these changes
May 12, 2026
This was referenced May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #5 #6 #29 #39
Disclaimer
This PR tackles two big features:
It may have been possible to introduce these features in incremental PRs, for more bite-sized reviews. However, that would have made the total diff much larger, and I would have had to do a lot of retroactive git history mangling, which didn't seem worth the hassle. I recommend to review commit by commit:
And I am happy to walk reviewers through the PR, if needed!
Change overview
New model classes
eclipse-csi/piaon GitHub)Eclipse CSI --> pia)OIDC auth
SBOM upload
DB integration
Misc janitorial work
Upcoming related PRs