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

Adding --json to lint #654

Merged
merged 60 commits into from
Jun 1, 2023
Merged

Adding --json to lint #654

merged 60 commits into from
Jun 1, 2023

Commits on May 11, 2023

  1. Rework lint

    Adding functions to retrieve and format the data from the `ProjectReport` class.
    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    cb94206 View commit details
    Browse the repository at this point in the history
  2. Add --json` argument

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    3ae8af7 View commit details
    Browse the repository at this point in the history
  3. Slim down data dictionary creation

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    2e6805e View commit details
    Browse the repository at this point in the history
  4. Rework plaintext formatter

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    5a03e9e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    21d0026 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0b473f0 View commit details
    Browse the repository at this point in the history
  7. Adapt tests

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    74fd00e View commit details
    Browse the repository at this point in the history
  8. Add new tests

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    fb32ead View commit details
    Browse the repository at this point in the history
  9. Satisfy pylint

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    ff3d3c3 View commit details
    Browse the repository at this point in the history
  10. Satisfy isort

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    cfcac8e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d749d51 View commit details
    Browse the repository at this point in the history
  12. Satisfy pylint (again)

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    5dcd872 View commit details
    Browse the repository at this point in the history
  13. Add changelog entry

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    e03fb3e View commit details
    Browse the repository at this point in the history
  14. Fix typo

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    89dbd8b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    034a9af View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6bb2a47 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6bc172a View commit details
    Browse the repository at this point in the history
  18. Add newline at the end of the output

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    2a2e44f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    5c25198 View commit details
    Browse the repository at this point in the history
  20. Fix minor issues in report.py

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    f697c73 View commit details
    Browse the repository at this point in the history
  21. Fix plaintext output

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    f20429f View commit details
    Browse the repository at this point in the history
  22. Add custom JSON serializer

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    1b2bd90 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    d98d162 View commit details
    Browse the repository at this point in the history
  24. Remove useless line

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    9c106f1 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    9beac70 View commit details
    Browse the repository at this point in the history
  26. Determine license source correctly

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    c43c91f View commit details
    Browse the repository at this point in the history
  27. Allow returning empty arrays

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    6fc5ec1 View commit details
    Browse the repository at this point in the history
  28. Satisfy black

    linozen authored and carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    3ad1fe3 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    2fcc8eb View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    d50d15e View commit details
    Browse the repository at this point in the history
  31. Move logic to FileReport.to_dict and rename method to to_dict_lint

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    fbf6e53 View commit details
    Browse the repository at this point in the history
  32. Create ProjectReport.is_compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    bd59465 View commit details
    Browse the repository at this point in the history
  33. Rename json_version to lint_version

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    8f3b5d0 View commit details
    Browse the repository at this point in the history
  34. Remove superfluous function

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    8feed9e View commit details
    Browse the repository at this point in the history
  35. Make tests run by importing an existing function

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 11, 2023
    Configuration menu
    Copy the full SHA
    7423f62 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2023

  1. Repair boolean check of SpdxInfo; object not iterable

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 21, 2023
    Configuration menu
    Copy the full SHA
    f648356 View commit details
    Browse the repository at this point in the history
  2. Correctly use format_plain

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 21, 2023
    Configuration menu
    Copy the full SHA
    c75a3e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bc2c58 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    54a8a66 View commit details
    Browse the repository at this point in the history
  5. Don't pass string where (optional) set is expected

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 21, 2023
    Configuration menu
    Copy the full SHA
    d3208db View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8a40fb6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a769306 View commit details
    Browse the repository at this point in the history
  8. Create SpdxInfo.contains_copyright_or_licensing

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 21, 2023
    Configuration menu
    Copy the full SHA
    cc5a383 View commit details
    Browse the repository at this point in the history
  9. Make lint version a global constant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 21, 2023
    Configuration menu
    Copy the full SHA
    23fa4cc View commit details
    Browse the repository at this point in the history
  10. Add tool version to json output

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed May 21, 2023
    Configuration menu
    Copy the full SHA
    8fa808a View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    c94b5a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7493ed1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb3217a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2f1ef0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cd820e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6c51545 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d1c2146 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c8baa6e View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Simplify lint --quiet

    linozen committed May 26, 2023
    Configuration menu
    Copy the full SHA
    983b0c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7af2e2 View commit details
    Browse the repository at this point in the history
  3. Rename SpdxInfo to ReuseInfo

    linozen committed May 26, 2023
    Configuration menu
    Copy the full SHA
    33456cb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    962521f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    852b3fb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    322dd8a View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Add SourceType enum and use it for source_type in ReuseInfo

    This commit adds a new enum `SourceType` with three possible values to indicate if the source type is a `.license file`, `file header` or `DEP5 file`. It then updates the usage of `source_type` by replacing the string type with the new `SourceType` enum type. This improves readability and makes the code more maintainable.
    linozen committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    7346234 View commit details
    Browse the repository at this point in the history