Do not publish source packages, publish only binary packages
Hi, I am running a private instance of open build service. All is working really well. Is there a setting or a workaround that removes the source package from the repository (public facing)? best, Dilawar
On Dienstag, 4. April 2023, 06:53:59 CEST Dilawar Singh wrote:
Hi,
I am running a private instance of open build service. All is working really well. Is there a setting or a workaround that removes the source package from the repository (public facing)?
You can use the PublishFilter: *src.rpm https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.prjconfig.h... -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
On Apr 04 2023, Adrian Schröter wrote:
On Dienstag, 4. April 2023, 06:53:59 CEST Dilawar Singh wrote:
Hi,
I am running a private instance of open build service. All is working really well. Is there a setting or a workaround that removes the source package from the repository (public facing)?
You can use the
PublishFilter: *src.rpm
It's documented to take a regexp, so that should be: PublishFilter: \.src\.rpm$ -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
On Dienstag, 4. April 2023, 11:15:18 CEST Andreas Schwab wrote:
On Apr 04 2023, Adrian Schröter wrote:
On Dienstag, 4. April 2023, 06:53:59 CEST Dilawar Singh wrote:
Hi,
I am running a private instance of open build service. All is working really well. Is there a setting or a workaround that removes the source package from the repository (public facing)?
You can use the
PublishFilter: *src.rpm
It's documented to take a regexp, so that should be:
PublishFilter: \.src\.rpm$
yes, that is a more exact regexp then mine (sorry, wrote out of my head) -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
On Dienstag, 4. April 2023, 11:16:15 CEST Adrian Schröter wrote:
On Dienstag, 4. April 2023, 11:15:18 CEST Andreas Schwab wrote:
On Apr 04 2023, Adrian Schröter wrote:
On Dienstag, 4. April 2023, 06:53:59 CEST Dilawar Singh wrote:
Hi,
I am running a private instance of open build service. All is working really well. Is there a setting or a workaround that removes the source package from the repository (public facing)?
You can use the
PublishFilter: *src.rpm
It's documented to take a regexp, so that should be:
PublishFilter: \.src\.rpm$
yes, that is a more exact regexp then mine (sorry, wrote out of my head)
well, PublishFilter: src\.rpm$ would also catch possible nosrc.rpm packages -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
Thanks, Adrian, This worked. Sorry for taking so long to respond. best, Dilawar On Tue, Apr 4, 2023 at 2:46 PM Adrian Schröter <adrian@suse.de> wrote:
On Dienstag, 4. April 2023, 11:16:15 CEST Adrian Schröter wrote:
On Dienstag, 4. April 2023, 11:15:18 CEST Andreas Schwab wrote:
On Apr 04 2023, Adrian Schröter wrote:
On Dienstag, 4. April 2023, 06:53:59 CEST Dilawar Singh wrote:
Hi,
I am running a private instance of open build service. All is working really well. Is there a setting or a workaround that removes the source package from the repository (public facing)?
You can use the
PublishFilter: *src.rpm
It's documented to take a regexp, so that should be:
PublishFilter: \.src\.rpm$
yes, that is a more exact regexp then mine (sorry, wrote out of my head)
well,
PublishFilter: src\.rpm$
would also catch possible nosrc.rpm packages
--
Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager
SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
participants (3)
-
Adrian Schröter
-
Andreas Schwab
-
Dilawar Singh