Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix collection loading #223

Merged
merged 3 commits into from
Feb 14, 2023
Merged

Commits on Feb 13, 2023

  1. src/ansible_compat/runtime.py: Fix collection loading

    - Ensure the cache dir is added to the collection loader
      path, in order to allow linting a collection role against
      a module this collection is providing
    
    - Add missing default collection path to the loader for ansible
      version prior 2.15.0.dev0, as done by ansible's
      _configure_collection_loader(). The only remaining difference
      is the missing handling of COLLECTIONS_SCAN_SYS_PATH.
    
    See ansible/ansible-lint#2969 for
    reference.
    
    Signed-off-by: Arnaud Patard <apatard@hupstream.com>
    apatard committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    4efe7e2 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. Collection path is a list

    ssbarnea committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    6c81e64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0b4a3e View commit details
    Browse the repository at this point in the history