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: Conftest can now successfully load files using a file URL (e.g., file:///C:/path/to/data.yaml) on windows #1008

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Sep 3, 2024

  1. fix:

        Conftest encounters errors on Windows when loading file paths that include drive letters (e.g., `C:/path/to/data.yaml`).
        Even when using a file URL (e.g., `file:///C:/path/to/data.yaml`), we still face issues.
        With these code changes, Conftest can now successfully load files using a file URL (e.g., `file:///C:/path/to/data.yaml`).
        We opted for file URLs instead of paths with drive letters (e.g., `C:/path/to/data.yaml`) because OPA does not support file paths with drive letters. For more details, see [this issue comment](open-policy-agent/opa#6922 (comment)).
    
        Resolves: open-policy-agent#979
    
    Signed-off-by: Punith C K <[email protected]>
    Punith C K authored and Punith C K committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    db75f9e View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. fix: Conftest can now successfully load files using a file URL (e.g.,…

    … file:///C:/path/to/data.yaml) on windows
    
        Conftest encounters errors on Windows when loading file paths that include drive letters (e.g., C:/path/to/data.yaml). Even when using a file URL (e.g., file:///C:/path/to/data.yaml), we still face issues.
        We opted for file URLs(e.g., file:///C:/path/to/data.yaml) instead of paths with drive letters (e.g., C:/path/to/data.yaml) because OPA does not support file paths with drive letters.
        Resolves open-policy-agent#979
    
    Signed-off-by: Punith C K <[email protected]>
    Punith C K authored and Punith C K committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    13619ee View commit details
    Browse the repository at this point in the history
  2. fix: using any instead of interface{} as per comment open-policy-agen…

    …t#999 (comment)
    
    Signed-off-by: Punith C K <[email protected]>
    Punith C K authored and Punith C K committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    6c807d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    e743c08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e26d5a View commit details
    Browse the repository at this point in the history