Re: Call for testers for rpmautospec in staging

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

 



On 14. 04. 20 13:39, Nils Philippsen wrote:
So, to make this more robust against problems like you described, we
should decouple what's run in the build root from a specific minor
version of Python and the rpm Python package (and remove the
superfluous Koji dependency). This shouldn't be much work, the biggest
piece is probably to make it get by without using the rpm Python
package (for comparing EVRs and to expand macros), but a tiny ctypes
wrapper around rpmlib should solve this for us.

Or even running `rpmdev-vercmp` and `rpm --eval` with subprocess:

Inspiration: https://github.com/hroncok/mini-mass-rebuild/blob/9759e77/obsolete_packages.py#L40-L52

And: https://github.com/fedora-python/pyp2rpm/blob/33ab6c0c/pyp2rpm/utils.py#L152-L162

To me, that's good enough. Porting the pieces that have to run inside
the build root to e.g. shell really wouldn't make them more robust, but
just change one dependency which may not break for another.

Sure. Running on Python (stdlib only) is good enough.

Thanks for the update, I really like where this is going.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
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




[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