open-remote-ssh
                                
                                 open-remote-ssh copied to clipboard
                                
                                    open-remote-ssh copied to clipboard
                            
                            
                            
                        Delete Old VSCodium-REH Binary Directories
I have a limited home space and with the last few updates to VSCodium I managed to fill my home dir with vscodium-reh binaries.
I have a PoC but needs a bit of cleaning, but just for the record, here is what would be expected out of this:
- Delete old instance directories (I was thinking older than 3 releases but might make this number variable)
- Check that the binary is not actually running (if so, maybe have the option to force kill it?)
@jeanp413 please advice.
@lex-ibm yep sounds good in general except for force kill, if server is running most probably there's another client connected using older version of vscode, server will kill itself after 5 min if there's no connection
We don't have the hash for the previous versions, the only thing that may be used is the time stamp. But this still would not qualify enough, because a user may connect from 5 different machines using 3 different versions of vscode - so the server needs to be different, too and those 3 need to be kept, not the 3 newest ones.
Therefore I think - in any case - that this would need to be an extension setting, either opt-in, opt-out, or "keep only the versions with the configured hashes".