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

Add dependency parsing grammar for gateway allowlist #1459

Merged
merged 17 commits into from
Sep 10, 2024

Commits on Sep 10, 2024

  1. add dependency parsing grammar for gateway allowlist

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    
    This PR adds the dependency specification grammar from PEP
    508 (https://peps.python.org/pep-0508/) to use when validating
    dependencies via the allowlist.
    
    As a temporary measure, it also simplifies the check to only consider
    the dependency and not a specific version. As such, it has dropped the
    test for related to dependency version.
    
    Future work should be done to convert the allowlist file from JSON to
    the standard requirements.txt format, which would allow for easier
    version checking.
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    aa56ff7 View commit details
    Browse the repository at this point in the history
  2. source grammar

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    24d3aef View commit details
    Browse the repository at this point in the history
  3. lint

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    fb5e3cc View commit details
    Browse the repository at this point in the history
  4. more lint

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    8672e1b View commit details
    Browse the repository at this point in the history
  5. more lint

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    2cab5dc View commit details
    Browse the repository at this point in the history
  6. add debug logs for k8s test

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    8821de7 View commit details
    Browse the repository at this point in the history
  7. increase gateway resource limits

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    18cb24b View commit details
    Browse the repository at this point in the history
  8. revert gateway resource changes

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    02950ff View commit details
    Browse the repository at this point in the history
  9. use gateway/api/utils for parsing utilities

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    11278b8 View commit details
    Browse the repository at this point in the history
  10. lint

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d99ae71 View commit details
    Browse the repository at this point in the history
  11. clean up imports

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    62f9018 View commit details
    Browse the repository at this point in the history
  12. more dependencies

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d4f8ff3 View commit details
    Browse the repository at this point in the history
  13. sigh

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    42204d5 View commit details
    Browse the repository at this point in the history
  14. more linting

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    03f72eb View commit details
    Browse the repository at this point in the history
  15. maybe

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    c422094 View commit details
    Browse the repository at this point in the history
  16. is this it?

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    fd0d03c View commit details
    Browse the repository at this point in the history
  17. gateway resources

    Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
    psschwei committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    2e473f1 View commit details
    Browse the repository at this point in the history