coder / coder/code-server

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

Abierto
#6,834 6 comentarios 1 reacción 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
79.3k
Forks
6.8k
Merge medio
2 d 6 h
PR fusionados (30 d)
41

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.