]>
ruderich.org/simon Gitweb - config/dotfiles.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Simon Ruderich [Mon, 23 Feb 2009 17:49:09 +0000 (11:49 -0600)]
Add installed() function to check if a program exists.
This can be used in setup.sh functions so links are only installed for
applications which exist on the machine.
Also add tests for the function.
Simon Ruderich [Sat, 21 Feb 2009 23:07:17 +0000 (17:07 -0600)]
Abort if the fetch fails in setup.sh.
This prevents that the push rule is added multiple times to .git/config if a
fetch failed.
Simon Ruderich [Sat, 21 Feb 2009 23:04:43 +0000 (17:04 -0600)]
setup.sh runs gc on newly created repositories.
Simon Ruderich [Sat, 21 Feb 2009 23:03:36 +0000 (17:03 -0600)]
setup.sh removes the remote if fetching was unsuccessful.
This makes fixing the remote easier as it's not necessary to remove it before
trying to add it again.
Simon Ruderich [Sat, 21 Feb 2009 22:46:43 +0000 (16:46 -0600)]
setup.sh can create repositories and setup remotes.
See the source for more information.
Simon Ruderich [Sat, 21 Feb 2009 22:27:08 +0000 (16:27 -0600)]
Fix leaking a variable in lib.sh.
Simon Ruderich [Sat, 21 Feb 2009 01:02:54 +0000 (19:02 -0600)]
Find git directories in setup.sh automatically.
Simon Ruderich [Sat, 21 Feb 2009 00:42:28 +0000 (18:42 -0600)]
Improve documentation in setup.sh.
Simon Ruderich [Sat, 21 Feb 2009 00:14:21 +0000 (18:14 -0600)]
Fix doc typo in setup.sh.
Simon Ruderich [Wed, 18 Feb 2009 20:03:43 +0000 (21:03 +0100)]
Merge commit 'rammstein/master'
Conflicts:
sync.sh
Simon Ruderich [Wed, 18 Feb 2009 23:59:28 +0000 (00:59 +0100)]
Run status after a fetch in sync.sh.
So new changes are easily detected.
Simon Ruderich [Wed, 18 Feb 2009 23:50:17 +0000 (00:50 +0100)]
Remove ".git" from repository output in sync.sh.
Also improve status output.
Simon Ruderich [Wed, 18 Feb 2009 20:01:03 +0000 (21:01 +0100)]
Only print status output if git log did in sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 19:33:09 +0000 (20:33 +0100)]
Add status method to sync.sh.
This displays commits not on master for each git repository.
Simon Ruderich [Wed, 18 Feb 2009 19:28:08 +0000 (20:28 +0100)]
Remove an unnecessary check in sync.sh.
This was a leftover from setup.sh but as sync.sh uses find to get the git
repositories they always exist.
Simon Ruderich [Wed, 18 Feb 2009 19:24:52 +0000 (20:24 +0100)]
Fix doc typo in sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 19:22:43 +0000 (20:22 +0100)]
Add shortcuts to sync.sh
fe for fetch, pu for push. Also improve the usage output if a wrong method was
used.
Simon Ruderich [Wed, 18 Feb 2009 19:19:27 +0000 (20:19 +0100)]
Update doc for sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 19:17:37 +0000 (20:17 +0100)]
sync.sh supports pushing to remotes.
`sync.sh` or `sync.sh fetch` fetches, `sync.sh push` pushes to all remotes.
Simon Ruderich [Wed, 18 Feb 2009 18:51:07 +0000 (19:51 +0100)]
Add sync.sh which fetches all remote branches.
All remote branches of all git repositories in or under this directory are
fetched.
Simon Ruderich [Wed, 18 Feb 2009 17:21:29 +0000 (18:21 +0100)]
Use setup.sh instead of Makefile.
This was done as shell scripts are far more expandable than Makefiles.
link.sh and m4.sh were converted to functions and stored in lib.sh. The
subdirectories include it and call link() and m4() when necessary.
As the subdirectories also no longer use Makefiles for the setup task, the new
setup.sh scripts calls their setup.sh scripts.
Simon Ruderich [Wed, 18 Feb 2009 15:56:01 +0000 (16:56 +0100)]
Add better debug output to m4.sh and link.sh.
Simon Ruderich [Wed, 18 Feb 2009 15:40:23 +0000 (16:40 +0100)]
Fix typo in m4.sh.
Simon Ruderich [Tue, 17 Feb 2009 15:18:21 +0000 (16:18 +0100)]
Add setup support.
The Makefile contains a setup target which runs setup in the subdirectories.
Simon Ruderich [Mon, 16 Feb 2009 14:10:40 +0000 (15:10 +0100)]
Simon Ruderich [Mon, 16 Feb 2009 14:09:39 +0000 (15:09 +0100)]
Fix minor typo in README.
Simon Ruderich [Mon, 16 Feb 2009 13:14:21 +0000 (14:14 +0100)]
Add m4.sh to process files with m4.
The syntax is `m4.sh filename args-to-m4` which processes filename.m4 and
writes it to filename. Additional arguments are passed to m4.
This script differs from just calling m4 that it writes the header "Do not
edit this file" to the generated file to prevent accidental changes.
Simon Ruderich [Sun, 15 Feb 2009 16:23:01 +0000 (17:23 +0100)]
Add link.sh to create symbolic links to conf files.
It's used by Makefiles in subdirectories (like mail, shell, etc.) to create
symbolic links in ~/ to their configuration files so all configuration data
can be kept in one place.
Simon Ruderich [Sun, 15 Feb 2009 16:19:51 +0000 (17:19 +0100)]
Initial import.
Contains only README at the moment.