You are not logged in.

#1 2012-01-29 04:49:09

tomd123
Developer
Registered: 2008-08-12
Posts: 565

deploydots - A sensible way to manage and deploy your dotfiles.

Background:
I recently wanted to put some of my dotfiles under a git repository.
The problem was that I came across a lot of home grown tools that either didn't put thought into how to manage the layout or were completely specific for the repository they were used for.

Solution:
I wrote deploydots which uses a thought out layout to manage and tool to install your ~/dotfiles folder.

Link to deploydots: https://github.com/gostrc/deploydots
Please read the README.md for full details and why I chose the design I did.

Quick example creating a dotfiles directory:
mkdir ~/dotfiles
cd dotfiles
git init
cp ~/.vimrc vimrc
cp -r ~/.xmonad xmonad
git add -A
git commit -m 'initial commit'

Quick example creating symlinks from your dotfiles directory:
$ deploydots

I also released some of my dotfiles since I wrote this tool in the first place to help manage them: https://github.com/gostrc/dotfiles

Offline

#2 2012-01-29 17:18:44

xiaq
Member
From: somewhere in China...
Registered: 2011-03-06
Posts: 89

Re: deploydots - A sensible way to manage and deploy your dotfiles.

I have been doing this with a dozen of shell scripts, one to deploy, one to sync to my servers. IMHO Ruby is perhaps overkill for such tasks...

Offline

#3 2012-03-11 20:31:35

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: deploydots - A sensible way to manage and deploy your dotfiles.

tomd123 wrote:

Background:
I recently wanted to put some of my dotfiles under a git repository.
The problem was that I came across a lot of home grown tools that either didn't put thought into how to manage the layout or were completely specific for the repository they were used for.

Solution:
I wrote deploydots which uses a thought out layout to manage and tool to install your ~/dotfiles folder.

Link to deploydots: https://github.com/gostrc/deploydots
Please read the README.md for full details and why I chose the design I did.

Quick example creating a dotfiles directory:
mkdir ~/dotfiles
cd dotfiles
git init
cp ~/.vimrc vimrc
cp -r ~/.xmonad xmonad
git add -A
git commit -m 'initial commit'

Quick example creating symlinks from your dotfiles directory:
$ deploydots

I also released some of my dotfiles since I wrote this tool in the first place to help manage them: https://github.com/gostrc/dotfiles

Inspired by your work, I wrote a script using bash to do a similar thing, but  with other structure changes, maybe you are instered to have a look.

https://github.com/techlivezheng/dotploy

Last edited by techlive (2012-03-11 20:32:13)

Offline

Board footer

Powered by FluxBB