Skip to main content

Python engine for ManageProjectTool — audits and manages repositories

Project description

ManageProjectTool

ManageProjectTool audita repositorios con un engine Python, un coordinator Node.js, una app Electron y una GitHub Action reutilizable para CI.

Capacidades actuales

  • Ejecuta checks core y plugins sobre documentación, CI, dependencias y seguridad.
  • Aplica severidades efectivas (error, warning, info) y umbrales como thresholds.maxWarnings desde mpt.config.json.
  • Expone un CLI standalone con mpt scan y mpt init.
  • Genera reportes en JSON, HTML y Markdown según el flujo de uso.

Uso local

CLI Python

python -m engine.cli scan .
python -m engine.cli scan . --format json
python -m engine.cli init .

Validación del workspace

npm install
npm run validate

npm run validate ejecuta formato, linters y tests en secuencia.

Preparación de release (Fase B)

npm run release:check

Este comando valida prerequisitos implementables en el repo para v0.1.0 (LICENSE, artefactos de Action y assets de Electron) y lista pendientes externos como Trusted Publisher en PyPI, NPM_TOKEN y Marketplace.

GitHub Action

La Action Docker definida en la raíz permite reutilizar el engine sin levantar el coordinator.

name: Scan repository

on:
  pull_request:
  workflow_dispatch:

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Run ManageProjectTool
        id: mpt
        uses: jaminsmoke/ManageProjectTool@v0.1.0
        with:
          target-path: .
          format: markdown
          checks: readme-presence,lockfile,ci-workflow-presence
      - name: Upload report
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: mpt-report
          path: ${{ steps.mpt.outputs.report-path }}

Entradas soportadas:

  • target-path: ruta relativa dentro de GITHUB_WORKSPACE.
  • checks: lista separada por comas; vacía usa mpt.config.json o todos los checks.
  • format: markdown o json.

Salidas expuestas:

  • report-path: fichero generado en reports/.
  • exit-code: resultado efectivo de la política de severidad.
  • summary-json: resumen compacto para pasos posteriores.

Documentación

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

manage_project_tool-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

manage_project_tool-0.1.0-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file manage_project_tool-0.1.0.tar.gz.

File metadata

  • Download URL: manage_project_tool-0.1.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for manage_project_tool-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c11cd5a78ca40ef6e2edf8b2506c065ba33fa79472bfa9ca3c1fcf8c3ff19bab
MD5 2fb4566b191572a93e83b8ae4ec5da86
BLAKE2b-256 92f1acae9bebdb506585f97b2177b2d06a3a9cc440349e49365b5f0628e44597

See more details on using hashes here.

Provenance

The following attestation bundles were made for manage_project_tool-0.1.0.tar.gz:

Publisher: ci.yml on jaminsmoke/ManageProjectTool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file manage_project_tool-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for manage_project_tool-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad3937aa1b5917c5636bb3a7bcdc2eac25c4606473bfdad9955ac943a4449575
MD5 68291afbaa79b61c89f75fb4280434a8
BLAKE2b-256 ed50492a3fbdd602ca55c4bea76d22d924316a2168f18fee3a0a7e085616219d

See more details on using hashes here.

Provenance

The following attestation bundles were made for manage_project_tool-0.1.0-py3-none-any.whl:

Publisher: ci.yml on jaminsmoke/ManageProjectTool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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