Skip to content
Snippets Groups Projects
  1. Mar 06, 2023
  2. Mar 03, 2023
  3. Feb 28, 2023
  4. Feb 16, 2023
    • nina's avatar
      io: reset idcache for new passwd/group (and have a root fallback) · 3aa99faa
      nina authored and Timo Teräs's avatar Timo Teräs committed
      In order to address the problem with early file ownership (before
      passwd/group exists), do a few changes here:
      
      1) For root-owned things, always fall back to fixed values, as
         those are the ones we always know and cannot change. Since
         the earliest packages only have root-owned files, this fixes
         the problem for those.
      2) During file migration, if we encounter passwd/group and this
         is a newly committed file, reset the idcache, similarly to how
         it is done for scripts. This allows the next package to reload
         the mappings. Since those two files are usually installed as
         a part of the first package, the second package onwards should
         have a valid, complete mapping (reset only by scripts).
      3aa99faa
  5. Feb 14, 2023
  6. Jan 31, 2023
  7. Jan 29, 2023
  8. Jan 17, 2023
    • nina's avatar
      apk_defines: use unsigned operand in BIT · c712919a
      nina authored and Timo Teräs's avatar Timo Teräs committed
      This fixes undefined behavior at least in database, where BIT is
      used with 31 (as APK_MAX_REPOS is 32) which is not representable
      with a signed integer.
      c712919a
  9. Jan 08, 2023
  10. Dec 28, 2022
    • Timo Teräs's avatar
      cache, upgrade: do not continue if repositories have issues · 60f8d520
      Timo Teräs authored
      There are subtle issues where solving fails with --available,
      and install_if rules if the repository indexes are not available.
      Also it can be considered upgrade failure if index update failed.
      
      Abort cache download, cache sync and upgrade operations early
      in the above mentioned cases.
      
      Also document side effects of --simulate that might affect upgrade.
      
      fixes #10726, #10764
      60f8d520
    • Timo Teräs's avatar
      db: handle repository index update/opening errors more consistently · c24dc49a
      Timo Teräs authored
      Track separately autoupdate failure, and opening errors. And print
      only one error per index at maximum.
      
      This makes update with or without --no-cache consistent.
      
      Ignore errors from local paths as builders often refer to a local
      path that is being built, but might be non-existent when building
      the first package.
      
      ref #10726
      c24dc49a
  11. Dec 25, 2022
  12. Dec 23, 2022
  13. Dec 22, 2022
  14. Dec 21, 2022
  15. Dec 20, 2022
  16. Aug 17, 2022
  17. Aug 15, 2022
  18. May 04, 2022
Loading