On Thu, May 13, 2021 at 03:05:29PM +0100, Richard W.M. Jones wrote:
Anyway the packager points me to the guidelines:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/
and with a strict reading of them, it does indeed seem that
"rust-sevctl" is the required name (since the package is a "crate").
But it's not a library, so this seems ... unnecessary? We have plenty
of programs written in C which aren't called c-foo.
I think that section is pretty unclear for this case. The Python naming
guidelines explicitly say "This rule does not apply to applications." and
maybe there should be something similar here? I know people are excited
about Rust in particular right now (I certainly enjoy it!), but naming
end-user things by the language they are written in is a bad pattern.
(createrepo_c, I'm lookin' at you!)
Maybe one approach here would be for the source RPM to stay with the
`rust-sevctl` convention, but for a subpackage containing the application
binary to be just `sevctl`?
--
Matthew Miller
<mattdm(a)fedoraproject.org>
Fedora Project Leader