Xion / gisht

Gists in the shell
GNU General Public License v2.0
27 stars 0 forks source link

Investigate updating of glot.io gists #26

Open Xion opened 6 years ago

Xion commented 6 years ago

In the API (https://github.com/prasmussen/glot-snippets/blob/master/api_docs/get_snippet.md), there is an updated field. This would indicate that once posted, gists can actually be updated. It's probably a feature of authenticated glot.io users.

If that's the case, we should periodically check for updates to those gists, similarly to GitHub ones. Upon an update, however, it's probably reasonable to just overwrite the entire gist directory wholesale.