moon icon indicating copy to clipboard operation
moon copied to clipboard

[feature] Support nesting in `.config` dotfolders

Open vilkinsons opened this issue 2 years ago • 4 comments
trafficstars

Is your feature request related to a problem? Please describe.

Ever-expanding dot clutter in the root of projects is a scourge. I appreciate that you've buried all of yours in a single .moon folder, but this could be improved slightly further.

Describe the solution you'd like

Allow for the .moon folder to be relocated to .config/moon instead. Renovate do something similar, except optionally allow their configurations to be buried within platform-specific .github or .gitlab directories.

Describe alternatives you've considered

n/a

Additional context

We're considering adopting Moon in our # and Þ repos. This would be appreciated.

If you support this, you can get added to the dot-config ecosystem list, as well: https://dot-config.github.io/ (although it is wildly incomplete)

vilkinsons avatar Aug 15 '23 20:08 vilkinsons

While I'm a big fan of the .config folder approach, the .moon folder contains a lot of non-config files. Some examples are all build caches, VCS hooks integration, Docker stuff, and more.

Would feel a bit weird to nest all that under .config.

milesj avatar Aug 16 '23 20:08 milesj

Hey @milesj, thanks for the response. How much of that stuff needs committing to Git? Presumably it is just the config parts? No opposition here to having the rest remain in a .moon folder, and/or having this available on a purely opt-in basis.

p.s. we've been looking for a good Rust/TS monorepo solution for a while as we have Rust libs we maintain like error-stack side-by-side a ton of TS projects in our public monorepo. Excited to see y'all working on this!

vilkinsons avatar Aug 19 '23 01:08 vilkinsons

Fair enough. I'll look into it for a future release.

milesj avatar Aug 24 '23 17:08 milesj

Awesome, thanks @milesj. This plus Renovate support would both help with entropy a lot (in our use case). :)

vilkinsons avatar Aug 24 '23 19:08 vilkinsons