echelon 5 days ago

This. Projects need to stop inventing their own root level files and directories.

Stop polluting the root dir.

I'm not a fan of the name "well-known", but at least it's a convention [1].

I think it'd be great if we took something like XDG [2] and made it common for repositories, build scripts, package managers, tooling configs, etc.

[1] https://www.rfc-editor.org/rfc/rfc8615

[2] https://wiki.archlinux.org/title/XDG_Base_Directory

  • vinnymac 5 days ago

    .config is a good name, and has a small following

    https://dot-config.github.io

  • eadmund 4 days ago

    I believe with direnv or a similar tool (e.g. Emacs’s directory-local feature) one can append $REPO/.config to XDG_CONFIG_HOME, $REPO/.local/bin to PATH and so on so that when in the context of a particular directory everything Just Works.

    I think all this agentic stuff could live quite happily in $REPO/.config/agents/.

  • oblio 4 days ago

    I've been in IT for a long time and configured Apache, Nginx, even IIS a bit back in the day, but I actually didn't know about well-known.

    I guess I was one of the lucky 10000 :-)

    https://xkcd.com/1053/

    • riffic 4 days ago

      in that case it's .not-so-well-known/