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

Published binary search for debian based packages has arch as incorrect #7810

Open
plusky opened this issue Jun 25, 2019 · 0 comments
Open
Labels
Backend Things regarding the OBS backend

Comments

@plusky
Copy link

plusky commented Jun 25, 2019

Issue Description

When handling debian based maintenance incidents, we encountered following issue - we are not able to detect name of source rpm. We (in SUSE QAM) are doing something along:

osc --apiurl $bsapi{$issuer} api \"/search/published/binary/id?match=project='$issuer%3AMaintenance%3A$issue'&limit=0\" > $outputd/packages.xml

To get xml that contains list of packages and their architectures. As already stated above, for debian maintenance incidents (for SUMA updates), xml looks like:

<collection matches="9">
<binary name="salt-api" project="SUSE:Maintenance:11254" package="patchinfo" repository="SUSE_Ubuntu-18.04_Update" version="2019.2.0+ds" release="1" arch="all" filename="salt-api_2019.2.0+ds-1_all.deb" filepath="SUSE:/Maintenance:/11254/SUSE_Ubuntu-18.04_Update/all/salt-api_2019.2.0+ds-1_all.deb" baseproject="openSUSE.org:Ubuntu:18.04" type="deb"/>

Expected Result

arch=real arch of package (i.e src, noarch ...)

How to Reproduce

See describtion above

Further Information

@hennevogel hennevogel added the Backend Things regarding the OBS backend label Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Things regarding the OBS backend
Projects
None yet
Development

No branches or pull requests

2 participants