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

Retrieve products and areas directly from Radar #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tonyarnold
Copy link

I'm not sure if this PR is actually useful, but I had a bit of a poke at dynamically retrieving the product/area list from Radar directly so that issues like #40 can be avoided in future.

I found that (as long as you have a valid token), calling https://bugreport.apple.com/developerUI/problem/getProductAreaList will get you a JSON list of products and their areas, so I added Decodable conformance to the relevant model structs and away we go!

@keith
Copy link
Member

keith commented Sep 19, 2018

A while ago I did start working on a separate CLI that would generate that swift file https://github.com/br1sk/Sonar/tree/ks/genit

This is probably nicer long term. This recent API change is worst case scenario, they've never changed the format of this this drastically before

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