Firstyear / obs-service-cargo

OBS Source Service and utilities for Rust software packaging
Mozilla Public License 2.0
16 stars 9 forks source link

Following the readme doesn't work #6

Closed cryptomilk closed 3 years ago

cryptomilk commented 4 years ago

I've followed the README:

$ ls
_service  rav1e-0.1.0.tar.gz  rav1e.changes  rav1e.spec
$ cat _service 
<services>
  <service name="cargo_vendor" mode="disabled">
    <tar compression="gz" />
  </service>
</services>
$ osc service disabledrun
ERROR:obs-service-cargo_vendor:The specified compression mode is not supported: "None"
Aborting: service call failed:  /usr/lib/obs/service/cargo_vendor --outdir /home/asn/workspace/package/obs/home:gladiac/rav1e/tmpbpf3opmv.cargo_vendor.service
zzndb commented 4 years ago

Just follow cargo_vendor.service use https://github.com/openSUSE/obs-service-cargo_vendor/blob/92c72b14951e4849e33599aea58b087757b57b92/cargo_vendor.service#L14

Firstyear commented 3 years ago

The readme has been updated, as has https://en.opensuse.org/Packaging_Rust_Software so I think we can close this.