Permalink
Browse files

Add "screen_hash" field and rename "md5hash" to "scheme_hash"

These are the fields containing an MD5 sum of the screenshot and
color scheme files in the index.
  • Loading branch information...
1 parent a4a778f commit 2a873134eb6f0ab6b1b6a2abfc1d8c5345305648 @codebrainz committed Jun 19, 2013
Showing with 64 additions and 26 deletions.
  1. +9 −1 index/README.md
  2. +46 −23 index/index.json
  3. +1 −1 index/index.json.md5
  4. +8 −1 scripts/mkindex.py
View
@@ -34,13 +34,21 @@ This field will never be empty.
A short description of the theme or an empty string. The string is meant
to be displayed to human beings.
-#### md5hash
+#### scheme_hash
An MD5 hash of the colour scheme `.conf` file from the last time it was
changed. This value can be used to check if a local scheme needs updating
and/or to verify the integrity of the file that could be downloaded using
the `colorscheme` URL field. This field will never be empty.
+#### screen_hash
+
+An MD5 hash of the colour scheme preview/screenshot image the last time
+it was changed. This value can be used to check if a cached screenshot
+needs to be updated locally and/or to verify the integrity of a the
+downloaded screenshot. This field may be empty if a screenshot does
+not exist.
+
#### name
A human-readable name of the colour scheme meant to be display for example
Oops, something went wrong.

0 comments on commit 2a87313

Please sign in to comment.