]>
ruderich.org/simon Gitweb - config/dotfiles.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Simon Ruderich [Sun, 15 Mar 2009 13:51:59 +0000 (14:51 +0100)]
tests: Add test for m4() with multiple arguments.
Simon Ruderich [Mon, 16 Mar 2009 15:36:25 +0000 (16:36 +0100)]
lib.sh: Add Gentoo support to os().
Simon Ruderich [Sun, 1 Mar 2009 15:36:46 +0000 (16:36 +0100)]
sync.sh: Status also displays unpushed commits.
Simon Ruderich [Sun, 1 Mar 2009 15:31:37 +0000 (16:31 +0100)]
tests: Add tests for m4() in lib.sh.
Simon Ruderich [Sun, 1 Mar 2009 15:19:29 +0000 (16:19 +0100)]
lib.sh: m4() define useful macros.
At the moment only IF and FI are defined which can be used for easy checking
of variables. They use the ifelse() macro.
Simon Ruderich [Sun, 1 Mar 2009 15:17:42 +0000 (16:17 +0100)]
lib.sh: Add os function which returns current OS.
Works on Debian and Mac OS X at the moment.
Simon Ruderich [Sun, 1 Mar 2009 14:30:18 +0000 (15:30 +0100)]
sync.sh: Status is the default command now.
It was fetch, but this was rather unintuitive.
Simon Ruderich [Tue, 24 Feb 2009 21:09:06 +0000 (22:09 +0100)]
Add Vim modeline to lib.sh.test.
Simon Ruderich [Tue, 24 Feb 2009 21:05:04 +0000 (22:05 +0100)]
Add tests for BSD which on Mac OS X.
This is additional to
4cb251564b860a64b316aba2cb3ab376ce6c36de .
Simon Ruderich [Tue, 24 Feb 2009 20:18:35 +0000 (21:18 +0100)]
Fix installed() in setup.sh on Mac OS X.
which on Mac OS X doesn't use proper exit code.
Also test for ls instead of which as it caused problems. I have no idea why.
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.