Hello, I am having an issue with multiple PublishFilter statements in openSUSE Leap 42.1 maintenacne. The openSUSE 42.1 release is exclusive to x86_64 (not taking into account ports). Hence in openSUSE:Leap:42.1:Update we do not publish i586 updates, despite them being built internally: $ osc meta prjconf openSUSE:Leap:42.1:Update
# we do not want to release the i586 rpms PublishFilter: .*\.i[5-6]86\.rpm
Via SLE maintenance we inherited a package that now builds a s390x.rpm: osc rdiff openSUSE:Leap:42.1/syslinux openSUSE:Leap:42.1:Update/syslinux.4742 The published s390x package caused an issue to at least one user: boo#987301 - syslinux package for s390 in repository for openSUSE Leap 42.1 x86_64 Opdate-oss https://bugzilla.opensuse.org/show_bug.cgi?id=987301 I attempted to add a second PublishFilter directive to the config:
PublishFilter: .*\.i[5-6]86\.rpm PublishFilter: .*\.s390x\.rpm
However the observed behavior with the above was that i586 and i686 were
published, as reported by some user's rsync jobs going wild, while the
single s390x package is filtered. It would appear that two negative
PublishFilter rules overwrite one another.
I am looking for a configuration where i586/i686 and s390x is filtered
correctly, or an implementation in obs code if this behavior is
unintended or undefined.
Thanks,
Andreas
--
Andreas Stieger