Skip to main content

Eclipse CLI Assessment and Recommendation Engine

Project description

Eclipse CLI Assessment and Recommendation Engine

Gitlab Pipeline Status PyPI - Version PyPI - Python Version Documentation REUSE status GitLab License

Description

Eclipse CARE lets you assess any Eclipse project regarding Eclipse open source best practices, and get recommendations for improvement.

Its features include:

  • Recommended files (e.g. README, LICENSE, SECURITY, etc.) in repositories (Implemented).
  • Copyright headers checks (Implemented).
  • IP and license management (Coming Soon).
  • Headers generator (Coming Soon).

Resources

Official Documentation - Detailed guides, API reference, and architecture.

To learn more about the Eclipse way on open source best practices, see:

The EMO team also provides several trainings, resources and presentations:

Installation

Eclipse CARE requires Python 3.10 or higher. You can install the package directly from PyPI:

pip install eclipse-care

Or from the source:

  1. Clone the repository.
  2. Get Hatch to build the tool.
  3. Build and install the tool:
hatch build
pip install dist/eclipse_care-*.whl

Usage

Once installed, you can use the eclipse-care command:

Arguments:

  • project_id: The Eclipse project ID to assess (e.g., technology.dash).

Options:

  • -c, --conf: path to an .ini file containing GitHub/GitLab authentication tokens.
  • -m, --modules: Specify which modules to run (e.g., care.legal.recommended_files).
  • -v, --verbose: Display more verbose information during execution.
  • -V, --version: Show the version and exit.

Authentication credentials for GitLab and GitHub can be provided either in a classic .ini file (see the documentation) or in environment variables:

  • GH_AUTH_TOKEN: Your GitHub Personal Access Token.
  • GL_AUTH_TOKEN: Your GitLab Personal Access Token.

Please note that, for GitHub API public access, the API rate limits are very low. It's very likely that you'll get rate limited if you don't provide a GH_TOKEN.

Examples

To analyze a specific project using its ID:

eclipse-care technology.dash

To run with verbose output and a configuration file for credentials:

eclipse-care technology.dash --conf my_config.ini --verbose

To run only a specific module:

eclipse-care technology.dash --modules care.legal.recommended_files

Support

If you need help or have questions, please use the following channels:

  • Issue Tracker: Report bugs or request features on our GitLab instance (preferred).
  • Mailing List: Engage with the community via the Eclipse dash-dev mailing list.

Contributing

We are open to contributions! We recommend the following workflow:

  • Submit an issue describing the feature or bug.
  • Fork the repository and submit a MR.

We aim to review issues and code, and provide feedback diligently.

See the full documentation in the docs/ directory for more information about the coding guidelines and expected resources (e.g. tests, documentation).

Acknowledgment

Eclipse CARE is made possible thanks to the following open-source projects:

  • PyGithub and python-gitlab: For interacting with repository hosting platforms.
  • scancode-toolkit-mini and typecode-libmagic: For advanced license and file type detection.
  • colorama: For providing cross-platform terminal text coloring.
  • hatchling: For the build system and package management.
  • pytest: For our testing infrastructure.
  • mkdocs-material: For generating our project documentation.

License

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0, which is available at http://www.eclipse.org/legal/epl-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eclipse_care-0.0.2.tar.gz (14.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eclipse_care-0.0.2-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file eclipse_care-0.0.2.tar.gz.

File metadata

  • Download URL: eclipse_care-0.0.2.tar.gz
  • Upload date:
  • Size: 14.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.14.3 HTTPX/0.28.1

File hashes

Hashes for eclipse_care-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e8d2f7fc82edef656fbb05a964e0ff042931f61b6516eaa6368173e68d889983
MD5 c0e23cebe70559e55dc57d8369b85b68
BLAKE2b-256 6c406a26b748be36f5c76006b4503f3f2742225b34b496191056d2b1cd56ed80

See more details on using hashes here.

File details

Details for the file eclipse_care-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: eclipse_care-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.14.3 HTTPX/0.28.1

File hashes

Hashes for eclipse_care-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 281e44a42c372312a46bd4c8f532552b072d1cdd075e0b67445a75d1a92e0ffb
MD5 6e0a16f142c102b359b46cfba96907a5
BLAKE2b-256 fcadc1d935f9abd463ba7c383f5b21697c62e524c1ed92a26b185bef6ef4d2f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page