#246 crates.io / rust2rpm integration
Closed: MIGRATED a year ago by nikromen. Opened 6 years ago by ngompa.

Now that we have a solid tool for Rust crate packaging, it'd be great if COPR could actually build crate RPMs in the same manner that we can for Python modules from PyPI or Ruby modules from RubyGems.


+1, though see https://praiskup.fedorapeople.org/Screenshot_20180124_184936.png
from #185, with the next release it should be trivial to hire rust2rpm:

1
2
3
#! /bin/sh
rust2rpm <pkgname>
spectool -g *.spec

It'd be nicer if it worked the same way the RubyGem and PyPI implementations do, and I'm not sure it's a good idea to allow custom scripts like that. Wouldn't that be a security risk?

The custom script is run on temporary VM (not shared among users).
Note that rpmbuild -bs *.spec also can execute "custom" script through
%(...) macros.. so no difference from py2rpm, etc.. Yes, you are able to
break your own build machine in copr in the worst case.

Of course it would be better to have native support for other stacks, I'm just pointing out a work-around.

I am all for native support. But first we have to resolve how to get notifications from upstram. We have support for upstream monitoring, which we prefer, but this currently emits only messages for registred projects. We are waiting for support non-registered projects, which is prommised "soon" for quite long time :(

Metadata Update from @msuchy:
- Issue tagged with: RFE

5 years ago

Metadata Update from @nikromen:
- Issue close_status updated to: MIGRATED
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata