docker_manager/manager-client/app
David Taylor 11d61cb82e
FIX: Do not shorten commit hashes for compare links (#128)
Using `git rev-parse --short` will adapt the number of characters based on the number of commits in the repository. In a development checkout of Discourse, it'll currently output 10 characters, making the chance of a collision minuscule.

However, in production we use a shallow clone of the Discourse repository. That means that `git rev-parse --short` only outputs 8 characters. On the `main` branch (with almost 50k commits), we currently have 6 7-character collisions, and no 8-character collisions. However, when looking beyond the `main` branch, 8-character collisions [have been observed](https://meta.discourse.org/t/193320/3).

This commit updates docker_manager to use the full commit hash internally, and for GitHub comparison links. In the UI, hashes are truncated to 8 characters, and the full hash is displayed on mouseover.
2022-01-22 18:27:25 +00:00
..
components FEATURE: Add indicator if plugin is official but forked (#96) 2021-03-22 18:17:52 +02:00
controllers DEV: manually ignore files as .eslintignore is not working 2020-09-10 20:53:34 +02:00
helpers Ember upgrade to 3.6.1 (#49) 2019-01-03 09:21:34 +03:00
initializers DEV: Upgrade Ember to 3.22 (#80) 2020-11-02 19:43:56 +03:00
models FIX: Do not shorten commit hashes for compare links (#128) 2022-01-22 18:27:25 +00:00
routes DEV: manually ignore files as .eslintignore is not working 2020-09-10 20:53:34 +02:00
styles Ember upgrade to 3.6.1 (#49) 2019-01-03 09:21:34 +03:00
templates FIX: Do not shorten commit hashes for compare links (#128) 2022-01-22 18:27:25 +00:00
app.js DEV: Upgrade Ember to 3.22 (#80) 2020-11-02 19:43:56 +03:00
discourse.js DEV: Upgrade Ember to 3.22 (#80) 2020-11-02 19:43:56 +03:00
index.html Ember upgrade to 3.6.1 (#49) 2019-01-03 09:21:34 +03:00
resolver.js DEV: Upgrade Ember to 3.22 (#80) 2020-11-02 19:43:56 +03:00
router.js DEV: Upgrade Ember to 3.22 (#80) 2020-11-02 19:43:56 +03:00