On Wednesday 21 December 2011, Christian Boltz wrote:
Hello,
Am Mittwoch, 21. Dezember 2011 schrieb Greg Freemyer:
More than once I have submitted something to factory that didn't have all the requires and buildrequires pieces already there.
Is there a simple test I can run on the package to verify that before I submit a new package?
In this specific case, I want to submit security -- log2timeline.
Create a simple spec with BuildRequires: log2timeline
If you want to be really sure, create a new (sub)project where you a) osc linkpac $project log2timeline b) create a test package with just BuildRequires: log2timeline
If someone knows if/how this can be done in an automated way [1], please speak up ;-)
Would be nice if this could be done without creating a new (temporary) project on server. Probably this should be _searched_ on OBS server.
Something like this:
osc search --capability CAPABILITY - list all projects and/or packages providing CAPABILITY
osc search --deps [--requires | --build-requires] spec-file - list all projects and/or packages providing deps of given spec file
Options: --pwd list only build enabled projects of current checkout -n, --not invert search
OBS is able to parse and higlight missing deps quickly when a package build fails. Maybe this method could be used to implement such search functionality.
cu, Rudi