Skip to main content

Eclipse CLI Assessment and Recommendation Engine

Project description

Eclipse CLI Assessment and Recommendation Engine

REUSE status PyPI - Version PyPI - Python Version 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

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., legal.recommended_files).
  • -v, --verbose: Display more verbose information during execution.
  • -V, --version: Show the version and exit.

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 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.1.tar.gz (620.2 kB 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.1-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eclipse_care-0.0.1.tar.gz
  • Upload date:
  • Size: 620.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.11.2 HTTPX/0.28.1

File hashes

Hashes for eclipse_care-0.0.1.tar.gz
Algorithm Hash digest
SHA256 81c5ebb932cf5d1799f32998382ffed35da87eb3334b7848300293d707bb6dd3
MD5 7f6de4fa8abee72c4c45d462c593a88a
BLAKE2b-256 8b817caace4bcbf7ec40c0d5248c928e6c0101a7b77375c956868d9d9277c4b7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eclipse_care-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38f80290bacf15dd55d24521fb207399cc06fbfca28e723867cabaf4051d6066
MD5 492ca30a2ff94edd3446b1eb7a24df3a
BLAKE2b-256 7e0bc8685885f298363f0308de685ef87d20e81aad001d5acbd5229ddb4fca15

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