Hello,
Am Donnerstag, 22. Dezember 2011 schrieb Marcus Hüwe:
On 2011-12-21 23:20:17 +0100, Christian Boltz wrote:
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 ;-)
What about: curl -u username -X POST \ -d "$(echo -e 'Name: x\nBuildRequires: your_package(s)')" \
https://api.opensuse.org/build/openSUSE:Factory/standard/x86_64/_repository/...
Nice solution, but...
If your_package(s) or one of its/their Requires don't exist you'll get an unresolvable error.
... unfortunately exactly this is the problem. If someone wants to check the dependencies before submitting a new package to factory, the package does not yet exist there. This results in <error>unresolvable: nothing provides your_package</error>
In other words: It must be possible to add (only) your_package from $develproject to the dependency check somehow...
Basically we need something like BuildRequires: your_package from_repo: $develproject (Yes, I know that this isn't valid spec file syntax, but you should get the point.)
BTW: How is this check done for SRs to Factory? I'd guess there's nobody who does it manually, right? ;-)
Regards,
Christian Boltz