-
Notifications
You must be signed in to change notification settings - Fork 20
WIP: Feat: new tree view #1562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
WIP: Feat: new tree view #1562
Conversation
a07b7e7 to
de536f8
Compare
This will be handy for checking which objects to update in the denormalized tables
de536f8 to
dc4f725
Compare
| git_repository_branch, | ||
| git_commit_hash, | ||
| git_commit_name, | ||
| git_commit_tags, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't be more 1:1 to the frontend? like, only one commit tag instead of an array
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm basing off of the treeView response, which returns the tags as an array (btw a list[list[str]] which I think is a mistake), and the frontend is the one to only select the first one I think
Changes
How to test
backend/kernelCI_app/management/commands/tmp_submissions(you can change the path, just update the command below)/backend/volume_dataas a result of thetreeproofcommand. If you are feeling lazy and you don't want to run the command, there's an example file here (Google Drive link)USE_DASHBOARD_DB=Truepoetry run python3 ./manage.py monitor_submissions --spool-dir kernelCI_app/management/commands/tmp_submissions --trees-file volume_data/trees-name.yaml(being in the/backenddirectory, update the paths if necessary)You can also test the ingester on docker, make sure the environment variables are on
.env.backendand usedocker compose run --rm backendbefore running the command shown above.Closes #1558