Re: RPM dependency generator sanity check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 1, 2024 at 9:40 PM Dridi Boukelmoune
<dridi.boukelmoune@xxxxxxxxx> wrote:
>
> > > I can't say I'm proud of this hack but at least, the error message
> > > shows up to give a clue. I can finally add some error handling to my
> > > dependency generators.
> >
> > Yes, currently the exit code is ignored, and the only way to break the
> > build is to generate a line that does not parse as a valid RPM
> > dependency.
> >
> > The Rust dependency generator does something similar, and the Python
> > generator does too, AFAIK.
>
> And with that, I'm no longer feeling guilty, thanks!

And I found prior art to follow:

https://pagure.io/fedora-rust/cargo2rpm/blob/0dc93154e0cb9c27d9f255223c5b89c71259ea76/f/cargo2rpm/__main__.py#_10-18

Thanks again!
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux