2012-06-27, 04:50
To the normal user hashes don't mean much. I don't think we need to display them anywhere. The way the updater works is it first looks for a .git folder inside Marashino (only available if installed with git). If a .git folder is found it will attempt to use git to get the current version and store it in a Version.txt folder. The updater then compares the hash in the Version.txt against the latest commit hash on github. If the hash in version.txt is older than the hash on github it will tell u that updates are available.
If no .git folder is found maraschino has no way of knowing what version(hash) it currently is. So on first run for people who have downloaded Marashino from zip/tarball. maraschino 'should' tell the user it doesn't know what version it is and ask them to run the updater. By running the updater it gets the latest hash and stores it in the version.txt. It then knows what version it is and can start checking for updates.
The bug when the updater was first released was the default value was 'up to date'. So even tho it didn't know what version it was. It would still respond up to date.
If u think the updater is not working. The first thing u should look for is the version.txt. It must exist for the updater to check for updates.
I hope this clears a few things up.
If no .git folder is found maraschino has no way of knowing what version(hash) it currently is. So on first run for people who have downloaded Marashino from zip/tarball. maraschino 'should' tell the user it doesn't know what version it is and ask them to run the updater. By running the updater it gets the latest hash and stores it in the version.txt. It then knows what version it is and can start checking for updates.
The bug when the updater was first released was the default value was 'up to date'. So even tho it didn't know what version it was. It would still respond up to date.
If u think the updater is not working. The first thing u should look for is the version.txt. It must exist for the updater to check for updates.
I hope this clears a few things up.