coder / coder/code-server

Some directories are separate from --user-data-dir

未關閉
#6,834 6 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
TypeScript
星號
79.3k
分支
6.8k
平均合併
2 天 6 小時
30 天內合併 PR
41

描述

### Steps to Reproduce

Set `--user-data-dir`.

### Expected

Everything should move to that directory.

### Actual

Some things move, but not:
- heartbeat
- coder-logs
- Generated certificates

### Workaround

You can set xdg data home environment variable instead of using the flag.

### Notes

Changing this could be considered be a breaking change? If someone was setting `--user-data-dir` but then relying on these files being in the other location. Not 100% sure how best to proceed. Maybe check if they exist, and if not use the new location, but even that could be breaking.

Maybe introduce a new flag and deprecate `--user-data-dir`.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。