WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
185163
Add REST API endpoint to list supported platforms for stored archives
https://bugs.webkit.org/show_bug.cgi?id=185163
Summary
Add REST API endpoint to list supported platforms for stored archives
Lucas Forschler
Reported
2018-05-01 08:04:04 PDT
In bisect-builds, we are currently hardcoding platform support. This should be queried dynamically, via a rest api def minified_platforms(): # FIXME: query this dynamically from API return ['mac-elcapitan', 'mac-sierra', 'mac-highsierra', 'ios-simulator-10', 'ios-simulator-11'] def unminified_platforms(): # FIXME: query this dynamically from API return ['gtk', 'ios-simulator-10', 'ios-simulator-11', 'mac-elcapitan', 'mac-sierra', 'mac-highsierra', 'win', 'wpe']
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-05-01 08:09:45 PDT
<
rdar://problem/39865908
>
Lucas Forschler
Comment 2
2018-06-28 23:03:05 PDT
I’ve added two additional dynamoDB databases to assist with this: platforms.webkit.org minified-platforms.webkit.org The lambda functions which register individual archives will now also write out the platform to these databases. They include an expirationTime (TTL) as well, and will function/expire just like the archives. We will be able to query these tables to get a list of platforms. The platform entries will expire at the same time that the archives themselves expire… this will ensure no ongoing maintenance is required as archives hit their retention time. note: i did not go back and create any entries for older platforms… these will be created only when new archives are built. This could be a problem for query previous releases that have not fallen outside our retention window.
Lucas Forschler
Comment 3
2018-06-29 12:59:37 PDT
I've added API endpoints for platforms, and minified-platforms.
https://q1tzqfy48e.execute-api.us-west-2.amazonaws.com/v2_2/minified-platforms
https://q1tzqfy48e.execute-api.us-west-2.amazonaws.com/v2_2/platforms
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug