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

Accept arguments in the review body #34

Open
farchord opened this issue Dec 13, 2023 · 6 comments
Open

Accept arguments in the review body #34

farchord opened this issue Dec 13, 2023 · 6 comments
Labels

Comments

@farchord
Copy link

One feature that would be awesome in the Fedora review service is the option to add arguments. For example:

[side-tag: f40-build-side-78580] would build against said side tag (Useful for when we are updating a software stack that isn't pushed to rawhide yet and will fail to build otherwise)

[enablerepo: local] (I don't know if this is already default behavior) Enables building against the bodhi local repo (Before a compose has occured)

There may be others that would help, those are just what I've seen could help me.

Said arguments would be taken from comment 0, and could get updated as new comments get added.

@Conan-Kudo
Copy link

This service should probably always use enablerepo: local, but it would be very nice to have a way to tell it to load a side-tag in too.

@FrostyX
Copy link
Owner

FrostyX commented Dec 17, 2023

Thank you for the RFE @farchord,

[enablerepo: local] (I don't know if this is already default behavior) Enables building against the bodhi local repo (Before a compose has occurred)

I agree with @Conan-Kudo, this should probably be done always. Can anyone see any downside of doing this?
Fedora Review Service builds the packages in Copr, so I need to know the full baseurl for the local repository. I guess that shouldn't be a blocker right?

[side-tag: f40-build-side-78580] would build against said side tag (Useful for when we are updating a software stack that isn't pushed to rawhide yet and will fail to build otherwise)

Please forgive my ignorance here, I haven't use sidetags before. The RFE should be useful for a software stack where multiple components depend on each other and all packages are in separate package reviews? I.e. the underlying dependencies are not fedora-review+ yet? I don't know how to understand the "that isn't pushed to rawhide yet".

@FrostyX FrostyX added the RFE label Dec 17, 2023
@FrostyX FrostyX changed the title [Feature Request] Accept arguments in the review body Accept arguments in the review body Dec 17, 2023
@Conan-Kudo
Copy link

Side-tags are when stacks of things are being built before being merged into the main tag. This is useful for large stack upgrades (like KDE Plasma) and often times it winds up being that new packages are mixed in with upgraded packages. This case is not currently handled by the review service properly.

@Conan-Kudo
Copy link

I agree with @Conan-Kudo, this should probably be done always. Can anyone see any downside of doing this?
Fedora Review Service builds the packages in Copr, so I need to know the full baseurl for the local repository. I guess that shouldn't be a blocker right?

This is already in the mock configs, so you would just need to expose that and turn it on.

@farchord
Copy link
Author

The way we build in a side tag is we generate a mock config with

´´´
koji mock-config —target TARGETID —arch x86_64
´´´

In the build service though, not 100% sure myself how that would work on copr.

@Conan-Kudo
Copy link

There's a URL formula for the underlying repositories Koji creates with side-tags, so the fedora-review-service can just use that formula to generate the URL for additional repositories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants