-
Notifications
You must be signed in to change notification settings - Fork 0
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
RFC use JSON files from downloads.openwrt.org #2
Comments
As the URL to asu should be configurable, the best would be if the URL-base for those JSON files would be part of |
Hi Paul, thanks for those links! Latest version: Is this to be used by ASU to generate https://sysupgrade.openwrt.org/json/v1/overview.json ? That's the file I've found most useful for getting version info, as it's categorized nicely by branch. I seem to recall discussion about release-SNAPSHOT somewhere, did that get resolved as "don't advertise them?" I'll dig through those others soon. |
How about add
Refs https://github.com/search?q=repo%3Aopenwrt%2Fasu%20UPSTREAM_URL&type=code |
I strongly beliebe we should have exactly one URL configurable for the user. Everything else is error prone and confusing. @aparcar please make asu return the URL of the download server used in case it doesnt already do that.
|
Please do. I'm fine with the overview.json usage since I don't plan to drop that file, however I very much suggest to use upstream files wherever possible. I don't want to scrape all those package feeds all the time. Ideally the index.json files are you directly on the upstream server. |
I'm picking through https://downloads.openwrt.org/.versions.json in earnest... My current scheme is to scan ASU
This is out-of-date with respect to So, I grab
I like it in that it reduces messing with ASU I have questions:
|
In that case you should include a reference to the base URL (ie. |
Yes, that's exactly what openwrt/asu#852 does. |
Hi, cool project!
After being tied to have ASU parse the download server, I started to add some hidden JSON files for initial testing. Maybe you could incorporate them in your tool to make things easier?
If these files happen to be of use, I may make them visible to everyone (i.e. removing the leading dot).
The text was updated successfully, but these errors were encountered: