Skip to content

Conversation

@sanchitram1
Copy link
Owner

@sanchitram1 sanchitram1 commented Aug 21, 2025

Integrate automatic SPDX license data fetching into the database initialization pipeline.

This ensures the licenses table is automatically populated with the latest SPDX license texts whenever the alembic service runs from a fresh start, providing up-to-date license information without manual intervention.


Open in Cursor Open in Web

PR-Codex overview

This PR introduces a new text field to the licenses table to store license content, adds a script to fetch SPDX licenses from GitHub, and updates migration scripts accordingly.

Detailed summary

  • Added a text column to the licenses table in core/models/__init__.py.
  • Created alembic/versions/20250821_2148-add_text_field_to_licenses_table.py for migration.
  • Implemented fetch_spdx_licenses.py to retrieve SPDX licenses and generate SQL statements.
  • Updated alembic/run_migrations.sh to include SPDX license fetching.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Co-authored-by: sanchitram <sanchitram@gmail.com>
@cursor
Copy link

cursor bot commented Aug 21, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

3 participants