luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

Lit v3.5.4 zip failing #253

Closed squeek502 closed 5 years ago

squeek502 commented 5 years ago

Getting the zip of Lit v3.5.4 from lit.luvit.io is failing the assertion added in #250:

https://lit.luvit.io/packages/luvit/lit/v3.5.4.zip

"[string \"bundle:libs/api.lua\"]:293: Snapshot missing and resolved snapshot hash differs from existing hash (hash=fde2b65eb81079aab53f6bb62c72e6ead6ef8423, resolved=62380aefa2a6c10e79f156e11dd9908af13209ca)"

This in turn causes the Luvit CI to fail: https://travis-ci.org/luvit/luvit/jobs/508910964

squeek502 commented 5 years ago

@creationix:

We could Brute force guess the dependencies with older versions (or use dates to filter out dependencies newer) Actually. If we tweak the dependency resolver to ignore deps newer than the package, it should get the same hash.

Took that approach in #254