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

dyvukov refactor api #5394

Merged
merged 6 commits into from
Oct 15, 2024
Merged

dyvukov refactor api #5394

merged 6 commits into from
Oct 15, 2024

Conversation

dvyukov
Copy link
Collaborator

@dvyukov dvyukov commented Oct 11, 2024

  • dashboard/api: add package
  • tools/syz-reprolist: use official API structs
  • dashboard/app: rename test file
  • dashboard/api: add Client type
  • tools/syz-reprolist: switch to dashboard/api.Client

@dvyukov
Copy link
Collaborator Author

dvyukov commented Oct 11, 2024

I wanted to do some analysis on fixed bugs, need this in reusable form.

Move JSON API structs to a separate package.
These definitions are also needed by tools that consume the API.
Use the official API structs to avoid duplication,
prevent future bugs, and improve consistency (same field names).
dashboard/api/api.go Outdated Show resolved Hide resolved
dashboard/api/client.go Outdated Show resolved Hide resolved
dashboard/api/client.go Outdated Show resolved Hide resolved
tarasmadan
tarasmadan previously approved these changes Oct 14, 2024
@dvyukov dvyukov added this pull request to the merge queue Oct 15, 2024
Merged via the queue into google:master with commit 14943bb Oct 15, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants