Skip to content
Snippets Groups Projects
  1. Dec 01, 2024
  2. Aug 17, 2024
  3. Jul 21, 2024
  4. Jul 20, 2024
    • pita strudl's avatar
      dbscripts: Ensure atomicity of lastsync file · 87260844
      pita strudl authored and pita strudl's avatar pita strudl committed
      We try to ensure an atomic operation of the lastsync file. This requires creating a tmp file which needs to be ignored.
      This should take care of having empty lastsync files being served.
      Possible cause is that the IO is stuck thus taking several seconds to write the lastsync timestamp.
      This causes mirrors to download the empty file which causes checks to fail.
      87260844
    • Jan Alexander Steffens (heftig)'s avatar
      dbscripts: Enable proxy_cache_background_update for mirrorauth · d60d82ed
      Jan Alexander Steffens (heftig) authored
      This allows serving a stale response even to the request that triggers
      an update. This should ensure all requests finish quickly.
      
      With just `proxy_cache_use_stale updating`, the request that attempts to
      update the cache waits for the response, while all other requests get to
      use the stale response.
      
      Currently archweb is badly overloaded and can take over half a minute to
      respond. Pacman is not that patient and fails the download.
      d60d82ed
  5. Jun 08, 2024
  6. Jun 02, 2024
  7. May 04, 2024
  8. Apr 24, 2024
  9. Mar 29, 2024
  10. Feb 13, 2024
  11. Dec 06, 2023
  12. Dec 03, 2023
  13. Nov 09, 2023
  14. Oct 04, 2023
  15. Oct 01, 2023
    • Christian Heusel's avatar
      dbscripts: fix createlinks for binaries in non-standard locations · 69292fcb
      Christian Heusel authored
      In FS#79592 we encountered yet another case where sogrep was not able to
      detect the necessary rebuild because the binaries reside in the
      non-standard path "/usr/share/$pkgname/bin/" which we currently do not
      take into account.
      
      This commit fixes this behaviour by also taking files symlinked from one
      of the standard locations into account.
      Verified
      69292fcb
  16. Sep 30, 2023
  17. Aug 20, 2023
    • Christian Heusel's avatar
      dbscripts: fix createlinks for filenames that contain spaces · 2ad7fefa
      Christian Heusel authored
      So far the for loop recognized filenames with spaces as different words:
      
      $ for f in $(find pkg -type f); do echo "$f"; done
      pkg/usr/bin/Surge
      XT
      Effects
      pkg/usr/bin/Surge
      XT
      
      While the correct output here would have been:
      pkg/usr/bin/Surge XT Effects
      pkg/usr/bin/Surge XT
      
      We fix this by just passing everything directly to readelf, which also
      removes the loop overhead. This results in a significant speedup for
      packages with a lot of libraries and binaries.
      
      fixes: #524
      
      
      Co-Authored-By: default avatarEvangelos Foutras <evangelos@foutras.com>
      Verified
      2ad7fefa
  18. Jul 12, 2023
  19. Jul 09, 2023
  20. May 22, 2023
  21. May 18, 2023
  22. Feb 18, 2023
  23. Oct 16, 2022
  24. Sep 18, 2022
  25. Aug 29, 2022
  26. Aug 23, 2022
  27. Jun 08, 2022
  28. May 21, 2022
  29. May 07, 2022
  30. Mar 19, 2022
    • Evangelos Foutras's avatar
      dbscripts: nginx: remove unnecessary unique filter · 5a6a085e
      Evangelos Foutras authored
      The intention of "unique" in "groups['buildservers'] | sort | unique"
      was to account for combining multiple groups and passing them to the
      sort and unique filters. However, with only one group it looks silly.
      Verified
      5a6a085e
    • Evangelos Foutras's avatar
      common: use tier0 mirror on build servers + gemini · b3256827
      Evangelos Foutras authored
      There is a need for build servers to never build against outdated repo
      databases, even with syncrepo providing a local mirror that is updated
      every minute. To that effect, we adjust mirrorlist on build servers so
      the first mirror is the tier0 mirror provided by gemini.
      
      Keep the syncrepo role on build servers in order to have a local cache
      of packages and avoid concurrent build jobs downloading the same files
      causing them to be corrupted.
      
      Finally, configure gemini to use its own repos (like other mirrors do).
      Verified
      b3256827
  31. Feb 09, 2022
  32. Feb 04, 2022
Loading