Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2291f90
fix: improve Git info extraction and error handling in analyze function
Perdiga Jul 17, 2025
c828152
fix lint
Perdiga Jul 17, 2025
39d6868
refector git diff
Perdiga Jul 17, 2025
c90489f
fix: refactor get_git_info to store and log GitInfo before returning
Perdiga Jul 17, 2025
dc68830
fix lint
Perdiga Jul 17, 2025
a7950ab
feat: update Python version to 3.9 and add new dependencies for paste…
Perdiga Jul 17, 2025
09873d3
fix: enable search for parent directories when initializing Repo
Perdiga Jul 17, 2025
db668e7
fix: remove unnecessary whitespace in GitUtils initialization
Perdiga Jul 17, 2025
ea94923
fix: update logic for handling changed files and set default base bra…
Perdiga Jul 17, 2025
a45c616
fix: add debug logging for repository path in GitUtils initialization
Perdiga Jul 17, 2025
1ed10be
fix: improve initialization and handling of current reference in GitU…
Perdiga Jul 17, 2025
5678e90
fix: lint
Perdiga Jul 17, 2025
9557151
fix: enhance fetch_repo logic and add debug logging for local references
Perdiga Jul 17, 2025
965d9e0
fix: comment out fetch logic in fetch_repo method
Perdiga Jul 17, 2025
a263223
fix: refactor is_pr method to improve remote PR detection
Perdiga Jul 17, 2025
1c0db57
fix: enhance get_diff_files and fetch_repo methods with error handlin…
fernandomatsuosantos Jul 17, 2025
f6a4937
fix: improve logging format in get_diff_files and update fetch_repo m…
fernandomatsuosantos Jul 17, 2025
ff02c90
fix: add logging for changed files in CodeQL analysis use case
Perdiga Jul 18, 2025
c53de49
fix: add debug logging for project comparison in _project_has_changed…
fernandomatsuosantos Jul 18, 2025
f81510d
fix: resolve project path using repository path in _detect_projects m…
fernandomatsuosantos Jul 18, 2025
35fe898
fix: fix monorepo relative path
Perdiga Jul 18, 2025
5e0fd23
fix lint
Perdiga Jul 18, 2025
cf6b83e
Changed files filtering is enabled but no base o
Perdiga Jul 18, 2025
9362a6c
cli refactor
Perdiga Jul 21, 2025
0f7fc5e
fix upload sarif with wrong ref
Perdiga Jul 21, 2025
4b9c4a7
Fix lint issues
Perdiga Jul 21, 2025
39ca5ca
improve how to handle ref and base ref
Perdiga Jul 21, 2025
3847ee2
fix ref and base ref
Perdiga Jul 21, 2025
083e98a
fix lint
Perdiga Jul 21, 2025
b8cba37
add token to the url before fetch
Perdiga Jul 21, 2025
56eea8e
fix logic when ref is a pull request
Perdiga Jul 21, 2025
6855c54
Improve get_git_info debug logs
Perdiga Jul 21, 2025
a085680
fix lint issues
Perdiga Jul 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 143 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ classifiers = [
packages = [{include = "codeql_wrapper", from = "src"}]

[tool.poetry.dependencies]
python = "^3.8.1"
python = "^3.9"
click = "^8.0.0"
colorama = "^0.4.6"
psutil = "^5.8.0"
gitpython = "^3.1.44"

[tool.poetry.group.dev.dependencies]
pytest = "^7.0.0"
Expand All @@ -36,9 +37,10 @@ flake8 = "^6.0.0"
mypy = "^1.0.0"
types-colorama = "^0.4.15"
types-psutil = "^5.8.0"
poethepoet = "^0.36.0"

[tool.poetry.scripts]
codeql-wrapper = "codeql_wrapper.cli:cli"
codeql-wrapper = "codeql_wrapper.entrypoints.cli:cli"

[tool.black]
line-length = 88
Expand All @@ -59,3 +61,9 @@ addopts = "--strict-markers --strict-config"
# Explicitly ignore tests_projects directory
ignore = ["tests_projects"]
norecursedirs = ["tests_projects", "*.egg", ".eggs", "dist", "build", "docs", ".tox", ".git", "__pycache__"]

[tool.poe.tasks]
format = "black src/"
typecheck = "mypy src/"
lint = "flake8 src/"
quality = ["format", "typecheck", "lint"]
2 changes: 1 addition & 1 deletion src/codeql_wrapper/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Main entry point for running codeql_wrapper as a module."""

from .cli import cli
from .entrypoints.cli import cli

if __name__ == "__main__":
cli()
Loading