On 18/1/2025 6:10 pm, Michael Albinus wrote:
Could you pls tell what else you need for completion of container names?
Perhaps we can improve Tramp's machinery.

I have a label on dev containers I use, so I want a custom completion function: ps -a --filter 'label=jam.devbox' --format '{{.ID}}\t{{.Names}}'

I also want to pass the workdir flag to Podman when `podman exec` is invoked.

I've read the docs a few times but all the different ways one can customise how Tramp makes a connection feel overwhelming: create your own method, connection local variables, default values for connections based on application and protocol, etc.

Tacking something on here, I also notice that tramp-list-connections always returns nil for me (on 2.8.0pre), is this the case for you? I've spent the past 6 hours trying to figure out why and I must admit I am exhausted.

Tramps codebase feels very complex and I wonder if there is opportunity to simplify it a great deal (I say this as one willing to assist in that). Overall I think I've spent about 50 hours this past 2 weeks trying to understand why Tramp is doing what it is doing, where errors are occurring etc it feels very brittle and I mostly just want to get the work I want to be doing done instead. Or, if I am working on Tramp in some regard the ability to make progress as all the indirection, complex implementation, and difficulty debugging leaves me feeling stonewalled almost the entire time.

/Jordan




Reply via email to