Skip to content
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

Save the progress of propose-downstream in database and make it available via API #1292

Closed
3 tasks
Tracked by #1082
lachmanfrantisek opened this issue Nov 24, 2021 · 2 comments · Fixed by #1337
Closed
3 tasks
Tracked by #1082
Assignees
Labels
API Related to the API of the packit-service. area/database Related to the Packit's database area/fedora Related to Fedora ecosystem dashboard Needed for dashboard.

Comments

@lachmanfrantisek
Copy link
Member

lachmanfrantisek commented Nov 24, 2021

To be able to show the progress of the propose-downstream job, we need to save it to the database and provide it via service API to show it on our dashboard (packit/dashboard#155).

Tasks:

  • Suggest a change of the database schema (with the info we want to save), discuss with the team, update models and prepare migration.
  • Save the progress during the process of propose-downstream (there can be multiple states we want to track).
  • Provide an API endpoint for the propose-downstream jobs.
@lachmanfrantisek lachmanfrantisek added area/database Related to the Packit's database API Related to the API of the packit-service. dashboard Needed for dashboard. area/fedora Related to Fedora ecosystem labels Nov 24, 2021
@stale
Copy link

stale bot commented Mar 2, 2022

This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.

Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.

This is done in order to ensure that open issues are still relevant.

Thank you for your contribution! 🦄 🚀 🤖

(Note: issues labeled with pinned or EPIC are
never marked as stale.)

@stale stale bot added the stale Is the issue still valid? label Mar 2, 2022
@nikromen

This comment was marked as off-topic.

@stale stale bot removed the stale Is the issue still valid? label Mar 2, 2022
softwarefactory-project-zuul bot added a commit that referenced this issue Mar 3, 2022
Save progress of propose-downstream and make it available via API

TODO:

 suggest a change of database and discuss within the team
 update models
 prepare migration
 save the progress during propose-downstream
 provide an API endpoint
 test models
 test api



Fixes #1292


TODO

Reviewed-by: Tomas Tomecek <tomas@tomecek.net>
Reviewed-by: Laura Barcziová <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Related to the API of the packit-service. area/database Related to the Packit's database area/fedora Related to Fedora ecosystem dashboard Needed for dashboard.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants