New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osc rq list "--exclude-target-project" not honored by API #5571
Comments
BTW: any chance osc could stop querying submit/* ? Requests don't use this since 2009 |
@coolo what is the correct path? |
action/* is the only thing that will find something - submit/* is just ignored, but makes the xpath harder to read |
So this is the simplified xpath:
and still fails |
Sorry @name :) |
@lethliel this should work:
The problem with the Edit: functions should also work, I will look into it! But as said, |
The produced query condition produced did not negate the query and queried for a true condition. Fix openSUSE#5571
The produced query condition produced did not negate the query and queried for a true condition. Fix openSUSE#5571
Now that the bug related to openSUSE/open-build-service#5571 has been fixed the inverted behavior of exclude_target_projects no longer works. As such the argument should be removed and only way to get the desired behavior is to override include_request_from_project which includes request sourced from specific project. For the purposes of metrics only interested in requests targeting a specific project.
…arch. Now that the bug related to openSUSE/open-build-service#5571 has been fixed the inverted behavior of exclude_target_projects no longer works. As such the argument should be removed and only way to get the desired behavior is to override include_request_from_project which includes request sourced from specific project. For the purposes of `devel-projects requests` only interested in requests targeting a specific project. See also commit 0b342a5.
Issue Description
osc rq list GNOME:Next gnome-calendar --exclude-target-project=GNOME:Next
lists a submit request which target-project is GNOME:Next
So API seems to not understand the xpath correctly.
Expected Result
No submit request should be shown
How to Reproduce
Issue the command
osc rq list GNOME:Next gnome-calendar --exclude-target-project=GNOME:Next
You will se sr #491700 which has the target project GNOME:Next
Further Information
Human readable xpath:
The text was updated successfully, but these errors were encountered: