question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 to latest.

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:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
rogerwangcommented, Mar 15, 2016
0reactions
arhangelsoftcommented, Apr 26, 2016

Hello, nice idea 😃

Why this issue not closedif it was done?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found