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

Fabio Valentini <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



--- Comment #6 from Fabio Valentini <[email protected]> ---
I would prefer if you did not use sed to patch Cargo.toml.

It makes it really hard to debug ("did this sed actually do anything?") and
makes it hard for other people to contribute to the package. Though I think
there is a mode for sed that makes it fail if the expression doesn't match any
line in the file? Using this would make this at least a bit better.

This is not a package for a "crate" so you don't necessarily need to
re-generate the spec file with rust2rpm for every version, and most Cargo.toml
patches won't affect the generated spec file. So if you make sed calls that
don't make any changes fail, I think that would be "ok" (though I would still
prefer using a patchset, similar to what we do in ruff, uv, or maturin).


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

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

-- 
_______________________________________________
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://pagure.io/fedora-infrastructure/new_issue

Reply via email to