8000 CodeQL needs to be removed due to certain restrictive opensource license issues · Issue #99 · codellm-devkit/python-sdk · GitHub
[go: up one dir, main page]

Skip to content
CodeQL needs to be removed due to certain restrictive opensource license issues #99
Closed
@rahlk

Description

@rahlk

Description:
The current implementation promises to support CodeQL for analysis, but its licensing terms impose restrictions that conflict with our project's open-source distribution policies. To ensure compliance and maintain the flexibility of our tool, CodeQL needs to be removed and replaced with an alternative that aligns with our licensing requirements.

Steps to Reproduce:

  1. Clone the repository.
  2. Navigate to the analysis module (cldk/analysis/java/codeql in this case).
  3. Encounter conflicts due to CodeQL's licensing restrictions.

Expected Behavior:
The analysis should function without relying on or offering support for CodeQL components until a better solution is found for reconciling with the restrictive licensing. Continued and rich support with codeanalyzer-java will maintained to ensure full compliance with open-source licensing policies.

Actual Behavior:
CodeQL's inclusion imposes legal constraints, limiting redistribution and modification under certain open-source licenses.

Suggested Fix:

  • Remove CodeQL as one of the analysis backend until licensing can be resolved.
  • Update documentation and code examples accordingly (if applicable).

Environment:

  • OS: all supported
  • Tool Version: 0.4.0 (and lower)

Additional Context:
Code snippets referencing CodeQL, such as in the CLDK core module, should be refactored. Example:

>>> cldk = CLDK(language="java")
>>> j_analysis = cldk.analysis(
    project_path="path/to/project", 
    analysis_backend="codeql",  # This needs to be d
    eager=True,
    **kwargs
    )

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0