Closed Bug 1166058 Opened 6 years ago Closed 2 months ago
Automatically upload PCI database
53 bytes, text/x-github-pull-request
|Details | Review|
At the moment, the process is as follows: 1. Go to http://www.pcidatabase.com/reports.php?type=tab-delimeted 2. Download that page as a .csv file 3. Go to https://crash-stats.mozilla.com/admin/graphics-devices/ 4. Upload the downloaded CSV file All of this ought to be automated with cron.
Turns out this site https://pci-ids.ucw.cz/ has a much larger CSV file available. https://pci-ids.ucw.cz/v2.2/pci.ids has 27,112 lines in it where as http://www.pcidatabase.com/reports.php?type=tab-delimeted only has 9,480 lines. Perhaps we ought to look at what's in one and not in the other. Also, the .cz site versions their download URLs so we'd need to scrape the homepage for the link to the latest pci.ids URL.
Note! See the See Also bug.
(In reply to Peter Bengtsson [:peterbe] from comment #0) > 1. Go to http://www.pcidatabase.com/reports.php?type=tab-delimeted When using pcidatabase.com, you really should use http://www.pcidatabase.com/reports.php?type=csv instead.
Cool! I didn't know about that option. However, the advantage we having written the code for tab-delimitation is that the code is now (hopefully) going to work for that larger pci-ids.ucw.cz format.
I've talked to one of the maintainers of https://pci-ids.ucw.cz/ The version number in https://pci-ids.ucw.cz/v2.2/pci.ids isn't a version number of the content. It's an indication of the version of the format of the file. Apparently they update the file every night but only if the file is different. For example, today is May 19 and the last time the file was updated as May 13.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Priority: -- → P2
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.