Skip to content

WIP: Record and expose provenance info for source registry

There was some discussion on asdf-devel on how the source registry is nearly impossible to debug as it looks in a lot of places for configuration information. This is an attempt to rectify that.

Goals:

  • Record the reason a directory is being searched for .asd files.
  • For every .asd file found in the source registry, record provenance information as to what part of the source registry config caused that file to be found.
  • For every .asd file found in the source registry, record if the file was found by traversing the directory tree or if it was found in a .cl-source-registry.cache file.
  • Look for .asd caches in cl-source-registry.cache, falling back to the hidden version if it does not exist.
  • Add a user exposed function to print the source registry in a moderately nice way.

Merge request reports