Re: tool to order packages by build dependencies (rpmbuild-order)

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

 



On Thu, Jul 26, 2018 at 7:29 AM Jens-Ulrik Petersen <petersen@xxxxxxxxxx> wrote:
Hi,

This is an early announcement about a tool called 'rpmbuild-order' I made to sort RPM-based packages in build dependency order. I am not sure if such a tool exists already?  Certainly some tools like `mockchain` can already order builds in this way, but I don't know of such a standalone utility.


It works by reading the BRs in spec files of the packages you want to build, generating a graph of their interdependencies internally, from which it outputs the packages in a build dependency order. If you have a complete family of packages checked out, it can also output the dependencies or reverse dependency of any of the packages.

You can try it from my copr repo:

Let me know if you if it works for you or you find any problems.
I have tested it lightly a set of about 400 packages. There are probably optimization that could be made.  I feel it would be good to do mass-rebuilds for example in dependency order perhaps.

Well, the main problem would be that it's written in Haskell which makes it impossible for me to contribute ;)

So… Since I have hard times understanding code, I will just ask questions here:
* Does it use libsolv? I guess not.
* Does it handle rich dependencies? I guess not.
* How does it know Provides if package is not built yet?
* How does it handle conditions in specs?

Note that mizdebsk already had such tool for quite some time.

Also, I am planning to add this package to Fedora: before doing that I am open to suggestions for alternative names for the tool - I couldn't really think of a better one..

Cheers, Jens

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/ECWHXZHDJ5UEPTLRHGYYGN65EW7Y6GRU/
--

-Igor Gnatenko

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/VGL4GRU7YR6C4S64NO7F7BDXJ6Q5RKKP/

[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