https://bugzilla.redhat.com/show_bug.cgi?id=2453339



--- Comment #10 from Ben Beasley <[email protected]> ---
Parag, are you still working on a project that would need these Rust crate
libraries (font-types and font-test-data), and is there anything you need help
or advice with?

As you probably know, RPM-packaged Rust crate libraries in Fedora are
source-only packages that are (for various reasons) really only useful for
building packaged applications (and shared libraries, and other binaries) that
use them, not for end users doing Rust development. There is no rule against
maintaining Rust library packages for their own sake, but it’s generally not
useful work unless you’re building toward using them to build a binary. I know
that there are several other crates developed in
https://github.com/googlefonts/fontations, and some of them are dependencies
for interesting things, but I’m not sure exactly what your end goal is. Again,
let me know if you’re having trouble with anything and I’m happy to answer
questions or take a look.

I’d also like to mention that the commit messages on these packages look a bit
unusual, e.g.
https://src.fedoraproject.org/rpms/rust-font-types/commits/rawhide. Almost
every commit has the message “local build,” which isn’t meaningful or
particuarly accurate, and with rpmautospec/%autochangelog these “local build”
entries also make it into the RPM changelog. If this indicates that you’re
using some kind of scripting or automation to manage these packages, it seems
like it could use improvement and/or more thorough human review.

It’s also worth mentioning that groups of Rust crates maintained together like
this may have dependencies on particular patch releases of each other, and that
upgrades across SemVer boundaries (e.g. 0.11.x→0.12.x) are incompatible and
need to be coordinated with reverse dependencies, either by updating and/or
patching everything together or (when that isn’t possible) by introducing
compat packages. In either case, these kinds of coordinated updates are best
done in side tags,
https://docs.fedoraproject.org/en-US/package-maintainers/Package_Update_Guide/#multiple_packages.
We *do* have permanent exceptions to the Updates Policy for incompatible Rust
library updates in Fedora stable branches and EPEL leading branches, so these
kinds of updates are fine, they just need to be coordinated.

Finally, we have a practice in the Rust SIG of trying to keep versions of Rust
library crates aligned across all Fedora branches, which is possible because of
the Updates-Policy exception mentioned above and justified by the fact that
these packages aren’t targeted at end users, so as long as they are coordinated
with the application packages that use them, nothing is broken from a user
perspective. So when we update a crate in Rawhide, we try to update it
everywhere else as well unless there is some concrete reason not to. This
simplifies crate library maintenance across Fedora because we mostly don’t have
to deal with a unique set of dependency issues for each branch.

For analyzing Rust dependency relationships, you can use the script
“cratedeps,” which is (after a long period of incubation) now included with
rust2rpm.

Please let me know if anything here is unclear, or if you are having any
particular difficulties with your Rust+font packaging goals.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2453339

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202453339%23c10

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to