dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Wondering if .osx should live in its own repo.

Open kevinSuttle opened this issue 13 years ago • 7 comments

What do you think Mat? It's kind of taken on a life of its own. It might be a good centralized place to use the wiki to document the settings and values.

kevinSuttle avatar Dec 05 '13 19:12 kevinSuttle

I’d prefer to keep things the way they are for the following reasons:

  • I’ve gotten used to the current workflow, and would rather not have to update two separate repositories on multiple Macs. It’s hard enough to keep just one in sync across all machines.
  • Lots of existing documents point to https://github.com/mathiasbynens/dotfiles/blob/master/.osx. Those links would break if we moved it elsewhere.

mathiasbynens avatar Dec 05 '13 20:12 mathiasbynens

Fair points. Thanks Mat.

kevinSuttle avatar Dec 05 '13 20:12 kevinSuttle

I guess where I think it gets cumbersome for others is to be able to fork just the .osx file without copy/pasting or the rest of the repo coming along with it, and being able to make one's own customizations without dealing with merge conflicts.

For example, I can't keep the .osx file in my dotfile repo, because it's in yours. So, everyone else has to either copy/paste or maintain 2 repos. Does that make sense (having a hard time explaining)?

kevinSuttle avatar Dec 05 '13 20:12 kevinSuttle

Yeah, that’s a fair point too.

mathiasbynens avatar Dec 05 '13 20:12 mathiasbynens

@kevinSuttle FWIW, I've settled on a workflow where instead of having a direct link back to this repo, I keep my own versioned copy of .osx and use GitHub's watch feature to monitor changes in this one. The updates/PRs usually aren't so numerous that I can't go through them every few days, and it's nice to be able to cherry pick the new ideas I want to use in an ad-hoc way.

Not as smooth as a merge, but then again, my .osx file is certainly different than Mathias' (despite using his as a base), so I think it's a nice tradeoff.

jonlong avatar Dec 05 '13 20:12 jonlong

Thanks @jonlong. Could it live as a submodule in this repo, Mat?

kevinSuttle avatar Dec 05 '13 20:12 kevinSuttle

BTW: https://github.com/kevinSuttle/OSXDefaults

kevinSuttle avatar Dec 05 '13 20:12 kevinSuttle