openSUSE / obs-service-tar_scm

An OBS source service: fetches code from any SCM and archives it
GNU General Public License v2.0
31 stars 105 forks source link

'exclude' behaviour change in obs_scm #457

Closed krop closed 1 year ago

krop commented 1 year ago

https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber was last updated in may 2021 and the _service file contains:

  <service name="obs_scm" mode="disabled">
    <param name="url">https://github.com/google/libphonenumber.git</param>
    <param name="scm">git</param>
    <param name="revision">v8.12.23</param>
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="versionrewrite-pattern">v(.*)</param>
    <!-- Contains binary .jars with legally questionable content -->
    <param name="exclude">*/java/*</param>
  </service>

The exclude pattern worked back then. The 'java' subfolder is empty.

With the current obs_scm version, it is not the case anymore.

krop commented 1 year ago

Now that I think about it, the current behaviour is the right one. a second exclude line is needed to exclude java/*