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

Add multibuild support to lastsuccess call #3026

Closed
nilxam opened this Issue Apr 24, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@nilxam
Copy link
Contributor

nilxam commented Apr 24, 2017

Issue/Feature description

repochecker bot is rely on lastsuccess call[1] heavily, in order to support multbuild into repochecker, we need lastsuccess able to process multbuild package. Currently passing PACKAGE_NAME:FLAVOR as package parameter does not work.

osc api "/build/system:install:head/_result?lastsuccess&package=installation-images:openSUSE&pathproject=openSUSE:Factory&srcmd5=ca76a1a9ecc243ca7ba2ae9d1cdfa0d9"
Server returned an error: HTTP Error 404: Not Found
system:install:head/installation-images:openSUSE

[1] https://github.com/openSUSE/osc-plugin-factory/blob/master/osclib/checkrepo.py#L302

Expected result

lastsuccess call able to support multibuild result. either

  1. feed package=PACKAGE_NAME:FLAVOR does work for multibuild package, or
  2. package=PACKAGE_NAME&multbuild=1 can given all multibuild result.

How to Reproduce

osc api "/build/system:install:head/_result?lastsuccess&package=installation-images:openSUSE&pathproject=openSUSE:Factory&srcmd5=ca76a1a9ecc243ca7ba2ae9d1cdfa0d9"
Server returned an error: HTTP Error 404: Not Found
system:install:head/installation-images:openSUSE

bgeuken added a commit to bgeuken/open-build-service that referenced this issue May 11, 2017

[api] Handle multibuilds in API call to _result
Fixes openSUSE#3026

In case of multibuilds we need to fetch the sources of the package
container, but the build results of the queried multibuild package.
This commit should do the trick.

Kudos to Michael for pointing me towards the right direction.

bgeuken added a commit to bgeuken/open-build-service that referenced this issue May 11, 2017

[api] Handle multibuilds in API call to _result
Fixes openSUSE#3026

In case of multibuilds we need to fetch the sources of the package
container, but the build results of the queried multibuild package.
This commit should do the trick.

Kudos to Michael for pointing me towards the right direction.

bgeuken added a commit to bgeuken/open-build-service that referenced this issue May 11, 2017

[api] Handle multibuilds in API call to _result
Fixes openSUSE#3026

In case of multibuilds we need to fetch the sources of the package
container, but the build results of the queried multibuild package.
This commit should do the trick.

Kudos to Michael for pointing me towards the right direction.

bgeuken added a commit to bgeuken/open-build-service that referenced this issue May 11, 2017

[api] Handle multibuilds in API call to _result
Fixes openSUSE#3026

In case of multibuilds we need to fetch the sources of the package
container, but the build results of the queried multibuild package.
This commit should do the trick.

Kudos to Michael for pointing me towards the right direction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment