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

Use libsolv repo cache #67

Merged
merged 4 commits into from
Aug 14, 2019
Merged

Use libsolv repo cache #67

merged 4 commits into from
Aug 14, 2019

Commits on Jul 8, 2019

  1. Refactor: move repo functions to their own file

    This way we can focus the solver related functions to fus.c
    
    Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
    r4f4 committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    729496a View commit details
    Browse the repository at this point in the history
  2. Refactor: move cachedir definition to a function

    Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
    r4f4 committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    234eff1 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. Refactor: simplify checksum-related functions

    Avoid doing unnecessary allocations and use memcmp directly to compare
    the checksums
    
    Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
    r4f4 committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    a638ad4 View commit details
    Browse the repository at this point in the history
  2. Use libsolv caches to speed things up

    This can be specially helpful when doing multiple queries on the same
    repo metadata.
    
    Solves fedora-modularity#65
    
    Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
    r4f4 committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    3552c67 View commit details
    Browse the repository at this point in the history