Skip to content
Snippets Groups Projects
  1. Apr 16, 2022
  2. Apr 13, 2022
    • Kristian Klausen's avatar
      Add GeoIP domain for our sponsored mirros · 9f65f99c
      Kristian Klausen authored
      We had a GeoIP mirror in the past based on nginx and its GeoIP module,
      but it didn't perform very well, due to the high latency (asking a
      central server for the package and then redirected to the closest
      mirror).
      
      One of the reasons for offering this service, is so we can relieve
      mirror.pkgbuild.com which is burning a ton of traffic (50TB/month),
      likely due to it being the default mirror in our Docker image. Another
      reason is so we can offer a link to our arch-boxes images in libosinfo
      (used by gnome-boxes, virt-install and virt-manager), with good enough
      performance for most users.
      
      This time we take a different approach and use a DNS based solution,
      which means the latency penalty is only paid once (the first DNS
      request). The downside is that the mirrors must have a valid certificate
      for the same domain name, which makes using third-party mirrors a
      challenge. So for now, we are just using the sponsored mirorrs
      controlled by the DevOps team.
      
      Fix #101
      Verified
      9f65f99c
  3. Feb 04, 2022
  4. Jul 29, 2021
    • Evangelos Foutras's avatar
      syncrepo: Drop --temp-dir option as unneeded · 4fe427a2
      Evangelos Foutras authored
      Using a temporary directory outside of /srv/ftp was meant to protect
      against incomplete files from being synced by downstream mirrors. It
      does not achieve this to much effect though; each file gets uploaded
      to the temporary directory but then immediately moved under a .~tmp~
      directory at its target location (.~tmp~ because of --delay-updates,
      otherwise the file would be renamed to its final path).
      
      The `--delay-updates` option by itself sufficiently protects against
      temp files being transferred to downstream mirrors; when used by the
      receiver, it automatically adds an exclude rule for ~.tmp~, behaving
      exactly like we want it to. As such, the `--temp-dir` option doesn't
      provide any further benefit and can be removed.
      Verified
      4fe427a2
  5. Jul 28, 2021
  6. Apr 27, 2021
  7. Apr 08, 2021
  8. Mar 25, 2021
  9. Feb 16, 2021
  10. Feb 14, 2021
    • Kristian Klausen's avatar
      Make ansible-lint happy · 4112bdf9
      Kristian Klausen authored
      yaml: truthy value should be one of [false, true] (truthy)
      yaml: wrong indentation: expected 4 but found 2 (indentation)
      yaml: too few spaces before comment (comments)
      yaml: missing starting space in comment (comments)
      yaml: too many blank lines (1 > 0) (empty-lines)
      yaml: too many spaces after colon (colons)
      yaml: comment not indented like content (comments-indentation)
      yaml: no new line character at the end of file (new-line-at-end-of-file)
      load-failure: Failed to load or parse file
      parser-error: couldn't resolve module/action 'hosts'. This often indicates a misspelling, missing collection, or incorrect module path.
      4112bdf9
  11. Feb 11, 2021
  12. Jan 10, 2021
  13. Nov 30, 2020
  14. Sep 23, 2020
  15. Aug 28, 2020
  16. Aug 27, 2020
  17. Jun 17, 2020
  18. Jun 12, 2020
  19. Dec 12, 2019
  20. Oct 15, 2019
  21. Sep 05, 2019
  22. Mar 20, 2019
  23. Feb 16, 2019
  24. Feb 14, 2019
  25. Aug 17, 2018
  26. Aug 15, 2018
  27. Aug 14, 2018
  28. Jun 25, 2018
  29. May 30, 2018
  30. Mar 21, 2018
Loading