Do not publish source packages, publish only binary packages
![](https://seccdn.libravatar.org/avatar/21d85f7e6cdf3cb17d7c279b2e288282.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/833649deea07c68de42500ad14c257f6.jpg?s=120&d=mm&r=g)
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."
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/21d85f7e6cdf3cb17d7c279b2e288282.jpg?s=120&d=mm&r=g)
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: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
On Dienstag, 4. April 2023, 11:16:15 CEST Adrian Schröter wrote: 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