xxx-auto-update.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Notes on an auto updater:
  2. steve wants a "latest" symlink so he can always just fetch that.
  3. roger worries that this will exacerbate the "what version are you
  4. using?" "latest." problem.
  5. weasel suggests putting the latest recommended version in dns. then
  6. we don't have to hit the website. it's got caching, it's lightweight,
  7. it scales. just put it in a TXT record or something.
  8. but, no dnssec.
  9. roger suggests a file on the https website that lists the latest
  10. recommended version (or filename or url or something like that).
  11. (steve seems to already be doing this with xerobank. he additionally
  12. suggests a little blurb that can be displayed to the user to describe
  13. what's new.)
  14. how to verify you're getting the right file?
  15. a) it's https.
  16. b) ship with a signing key, and use some openssl functions to verify.
  17. c) both
  18. andrew reminds us that we have a "recommended versions" line in the
  19. consensus directory already.
  20. if only we had some way to point out the "latest stable recommendation"
  21. from this list. we could list it first, or something.
  22. the recommended versions line also doesn't take into account which
  23. packages are available -- e.g. on Windows one version might be the best
  24. available, and on OS X it might be a different one.
  25. aren't there existing solutions to this? surely there is a beautiful,
  26. efficient, crypto-correct auto updater lib out there. even for windows.