Skip to content

40. Use 7 characters in the hash for github references

40. Use 7 characters in the hash for github references

Section titled “40. Use 7 characters in the hash for github references”

Date: 2020-05-19

Accepted

Originally we defaulted to using 10 characters for the githash shas to be able to reference specific versions of the softward.

There are places where we want to use the decimal version of the SHA (namely ios and android stores for versions).

The 10 place SHA ends up being too big a number for them.

We decided to change all scripts to use 7 instead of 10. It should still be sufficient to find the unique version that was uses.

Now we can use decimal versions of the 7 length SHA for ios and android app versions.