Giter Club home page Giter Club logo

Comments (6)

danryder avatar danryder commented on May 24, 2024

What are the pros? Is this like the new hotness for config files?

To me seems like overkill (but maybe I missed the point)

If it's to support multiple targets, I'd rather have the concept of targets
within a single config so I don't have to repeat credentials and maintain
them in multiple places

On Fri, Feb 12, 2016 at 4:31 PM, Daniel Schep [email protected]
wrote:

Should I use XDG Base dirs for the config? EG: ~/.config/ntfy/ntfy.yml
instead of ~/.ntfy.yml. Use ~/Library/Appplication Support/ntfy/ntfy.yml
on Mac?

ref:
http://stackoverflow.com/questions/3373948/equivalents-of-xdg-config-home-and-xdg-data-home-on-mac-os-x


Reply to this email directly or view it on GitHub
#20.

from ntfy.

dschep avatar dschep commented on May 24, 2024

Cleaner home dir & more up to date conventions, nothing to do with our discussions around multiple targets and just using multiple configs. I probably won't ever implement this 😛

from ntfy.

jungle-boogie avatar jungle-boogie commented on May 24, 2024

I support this for two reasons:

  1. cleaner home dir
  2. Those that backup ./config won't have to also include .ntfy

Thanks for the consideration!

from ntfy.

dschep avatar dschep commented on May 24, 2024

Duly noted @jungle-boogie. I guess ntfy could just support both XDG(or other OS equivalents) and ~/.ntfy.yml locations. With.. the XDG style taking precedence i guess since it's more "correct."

from ntfy.

tjbenator avatar tjbenator commented on May 24, 2024

+1

from ntfy.

dschep avatar dschep commented on May 24, 2024

Note, the solution merged in e01c65d retains backwards compatibility with ~/.ntfy.yml config files, but prefers OS specific locations (such as ~/.config/ntfy/ntfy.yml on Linux).

from ntfy.

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.