Skip to content

VERY BREAKING: Rename data and operations schemas#353

Open
MoralCode wants to merge 30 commits into
mainfrom
rename/schema
Open

VERY BREAKING: Rename data and operations schemas#353
MoralCode wants to merge 30 commits into
mainfrom
rename/schema

Conversation

@MoralCode
Copy link
Copy Markdown
Contributor

@MoralCode MoralCode commented May 29, 2026

Description
This PR renames the two core schemas CollectOSS uses

augur_data -> data
augur_operations -> operations

This was discussed in #313

This change will be breaking for any downstream uses of the old CollectOSS schema names

The database migration included here is just an ALTER SCHEMA query and some small adjustments to existing schema comments - it is fully/losslessly reversible in case it is found to cause issues

This PR fixes #324

Notes for Reviewers
I have been testing this by running collection on my local instance, and i believe I have caught every use of the old schema names within the code and changed them.

Signed commits

  • Yes, I signed my commits.

MoralCode added 24 commits May 27, 2026 15:51
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
…tion)

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Copy link
Copy Markdown

@github-advanced-security github-advanced-security AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bandit found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Comment thread tests/test_application/test_repo_load_controller/util.py Outdated
Comment thread tests/test_workers/test_set_up_fixtures.py
Comment thread tests/test_workers/test_set_up_fixtures.py
Comment thread tests/test_workers/test_set_up_fixtures.py
Comment thread tests/test_workers/test_set_up_fixtures.py
@MoralCode MoralCode added this to the v1.1 Migration Release milestone May 29, 2026
@MoralCode MoralCode added the database Related to the unifed data model/schema label May 29, 2026
MoralCode added 2 commits May 29, 2026 11:51
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
MoralCode added 3 commits June 4, 2026 10:35
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Comment thread tests/test_application/test_repo_load_controller/util.py
@MoralCode
Copy link
Copy Markdown
Contributor Author

The tests are not fully operational for database stuff yet, so there are some undefined variable warnings i marked resolved

…t place

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

database Related to the unifed data model/schema

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename database schema names (augur_data, etc)

2 participants