Skip to content

v0.10.42

Latest

Choose a tag to compare

@github-actions github-actions released this 31 Jul 19:46
· 5 commits to master since this release
v0.10.42
5577b93

New Checks:

  • MakeDefaultsUnquoted: a make.defaults entry whose value isn't double quoted as required by PMS (@arthurzam, #692)
  • MetadataVarCheck: flag NonArrayPatches, PATCHES defined as a plain string instead of a bash array, and SwitchInPatches, a PATCHES entry that looks like a patch/eapply switch (e.g. -p1) rather than a patch file (@arthurzam, #174)

Fixes:

  • GitAddon: force git error output to use the C locale, fixing --commits/--staged ref resolution error detection under a translated git locale (@arthurzam)
  • RequiredUseUnsatisfiableCheck: cache REQUIRED_USE satisfiability for the whole run rather than per version, cutting solver calls by ~2.8x (@arthurzam)
  • RequiredUseUnsatisfiableCheck: use pkgcore's required_use.iter_flags instead of a local copy of the same restriction walk (@arthurzam)
  • RepoProfilesCheck: don't flag a directory-form package.use and similar as an unused profile directory (@arthurzam, #560)
  • VisibilityCheck: walk the dep tree instead of enumerating its CNF form, which was exponential in the number of all-of blocks nested inside an any-of block. Scanning a package using python_gen_any_dep with a handful of implementations, e.g. dev-python/click with distutils_enable_sphinx, drops from 21s to 4s, and each further implementation no longer multiplies the runtime by the size of the any-of block (@arthurzam, #782)