Skip to content
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

Support more filters (API) #126

Closed
11 of 17 tasks
moul opened this issue Apr 29, 2020 · 7 comments
Closed
11 of 17 tasks

Support more filters (API) #126

moul opened this issue Apr 29, 2020 · 7 comments
Assignees
Labels

Comments

@moul
Copy link
Member

moul commented Apr 29, 2020

  • artifact_kinds=...
  • build_id=...
  • build_driver=...
  • project_id=...
  • mergerequest_author_id=...
  • artifact_id=...
  • mergerequest_state=...
  • build_state=...
  • mergerequest_id=...
  • with_artifacts=1
  • with_mergerequest=1
  • artifact_driver=...
  • branch_name=...
  • artifact_state=...
  • job_name=
  • merged VS PR VS other
  • job_id=

also support the <none> or <other> for enums

@moul moul added the api label Apr 29, 2020
This was referenced Apr 29, 2020
@moul moul self-assigned this Apr 29, 2020
@moul
Copy link
Member Author

moul commented Apr 29, 2020

Starting a list of "interesting" (at least for debug) views:

@moul
Copy link
Member Author

moul commented Apr 29, 2020

@moul moul added this to To do in Yolo's Kanban Apr 30, 2020
@moul moul moved this from To do to Triage in Yolo's Kanban May 4, 2020
@ekelen
Copy link
Collaborator

ekelen commented May 15, 2020

Is there a reason ?artifact_id=xyz returns the entire build + all of its artifacts? (e.g. curl -u $AUTH "https://yolo.berty.io/api/build-list?artifact_id=buildkite_86a373f48077362ead7782285262b86f" | jq

@moul
Copy link
Member Author

moul commented May 15, 2020

yep, build-list returns builds, and except for the "filter the artifact kinds" which is clearly an "I dont care about other types", filtering by artifact ID, can just be that you know an artifact and want to see the other ones for that build

if you don't want it from the front, feel free to filter it from the front :)

@ekelen
Copy link
Collaborator

ekelen commented May 18, 2020

Filtering by project would be cool, because right now if you have this combination selected, you will also see Chat builds:

image

Conversely, this selection will only display gombile-ipfs builds:

image

(Alternatively, for now I can send the project_id (url) as part of the query programmatically even if it will look a bit strange in the URL bar – is there any reason not to do this?)

@moul
Copy link
Member Author

moul commented May 19, 2020

Filtering by project would be cool, because right now if you have this combination selected, you will also see Chat builds:

cannot be done right now, ultra-low priority to address this advanced case, if really you don't like this case, remove the build drivers section from this form until we have "per project" filters :)

@moul moul mentioned this issue Oct 1, 2020
84 tasks
@moul
Copy link
Member Author

moul commented Oct 1, 2020

moved to #2

@moul moul closed this as completed Oct 1, 2020
Yolo's Kanban automation moved this from Triage to Done Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Yolo's Kanban
  
Done
Development

No branches or pull requests

2 participants