detect "dirty" git working tree
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Git ブランチとコミットハッシュを報告する bundle の deploy/update パスから始め、次に Git メタデータをどのように取得しているかを調べます。同期済みファイルに未コミットの変更を含む checkout で結果を検証し、表示されたコミット識別子によってデプロイが dirty として示されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Describe the issue
When deploy/update a bundle, it will show the Git Branch and Commit Hash-ID.
But if the user has un-committed changes, this technically not correct.
Configuration
Just change any of the files being synced, in your local Git checkout, and do a deploy without doing a "git add / commit" first.
Expected Behavior
It should some how show that the deploy is "dirty", possibly by just suffixing the Commit Hash-ID with -dirty
An example how it can be detected (there might be better options):
[[ -n `git status -s` ]] && echo "dirty"
If it could also detect if the commit is local-only or also pushed to "remote origin", would be a really cool bonus!
Actual Behavior
It just shows the last committed Hash ID, which doesn't reflect that the files and resources might be different than the source-of-truth.
- 主要言語
- Go
- スター
- 427
- フォーク
- 267
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 233
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
databricks/cli のほかの issue
-
Apps commands only accept relative path to app.yml対応中かも @yuri-rod が 38 日前に担当しました。 オープンCLI
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
databricks/cli#6910 ·
メンテナーはふだん 1 日以内に返信
-
DABs
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
databricks/cli#6670 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Bump vulnerable dependencies workflow is failing対応中かも @shreyas-goenka が今日担当しました。 オープンbump-vuln-deps-failure
databricks/cli#7531 · コメント 1 件 · 担当者 7 名 ·
メンテナーはふだん 1 日以内に返信
-
bundle run on an app fails with "not in RUNNING state" when the app's compute is UPDATING対応中かも @andrewnester が 1 日前に担当しました。 オープンBug DABs
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
databricks/cli#7451 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Bundle deploy of an AI/BI dashboard breaks viewers' private bookmarks (UI save + publish does not)オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
databricks/cli#7419 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
prime-radiant-inc/evener#6241 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
coder/openstorage#807 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
NVIDIA/kubectl-nv#100 ·
メンテナーはふだん 1 日以内に返信
-
TestNoEagerPackageRegexps red on main: internal/gui/feedback.go:19 compiles a package-level regexpオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信