Proposal for a Summary Mode to Display Diff Status by Resource
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Comienza rastreando el comando diffs existente y su comportamiento con --filter. Define la salida de resumen para los recursos con y sin diferencias y, a continuación, verifica que los usuarios puedan usar el flujo de trabajo de filtrado existente para inspeccionar el diff completo de un recurso seleccionado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Overview of issue:
Reading through the diffs output has been quite challenging. Currently, the tool provides a comprehensive output for each resource in the diff. However, interpreting the exact differences by manually reading the JSON output is not practical for larger datasets or organizations. It requires significant effort to sift through the details.
Proposed changes:
I propose adding a "summary mode" to the diffs command that lists resources where differences exist, without showing the full diff content initially. This summary mode would provide a high-level view of which resources have changes. Users could then apply filters to narrow down the output as needed, making the tool more user-friendly and efficient for real-world usage in Datadog Organizations data migration scenarios.
Here is an example of what the output could look like:
# this is the format
synced resource Title
execution sample.
datadog-sync diffs --summary
output sample.
O monitors "[Auto] Clock sync in NTP"
X monitors "Server system load.1 has increasing"
X dashboards "Foobar dashboard"
X dashboards "Amazon ECS"
O logs_indexes "foo Index"
O logs_indexes "bar Index"
... and so on
With this summary output, I can easily identify which resources have differences (indicated by "X"). Then, I can check the specific details of a resource's difference using a filter, such as:
datadog-sync diffs --filter='Type=dashboard;Name=name;Value=Foobar dashboard'
This workflow would allow users to quickly locate and focus on the resources with changes, and then use filtering options to drill down into the details when necessary, significantly improving the usability of the tool.
- Lenguaje dominante
- Python
- Estrellas
- 81
- Forks
- 26
- Merge medio
- 10 h 34 min
- PR fusionados (30 d)
- 17
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DataDog/datadog-sync-cli
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
DataDog/datadog-sync-cli#729 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
DataDog/datadog-sync-cli#698 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
CCM ResourcesAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
DataDog/datadog-sync-cli#697 ·
Los mantenedores suelen responder en 1 día
-
All security_monitoring_rules fail to sync: cases.condition is stripped from the create payloadAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
DataDog/datadog-sync-cli#598 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
DataDog/datadog-sync-cli#597 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de DataDog/datadog-sync-cli
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Status: Triaged Type: Enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
canonical/craft-store#448 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
good first issue research size:s skill:numerics sub-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
SKaiNET-developers/SKaiNET#1372 ·
Los mantenedores suelen responder en 1 día
-
debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoft/vscode-flake8#601 ·
Los mantenedores suelen responder en 1 día