Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
bincrafters-conventions: Check if system_requirement can be replaced with Conan package #722
I would like the enhance the bincrafters-conventions tool with a check for the recipes:
changed the title
bincrafters-conventions: Write check if specific system_requirements can be replaced with existing Conan packages
Apr 7, 2019
I did not had in mind to automate this, as it is too complex to do such a thing and doesn't justify what we get from it.
But I would implement a search for specific, hard-coded packages if we do have Conan packages for them and users will get a notice that they should probably replace the system_requirement with a Conan requirement.
Workflow for adding new ones to the list could be:
It's too annoying that when a package has system_requirements that we would need to go through all them manually and look if we have a Conan package for them.
And not replacing them is also not nice.
I totally agree and I think it's possible to filter by package name.
I don't have a good how to filter the correct package name. For example, we could install libasound-dev, but our Conan package is alsa. Maybe we could filter by name or even creating a table with most common names.