Open madebr opened 3 years ago
Using magic regex'es, it is possible to extract the (build) requirements of recipes.
For simple recipes I guess it's possible, though some of them have dynamic dependencies (depending on options)
If you run in an overuse of the github actions
Can you ? For now it just runs with the highest level of parallelism possible, Github seem very generous x)
I wrote something to extract them using the ast. It is not beautiful code. I'm looking into alternative ways to extract them.
conan-cci-tree.zip I wrote the module initially to generate a build order to completely rebuild conan-center-index from scratch. That is useful to bring up new compilers/archs/os'es.
It won't extract versions such as libuv in https://github.com/conan-io/conan-center-index/pull/3640
for reference, we already have an existing tool updating references: https://github.com/bincrafters/bincrafters-conventions It already runs automatically on branches on https://github.com/bincrafters/conan-center-index
I'm a not entirely convinced about automatically updating dependencies:
Using magic regex'es, it is possible to extract the (build) requirements of recipes. I think it would be nice to, as is currently done with updating the versions, also create a branch with updated dependencies.
If you run in an overuse of the github actions, I think it's ok to not test whether a certain dependency bump is valid.