Supply a manifest for available versions
See original GitHub issue@rogerwang, I could’ve sworn we spoke somewhere about this before but I can’t find it in my email. Hmm, anyway…
The idea is that a JSON file would be hosted somewhere and would contain a list of all available versions, whether it’s an alpha build or not, and paths to the platform-specific files.
I’m open to helping in any way I can.
Todo
- Agree on a format.
- Publish it somewhere.
- Should be updated when a new version is released. I’m not sure what the release process is like right now but it should be possible to add in this step I’m guessing.
- Document it. This would be nice so others could easily use it.
Why bother?
This would make it a lot easier for other modules to build on top of this. Especially nw-builder which has been getting a few complaints related to this. This is how nw-builder figures out which versions are available right now (roughly, from memory):
- Scrapes http://dl.nwjs.io/ (or somewhere similar) to get a list of versions.
- Sends a HEAD request to where it thinks the Windows 32 ZIP exists to validate that this version is usable (i.e. isn’t an alpha build). This is done because nw-builder’s
version
option defaults tolatest
.
Issues which arise from this
- Some people want to build with the alpha build, even if it doesn’t have a Windows 32 ZIP.
- The alpha build has a Windows 32 build which gives a false positive validation and builds might fail then if a different platform’s ZIP doesn’t exist.
- The ZIPs filename patterns can change between versions and break nw-builder. This would be fixed by this because each version would have to explicitly point to where each platform’s own ZIP is located at.
- Other issues I can’t remember right now.
<bountysource-plugin>
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:10 (7 by maintainers)
Top Results From Across the Web
How to Write a PowerShell Module Manifest - Microsoft Learn
A module manifest is a PowerShell data file ( .psd1 ) that ... load the newest version available with a minimum of the...
Read more >40 CFR Part 262 Subpart B -- Manifest Requirements ... - eCFR
§ 262.22 Number of copies. The manifest consists of at least the number of copies which will provide the generator, each transporter, and...
Read more >docker manifest - Docker Documentation
A manifest list is a list of image layers that is created by specifying one or more (ideally more than one) image names....
Read more >Hazardous Waste Manifest System | US EPA
Uniform Hazardous Waste Manifest This ensures critical accountability in the transportation and disposal processes. Once the waste reaches its destination, the ...
Read more >Understanding the JAR Manifest File - Baeldung
The structure of the manifest file allows us to provide standard information, such as version information. However, its flexibility allows us to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Now there is : http://nwjs.io/versions.json
Hello, nice idea 😃
Why this issue not closedif it was done?