Coder Social home page Coder Social logo

Comments (5)

yeskunall avatar yeskunall commented on June 3, 2024 3

Probably because the entire CLI was rewritten in Rust.

from cli.

uncenter avatar uncenter commented on June 3, 2024 1

People that have tried to be "smart" or "creative" have caused a lot of mess, which this library is intended to reduce/fix.

Yikes 😬 this comment (for me) is immediately invalidated because OP does not provide any context/proof behind their statement. What mess? How is their library solving it?

The “problem” with the XDG spec is adoption, not implementation. I use the XDG spec to keep my $HOME de-cluttered, much like my IRL home.

Thanks for digging this up @uncenter. Given that this has received no response from anybody on the team in over a year, I imagine this is very low priority for them. I’ll keep it open for now, I guess.

I think you and I are in the same boat - I use macOS and I have set my XDG_* variables because $HOME/.config makes much more sense than Library/Application Support! I think this is a common pattern across crates that serve this purpose. All of the ones I found only try to use XDG_* when it is Linux, and use other OS-provided directories on Mac and Windows. I'm surprised that seemingly none of these maintainers use macOS! I think I'll open another issue on the dirs crate and suggest adding a parameter to prefer XDG_* or something.

from cli.

uncenter avatar uncenter commented on June 3, 2024

Is there a reason that PR was closed without comment? Seems like an important consideration.

from cli.

uncenter avatar uncenter commented on June 3, 2024

I've done some searching and it seems that the dirs crate is used to get the home directory with the current implementation. The lead maintainer of dirs explicitly said they won't be preferring XDG_* on non-XDG platforms, so this has to either be resolved here or we could consider switching to a different crate.

from cli.

yeskunall avatar yeskunall commented on June 3, 2024

People that have tried to be "smart" or "creative" have caused a lot of mess, which this library is intended to reduce/fix.

Yikes 😬 this comment (for me) is immediately invalidated because OP does not provide any context/proof behind their statement. What mess? How is their library solving it?

The “problem” with the XDG spec is adoption, not implementation. I use the XDG spec to keep my $HOME de-cluttered, much like my IRL home.

Thanks for digging this up @uncenter. Given that this has received no response from anybody on the team in over a year, I imagine this is very low priority for them. I’ll keep it open for now, I guess.

from cli.

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.