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

Re-organize staging projects XML results #8687

Merged
merged 1 commit into from
Nov 9, 2019

Conversation

saraycp
Copy link
Contributor

@saraycp saraycp commented Nov 8, 2019

The "requests_to_review" group has been removed, it contains redundant data.

Untracked requests, obsolete requests and missing reviews have been moved from "status" scope to "requests" scope. So they are shown when retrieving staging projects via API with 'requests=1' and not with 'status=1'.

Related tests and API doc has been updated.

Fixes: #8684

How to test?

osc api -X GET '/staging/<project>/staging_projects/<staging_project>?requests=1'

osc api -X GET '/staging/<project>/staging_projects/<staging_project>?status=1'

The "requests_to_review" group has been removed, it contains redundant
data.

Untracked requests, obsolete requests and missing reviews have been
moved from "status" scope to "requests" scope. So they are shown
when retrieving staging projects via API with 'requests=1' and not
with 'status=1'.

Related tests and API doc has been updated.
@saraycp saraycp added Frontend Things related to the OBS RoR app staging-workflow Things related to the staging workflow feature labels Nov 8, 2019
@saraycp
Copy link
Contributor Author

saraycp commented Nov 8, 2019

Untracked requests, obsolete requests and missing reviews have been moved from "status" scope to "requests" scope.

After a short discussion with @coolo about this, it seems also a good idea to re-organize the webui view. Untracked requests, obsolete requests and missing reviews shouldn't be part of the Status section. I opened an issue for this: #8688

@coolo
Copy link
Member

coolo commented Nov 9, 2019

CI is green but somehow misreported: https://circleci.com/workflow-run/4759b77e-80e7-4047-ad92-046553dd9271

@coolo coolo merged commit 17dd247 into openSUSE:master Nov 9, 2019
@dmarcoux dmarcoux mentioned this pull request Nov 11, 2019
@saraycp saraycp deleted the all_requests_together branch November 11, 2019 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app staging-workflow Things related to the staging workflow feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Staging project API lists all requests as 'to review'
4 participants