packit icon indicating copy to clipboard operation
packit copied to clipboard

Add the ability to configure additional repos for SRPM builds

Open tasleson opened this issue 11 months ago • 2 comments

Description

It would be great if we had the ability to specify additional repositories for SRPM build. In my particular case, I'm needing to include a copr repository for SRPM build.

Benefit

I believe this would be beneficial to any users that are trying to develop/leverage features for upstream projects before the functionality is readily available in packages in the standard repositories.

Importance

At the moment the lack of this functionality is preventing me from building packages during CI integration package builds, but this will resolve when the functionality I need ends up being packaged in the official repo. channels.

Workaround

  • [ ] There is an existing workaround that can be used until this feature is implemented.

Participation

  • [ ] I am willing to submit a pull request for this issue. (Packit team is happy to help!)

tasleson avatar Mar 11 '24 22:03 tasleson

Hi @tasleson !

This makes a lot of sense. This could bring more opportunities to SRPM environment.

Regarding the implementation, do you think we should reuse additional_repos and use this both for RPM and SRPM build or have a separate option for each?

lachmanfrantisek avatar Mar 13 '24 08:03 lachmanfrantisek

Regarding the implementation, do you think we should reuse additional_repos and use this both for RPM and SRPM build or have a separate option for each?

My initial thinking when I encountered the option was that it applied to both. At the moment I'm not thinking one would need a separate option for both.

tasleson avatar Mar 13 '24 13:03 tasleson