detect "dirty" git working tree
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
從回報 Git 分支和 commit hash 的 bundle 部署/更新路徑開始,接著檢查它如何取得 Git 中繼資料。使用包含同步檔案未提交變更的 checkout 驗證結果,並確認顯示的 commit 識別碼會將部署標記為 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 小時
- 30 天內合併 PR
- 233
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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 個 reaction ·
維護者通常 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 小時 新手友好度 66/100
kubernetes-sigs/aws-iam-authenticator#1125 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
prime-radiant-inc/evener#6241 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
snowflakedb/gosnowflake#1864 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
mandiant/VM-Packages#1667 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
coder/openstorage#807 ·
維護者通常 1 天內回覆