coder / coder/code-server

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

Aperta
#6,834 6 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
79.3k
Fork
6.8k
Merge medio
2g 6h
PR unite (30g)
41

Descrizione

### 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`.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.