Proposal for a Summary Mode to Display Diff Status by Resource
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず、既存の diffs コマンドとその --filter の動作を追跡します。差分があるリソースとないリソースのサマリー出力を定義し、その後、ユーザーが既存のフィルターワークフローを使って選択したリソースの完全な diff を確認できることを検証します。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 81
- フォーク
- 26
- 平均マージ
- 10時間 34分
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DataDog/datadog-sync-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
DataDog/datadog-sync-cli#729 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
DataDog/datadog-sync-cli#698 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
CCM Resourcesオープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
DataDog/datadog-sync-cli#697 ·
メンテナーはふだん 1 日以内に返信
-
All security_monitoring_rules fail to sync: cases.condition is stripped from the create payloadオープン
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
DataDog/datadog-sync-cli#598 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
DataDog/datadog-sync-cli#597 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
DataDog/datadog-sync-cli の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 66/100
AlexsLemonade/scpca-docs#518 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
rocketride-org/rocketride-server#2705 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Metabuilder-Labs/tokenjam#786 ·
メンテナーはふだん 1 日以内に返信
-
prototype(verifier_token): map disallowed warning to contraindicated before composite precedence check対応中かも @drk-ram が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
agentrust-io/trace-spec#582 ·
メンテナーはふだん 1 日以内に返信
-
area:cli priority:low refactor size:small
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
RonaldHensbergen/composable-data-stack#906 ·
メンテナーはふだん 1 日以内に返信