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 additional catalog indexes for performance #154

Merged
merged 35 commits into from
Feb 8, 2023

Commits on Feb 3, 2023

  1. add additional catalog indexes for performance

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    3cfe2be View commit details
    Browse the repository at this point in the history
  2. [wip] link resolution

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    2f5d2d0 View commit details
    Browse the repository at this point in the history
  3. add leaf link resolution on tree responses (defer ancestor link resol…

    …ution)
    
    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    21001f1 View commit details
    Browse the repository at this point in the history
  4. add filetree search context

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    3583f6b View commit details
    Browse the repository at this point in the history
  5. add tests for new search context object

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    58b595c View commit details
    Browse the repository at this point in the history
  6. remove unused tar header fields from file.Metadata struct

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    6b9223f View commit details
    Browse the repository at this point in the history
  7. use singular file type definitions

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    47e967a View commit details
    Browse the repository at this point in the history
  8. add logging for filetree searches

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    30c7567 View commit details
    Browse the repository at this point in the history
  9. add limited support for glob classes and alternatives

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    6495556 View commit details
    Browse the repository at this point in the history
  10. add failing test to show that index shortcircuits correct behavior

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    d9f6732 View commit details
    Browse the repository at this point in the history
  11. add link resolution via filetree search context

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    61da85b View commit details
    Browse the repository at this point in the history
  12. allow index symlink resolution to function through cycles

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    1cf1864 View commit details
    Browse the repository at this point in the history
  13. add tests for filetree.Index

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    efce1d4 View commit details
    Browse the repository at this point in the history
  14. add search by parent basename and fix requirements filtering

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    0b18b25 View commit details
    Browse the repository at this point in the history
  15. sort search results

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    b59e489 View commit details
    Browse the repository at this point in the history
  16. change file.Type to int + fix layer 0 squashed search context

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    e2c6d5d View commit details
    Browse the repository at this point in the history
  17. more cleanup

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    5dbc9e9 View commit details
    Browse the repository at this point in the history
  18. switch to generic set implementation

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    033d3e4 View commit details
    Browse the repository at this point in the history
  19. update linter

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    d19e1be View commit details
    Browse the repository at this point in the history
  20. replace generic set implemetation with plain set (unstable in go1.19)

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    561c286 View commit details
    Browse the repository at this point in the history
  21. introduce filtree builter and foster usage of reader interfaces

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    53005d8 View commit details
    Browse the repository at this point in the history
  22. rename content helper functions

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    6b109bb View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. update docs with background

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 4, 2023
    Configuration menu
    Copy the full SHA
    a2eecb6 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. fix get_xid for cross compilation

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    1ec3d77 View commit details
    Browse the repository at this point in the history
  2. upgrade CI validations workflow

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    33fb3e2 View commit details
    Browse the repository at this point in the history
  3. fix snapshot builds

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    b0fc172 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. add tests for file.Index.GetByFileType

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    53dbcca View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. rename file.Type and file.Resolution

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    c5bfa98 View commit details
    Browse the repository at this point in the history
  2. ensure that glob results match search facade

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    386c945 View commit details
    Browse the repository at this point in the history
  3. replace stringset implementation + move resolution tests

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    307ac9b View commit details
    Browse the repository at this point in the history
  4. add note about podman dependency for testing

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    4f28a64 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. address PR comments

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    db2e56d View commit details
    Browse the repository at this point in the history
  2. remove extra whitespace

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    d54c328 View commit details
    Browse the repository at this point in the history
  3. constrain OS build support

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    3153d53 View commit details
    Browse the repository at this point in the history
  4. update/remove TODO comments

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    90b1ac4 View commit details
    Browse the repository at this point in the history