Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a simple server for testing Atom updates, enable Atom to use it via environment variable #18116
Description of the Change
This change adds a simple script that replicates Atom's update API on atom.io for local testing of Atom's update process on Windows and macOS. It looks for a full Atom build in the
One can already test upgrades using a local build of atom.io, but that's a pretty heavy requirement if one only needs to test Atom's update checks.
One drawback in the short term is that current Atom releases do not look for the
jasonrudolph left a comment
Thanks for putting this together, @daviwil.
I verified that I can run the server locally, and I hit a few of the endpoints to verify that they're working locally for me (e.g.,
I also reviewed the diff and noted a few minor questions/suggestions inline below.
Based on the following excerpt from the PR body, I don't think it's possible yet to fully test Atom's ability to interact with the local update server:
With that in mind, it sounds like we'll have a wait until after this PR is merged before we can verify that Atom is able to successfully interact with the local update server. If that's not the case, please let me know.
daviwil left a comment •
There is a way to test that Atom interacts with the test update server correctly before this PR is merged, it's just a bit of extra work: