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 update confusing output #80

Closed lduboeuf closed 9 years ago

lduboeuf commented 9 years ago

$:lit update lit version: 1.2.13 luvi version: v2.0.9 command: update load config: /home/lionel/.litconfig lit update available: 1.2.9 lit is up to date: 1.2.13 luvit is up to date: 2.1.12 luvi is up to date: v2.0.9 done: success

creationix commented 9 years ago

Which part is confusing?

lduboeuf commented 9 years ago

lit update available: 1.2.9 lit is up to date: 1.2.13 say that a lit 1.2.9 update is available whereas lit is up to date (1.2.13)

creationix commented 9 years ago

Interesting. I wonder how you reproduced that. Is this a fresh install of lit?

lduboeuf commented 9 years ago

no, i did updates several times until I’ve first downloaded it. cat /home/lionel/.litconfig toupdate: 1.2.9 defaultUpstream: wss://lit.luvit.io/ database: /home/lionel/.litdb.git username: dubDL2015 upstream: wss://lit.luvit.io/ name: lduboeuf checked: 1433182887

lduboeuf commented 9 years ago

but at first, i did a lit built from sources.

creationix commented 9 years ago

Ahh, it caches the toupdate value so that it doesn't need to check every time the program is run. I should probably reset that after an update so prevent a confusing situation like this