Giter Site home page Giter Site logo

Comments (4)

aviramha avatar aviramha commented on June 5, 2024 1

I've sent a PR - we just had 2 releases today so I'd prefer to postpone it to early next week ;)

from mirrord.

aviramha avatar aviramha commented on June 5, 2024 1

@jstrachan not sure if we have the project directory from our context - seems there's an open issue for IntelliJ to provide it
https://youtrack.jetbrains.com/issue/IDEA-122504
Sadly it is open for quite long time, but it seems to be updated lately so maybe there's hope!
If you'd like to send a PR for the IntelliJ plugin to do it from our side, feel free to do so :)

from mirrord.

aviramha avatar aviramha commented on June 5, 2024

Hey! Thanks for the suggestion.
We actually use shellexpand which should support tilde

        let kubeconfig = shellexpand::tilde(&kubeconfig);
        let parsed_kube_config = Kubeconfig::read_from(kubeconfig.deref())?;

I'll send a patch to also expand environment variables - I'm not sure what's the "current directory" from our execution context, but hopefully the env would be good enough?

from mirrord.

jstrachan avatar jstrachan commented on June 5, 2024

@aviramha many thanks!

is there a canonical env var for the current project directory I wonder? I guess thats maybe more of a question for the IntelliJ plugin; it could maybe pass that along when it runs mirrord agent

from mirrord.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.