Re: F29 System Wide Change: Move /usr/bin/python into a separate package

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

 



On 05/24/18 18:53, Randy Barlow wrote:
On 05/24/2018 12:45 PM, Jason L Tibbitts III wrote:
Could you fill us in a bit?  The only thing I know about resultsdb is
that there is a thing called resultsdb.  I went to
https://taskotron.fedoraproject.org/resultsdb/results but I have no idea
how to find, say, all packages which call /usr/bin/python at build time.
A naïve search for /usr/bin/python didn't turn anything up.

Well I didn't say it was easy to do, but there is a test that tasktotron
runs on our packages called dist.python-versions.executables that I
*think* is the one responsible for failing packages that still use
/usr/bin/python. This URL can show results for that particular test:

https://taskotron.fedoraproject.org/resultsdb/results?testcases=dist.python-versions.executables

Another test seems to notice if the package uses /usr/bin/python during
build:

https://taskotron.fedoraproject.org/resultsdb/results?testcases=dist.python-versions.python_usage

So we could look through these to find packages that fail. Of course, a
downside to this approach is that there will only be data for packages
that have been built since these tests existed, so unmaintained packages
might not appear in these results even though they could have problems.
So maybe it's not actually a great way to know the answer to the
question now that I think about it more. Well, except that we did try to
build all packages during the mass rebuild, but then again, many of them
failed to build and still haven't been rebuilt...

That's actually our earlier attempt at solving this problem! :)
It's moderately useful, but it does have its shortcomings:
- It works by grepping the logs, so anything that hides stderr isn't detected - It keeps /usr/bin/python available, so config tools that check whether /usr/bin/python *exists* get the wrong view of their environment. - It's not easy to get a package list out of resultsdb (which is probably just a solvable UI problem)
_______________________________________________
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/BPK7SG666PQLURJCQ2JEC4ZG3ZRQCZVR/




[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