Eclipse CLI Assessment and Recommendation Engine
Project description
Eclipse CLI Assessment and Recommendation Engine
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:
- Eclipse project governance articles on eclipse.org.
- Committer training resources for developers and maintainers.
- EMO Office hours to ask us anything!
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:
- Clone the repository.
- Get Hatch to build the tool.
- 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.inifile 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8d2f7fc82edef656fbb05a964e0ff042931f61b6516eaa6368173e68d889983
|
|
| MD5 |
c0e23cebe70559e55dc57d8369b85b68
|
|
| BLAKE2b-256 |
6c406a26b748be36f5c76006b4503f3f2742225b34b496191056d2b1cd56ed80
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
281e44a42c372312a46bd4c8f532552b072d1cdd075e0b67445a75d1a92e0ffb
|
|
| MD5 |
6e0a16f142c102b359b46cfba96907a5
|
|
| BLAKE2b-256 |
fcadc1d935f9abd463ba7c383f5b21697c62e524c1ed92a26b185bef6ef4d2f8
|