GameServerManagers / GameServerManagers/LinuxGSM
[BUG]unbuffer does not work
- Lingua principale
- Shell
- Stelle
- 4.9k
- Fork
- 863
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## User Story
As a lgsm user, I want the unbuffer command to work correctly so that steamcmd update progress will be displayed smoothly, allowing for a better user experience and 3rd party programs to fetch the installation progress more frequently.
## Basic info
* **Distro:** [Debian 10]
* **Command:** [install]
* **LinuxGSM version:** [v21.4.0]
## Further Information
A few years ago, the unbuffer command was implemented into core_dl.sh (see #275 ). Unfortunately it doesn't seem to work anymore. Steamcmd progress output is only being displayed every couple of minutes (I read something about 4kb in text per flush), often resulting in no progress being displayed at all (at least for smaller servers that are downloaded relatively fast).
## To Reproduce
Steps to reproduce the behaviour:
1. Run install for a server using steamcmd.
2. Watch the steamcmd update progress being displayed unsmoothely or not at all
## Expected behaviour
steamcmd progress should be updated every second or so.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con core_dl.sh e l’implementazione di unbuffer a cui fa riferimento #275, quindi riproduci il problema eseguendo install per un server basato su SteamCMD. Il lavoro è completato quando l’avanzamento dell’aggiornamento di SteamCMD viene visualizzato fluidamente circa ogni secondo, invece di essere ritardato o assente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- bash, linux, shell
- Ambito
- cli, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100