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 patched package #436

Merged
merged 33 commits into from
Apr 22, 2021
Merged

Add patched package #436

merged 33 commits into from
Apr 22, 2021

Commits on Apr 22, 2021

  1. Add migrations and code to infer patched package.

    Notes about migrations :
    
     - Remove the is_vulnerable flag from PackageRelatedVulnerability model
     - Add the patched_package fk in PackageRelatedVulnerability model
     - Add data migrations to populate the patched_package
    
    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    3e094c9 View commit details
    Browse the repository at this point in the history
  2. Refactor the import process to implement patched_package

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    7021526 View commit details
    Browse the repository at this point in the history
  3. Refactor alpine importer and it's tests fwrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    d684871 View commit details
    Browse the repository at this point in the history
  4. Refactor debian importer and it's tests wrt to new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    8bc91ff View commit details
    Browse the repository at this point in the history
  5. Refactor apache kafka and it's tests wrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    cea3738 View commit details
    Browse the repository at this point in the history
  6. Refactor apache tomcata and it's importers for new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    b0ccf83 View commit details
    Browse the repository at this point in the history
  7. Refactor archlinux importer wrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    5344e95 View commit details
    Browse the repository at this point in the history
  8. Refactor elixr security importer wrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    6607c29 View commit details
    Browse the repository at this point in the history
  9. Refactor gentoo importer wrt new models and update univers

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    d430a21 View commit details
    Browse the repository at this point in the history
  10. Use AffectedPackageWithPatched dataclass and refactor the Advisory in…

    …stances
    
    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    46fd0a0 View commit details
    Browse the repository at this point in the history
  11. Refactor github importer wrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    1508274 View commit details
    Browse the repository at this point in the history
  12. Refactor istio importer wrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    2b3334f View commit details
    Browse the repository at this point in the history
  13. Refactor kaybee importer wrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    1cae542 View commit details
    Browse the repository at this point in the history
  14. Refactor nginx importer wrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    f73fbc9 View commit details
    Browse the repository at this point in the history
  15. Refactor npm importer wrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    e97c415 View commit details
    Browse the repository at this point in the history
  16. Refactor openssl wrt new models

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    c1c0d14 View commit details
    Browse the repository at this point in the history
  17. Refactor postgresql importer

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    e9cd094 View commit details
    Browse the repository at this point in the history
  18. Refactor msr2019 importer

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    db17f09 View commit details
    Browse the repository at this point in the history
  19. Refactor redhat importer

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    9f6bb60 View commit details
    Browse the repository at this point in the history
  20. Refactor retire dot net

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    92fd1ad View commit details
    Browse the repository at this point in the history
  21. Refactor ruby importer

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    30b0b49 View commit details
    Browse the repository at this point in the history
  22. Refactor rust importer and simplify it's tests

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    c852afc View commit details
    Browse the repository at this point in the history
  23. Refactor safetydb wrt new models and simplify tests

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    d1f5485 View commit details
    Browse the repository at this point in the history
  24. Disable suse backport importer and refactor suse score importer

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    527324f View commit details
    Browse the repository at this point in the history
  25. Refactor ubuntu usn importer and tests

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    29f1185 View commit details
    Browse the repository at this point in the history
  26. Refactor ubuntu

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    c12e985 View commit details
    Browse the repository at this point in the history
  27. Fix more tests and refactor importer_runner

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    cbd6c73 View commit details
    Browse the repository at this point in the history
  28. Update fixtures

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    9246553 View commit details
    Browse the repository at this point in the history
  29. Fix model relations and patch inference in importers

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    36f4d1d View commit details
    Browse the repository at this point in the history
  30. Simplify patch inference, fix arch importer bug and remove useless code

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    5999a8a View commit details
    Browse the repository at this point in the history
  31. Fix codestyle

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    d70a931 View commit details
    Browse the repository at this point in the history
  32. Add docstrings for model properties

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    5973bbc View commit details
    Browse the repository at this point in the history
  33. Improve naming and docs

    Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
    sbs2001 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    cc5bbb4 View commit details
    Browse the repository at this point in the history