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

pcheck: fix creation of submit requests #3171

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DimStar77
Copy link
Contributor

@DimStar77 DimStar77 commented Oct 3, 2024

Use the proper API calls <request><action type="submit">… instead of
the no longer working <request type="submit">…

Use the proper API calls <request><action type="submit">… instead of
the no longer working <request type="submit">…
@DimStar77
Copy link
Contributor Author

DimStar77 commented Oct 3, 2024

The existing code resulted in :

> osc pcheck --push -m "Scripted push of GNOME 47" GNOME:Factory
Creating a request from GNOME:Factory/accerciser
Server returned an error: HTTP Error 400: Bad Request
request validation error: 1:0: ERROR: Expecting an element action, got nothing
1:0: ERROR: Invalid sequence in interleave
1:0: ERROR: Element request failed to validate content

Most likely a result of openSUSE/open-build-service#16886

Copy link
Member

@Vogtinator Vogtinator left a comment

Choose a reason for hiding this comment

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

There's also osc.core.create_submit_request which essentially replaces all of oscapi.create

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.

2 participants