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

[backend] add a POST method for sourceinfo #17105

Merged
merged 6 commits into from
Nov 25, 2024
Merged

Conversation

mlschroe
Copy link
Member

This allows the user to pass a recipe file or a cpio archive with files of the package.

jsc#OBS-352

@github-actions github-actions bot added the Backend Things regarding the OBS backend label Nov 13, 2024
@github-actions github-actions bot added Documentation 📖 Things regarding our documentation Frontend Things related to the OBS RoR app labels Nov 25, 2024
Use the new recipe parser from the BuildInfo module, add a
getbuildinfo_post_common function instead of calling
getbuildinfo_post with a patched cgi hash.
This allows the user to pass a recipe file or a cpio archive
with files of the package.

jsc#OBS-352
Also move the _service file parsing into the sourceinfo_parse()
function.
No need to hop through the Digest module.
This is similar to what we do for Docker/Kiwi.

This commit also improves the patchinfo detection, as we do
not have package information for locked patchinfos. So we
just check if there is an "updateinfo.xml" in the bininfo
of the packages.
@mlschroe mlschroe force-pushed the master branch 2 times, most recently from 56fdffa to 7d585cd Compare November 25, 2024 12:37
@mlschroe mlschroe merged commit f40e81b into openSUSE:master Nov 25, 2024
22 checks passed
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 Documentation 📖 Things regarding our documentation Frontend Things related to the OBS RoR app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant