coder / coder/code-server

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

オープン
#6,834 コメント 6 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
79.3k
フォーク
6.8k
平均マージ
2日 6時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。