Skip to main content

GestionIncidenciasTipoBug

Este repositorio contiene el código fuente para una aplicación de gestión de incidencias tipo bug.

Descripción

GestionIncidenciasTipoBug es una funcion que te brinda la capacidad de reportar y gestionar incidencias y errores en tu código de manera efectiva y colaborativa. Esta funcion está diseñada para agilizar y optimizar el proceso de detección y seguimiento de bugs en los proyectos de software.

Características

  • Comunicación Asíncrona con Rabbit MQ: GestionIncidenciasTipoBug utiliza una comunicación asincrónica a través de Rabbit MQ, lo que permite un flujo constante y fluido de información entre los miembros del equipo.

  • Reporte Rápido y Preciso: La aplicación proporciona un proceso de reporte de bugs sencillo e intuitivo.

  • Seguimiento de Incidencias en Tiempo Real: GestionIncidenciasTipoBug ofrece una vista en tiempo real de todas las incidencias registradas.

  • Notificaciones Personalizadas: GestionIncidenciasTipoBug permite configurar notificaciones personalizadas para mantener a todos los miembros del equipo informados sobre las actualizaciones de incidencias importantes.

Requisitos

Antes de ejecutar la aplicación, es importante asegurarte de que tengas instalados los siguientes componentes y bibliotecas en tu entorno de desarrollo:

  • Python 3

Bibliotecas de Python:

  • pika: Permite interactuar con RabbitMQ.

pip install pika

Para obtener más información sobre RabbitMQ y cómo usar la biblioteca pika, puedes consultar la documentación oficial y tutoriales:

Consideraciones

Obtener el ID del proyecto en Jira:

La URL https://dsinno.atlassian.net/rest/api/latest/project/<CLAVE> se utiliza para acceder a la API de Jira y obtener información sobre un proyecto específico. La en la URL debe reemplazarse con la clave única del proyecto que deseas consultar. Al hacer una solicitud GET a esta URL remplazando , obtendrás un conjunto de datos JSON que incluye información sobre el proyecto, incluido su “id”.

Utilizar el ID del proyecto en tu código:

Una vez que has obtenido el ID del proyecto, En el ejemplo proporcionado, el ID del proyecto se asigna a la variable idProyect. Esto te permite rastrear la fuente de los errores y asociarlos con el proyecto correcto en Jira

Uso de la Función ReportBug

Sintaxis

bugReportsInstance = BugReports(user="name_user", password="password", host="server_address", queue="queue")
bugReportsInstance.bugReports(idProyecto, area, title)

Ejemplo

from IncidenciasTipoBug.reportbug import BugReports

try:
    resultado = 10/0
except Exception as e:
    idProyecto = "1234"
    area = "[DEVELOPER]"
    title = str(e)

    # Configure RabbitMQ credentials at library initialization
    bugReportsInstance = BugReports(user="name_user", password="password", host="server_address", queue="queue")
    # And so we would only need to add this line in each Except passing the error as the title of the incident
    bugReportsInstance.bugReports(idProyecto, area, title)

Metadata

Release files for incidentsBugDSI 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for incidentsBugDSI 0.4
File Size Uploaded Provenance
incidentsBugDSI-0.4.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for incidentsBugDSI 0.4
File Interpreter ABI Platform
incidentsBugDSI-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / incidentsBugDSI-0.4.tar.gz

Download URL incidentsBugDSI-0.4.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4c309df5062299ecd2914afc41c2259f0c5a19c0883923e7adaa29fd0f38154a
BLAKE2b-256 checksum
How to use checksums
729cd609587056ee6d33a0a225dc3da1033a7f9ce4919d4c8380224d173f91c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.17

Release files / incidentsBugDSI-0.4-py3-none-any.whl

Download URL incidentsBugDSI-0.4-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e766ba505f3cba1f8f3df8d2ffb722d1c59f7d8b47c81396f4fc7339ce641fb2
BLAKE2b-256 checksum
How to use checksums
3294277dd061bcb4153b2e6235d31fbacd2f5ac87406ce7dfc1118c8ee00598b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.17

Security for incidentsBugDSI 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page