madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged.
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
Richard Hartmann [Tue, 29 Nov 2011 14:53:00 +0000 (15:53 +0100)]
Update to mr support
* manpage
* set $VCSH_REPO_NAME (this assumes .git suffix!)
Richard Hartmann [Tue, 29 Nov 2011 13:58:40 +0000 (14:58 +0100)]
Add support for mr
Richard Hartmann [Tue, 29 Nov 2011 14:10:52 +0000 (15:10 +0100)]
Richard Hartmann [Sun, 27 Nov 2011 19:35:41 +0000 (20:35 +0100)]
Fix syntax errors
Richard Hartmann [Sat, 26 Nov 2011 22:32:52 +0000 (23:32 +0100)]
Merge remote-tracking branch 'Dieter_be/master'
Conflicts:
doc/error_codes.md
Richard Hartmann [Sat, 26 Nov 2011 22:13:49 +0000 (23:13 +0100)]
Add more error handling
Richard Hartmann [Sat, 26 Nov 2011 18:01:57 +0000 (19:01 +0100)]
Remove old cleanup code for `vcsh use`
Richard Hartmann [Sat, 26 Nov 2011 17:58:00 +0000 (18:58 +0100)]
Use `rmdir` instead of `rm -rf`
Richard Hartmann [Sat, 26 Nov 2011 17:35:38 +0000 (18:35 +0100)]
Introduce `vcsh mv`
Richard Hartmann [Sat, 26 Nov 2011 10:50:28 +0000 (11:50 +0100)]
Remove duplicate & no-op code
Richard Hartmann [Sat, 26 Nov 2011 10:39:32 +0000 (11:39 +0100)]
Use explicit variable names and improve quoting
Richard Hartmann [Sat, 26 Nov 2011 10:30:12 +0000 (11:30 +0100)]
Introduce `make test`
Dieter Plaetinck [Sat, 26 Nov 2011 10:26:42 +0000 (11:26 +0100)]
remove left-over useless exit code
Richard Hartmann [Fri, 25 Nov 2011 19:24:01 +0000 (20:24 +0100)]
Minor formatting updates
Dieter Plaetinck [Thu, 24 Nov 2011 20:58:31 +0000 (21:58 +0100)]
Cleanup use() exit scenarios
Instead of having use() report a normal error (which is actually fatal)
and returning >0, and calling use || exit $? everytime; just report the
fatal error and quit already
Dieter Plaetinck [Thu, 24 Nov 2011 20:38:27 +0000 (21:38 +0100)]
Cleanup argument parsing and delegation
* move all backend code to separate functions
* call those functions directly
* simplify argument parsing
* remove redundant verbose begin/end messages
Richard Hartmann [Thu, 24 Nov 2011 20:07:39 +0000 (21:07 +0100)]
Clean up Dieter's patches
Richard Hartmann [Thu, 24 Nov 2011 20:00:35 +0000 (12:00 -0800)]
Merge pull request #13 from Dieterbe/master
Introduce fatal(), error(), and info()
Dieter Plaetinck [Thu, 24 Nov 2011 19:31:52 +0000 (20:31 +0100)]
Make info calls consistent
Dieter Plaetinck [Thu, 24 Nov 2011 19:29:00 +0000 (20:29 +0100)]
Make error reporting sane
* refactor error logging code
* make all errors go to stderr
* make fatal errors actually fatal (exit instead of return)
* make output consistent
Richard Hartmann [Thu, 24 Nov 2011 19:05:30 +0000 (20:05 +0100)]
Use exit and {} instead of return and ()
Richard Hartmann [Thu, 24 Nov 2011 18:42:10 +0000 (19:42 +0100)]
Remove `use` and `exit`
Richard Hartmann [Wed, 23 Nov 2011 17:38:36 +0000 (18:38 +0100)]
Introduce `vcsh setup`
Richard Hartmann [Wed, 23 Nov 2011 17:02:44 +0000 (18:02 +0100)]
Re-arrange functions
Richard Hartmann [Wed, 23 Nov 2011 11:46:38 +0000 (12:46 +0100)]
Fix `vcsh clone`
Forgot to set VCSH_COMMAND after the refactoring
Richard Hartmann [Tue, 22 Nov 2011 23:04:33 +0000 (00:04 +0100)]
Update docs
Richard Hartmann [Tue, 22 Nov 2011 23:04:17 +0000 (00:04 +0100)]
Introduce `vcsh enter`
Richard Hartmann [Tue, 22 Nov 2011 23:01:37 +0000 (00:01 +0100)]
Update docs
Richard Hartmann [Tue, 22 Nov 2011 22:55:50 +0000 (23:55 +0100)]
Warn when source-only functions are called in executed context
Richard Hartmann [Tue, 22 Nov 2011 21:00:19 +0000 (22:00 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Tue, 22 Nov 2011 20:09:00 +0000 (21:09 +0100)]
Re-introduce `vcsh use` and `vcsh exit`
github:
closes: #4
Richard Hartmann [Tue, 22 Nov 2011 20:03:05 +0000 (21:03 +0100)]
Ignore Vim swap files
Richard Hartmann [Tue, 22 Nov 2011 19:58:10 +0000 (20:58 +0100)]
Get rid exit(3)
Richard Hartmann [Tue, 22 Nov 2011 18:46:53 +0000 (19:46 +0100)]
Improve seeg-gitignore to work around git's issues; still not happy
Richard Hartmann [Tue, 22 Nov 2011 18:43:17 +0000 (19:43 +0100)]
Rename $REPO_NAME -> $VCSH_REPO_NAME
Richard Hartmann [Tue, 22 Nov 2011 16:28:28 +0000 (17:28 +0100)]
More refactoring cleanups; hopefully the end of this
Richard Hartmann [Tue, 22 Nov 2011 15:48:23 +0000 (16:48 +0100)]
Fix seed-gitignore, which was broken by the refactoring
Richard Hartmann [Mon, 21 Nov 2011 01:44:11 +0000 (02:44 +0100)]
Updated TODO
Richard Hartmann [Sun, 20 Nov 2011 14:33:08 +0000 (15:33 +0100)]
Major refactoring and one new feature
* Handle and sanitize all input in extra block
* Use exported variables instead of daisy-chaining them through functions
* Improve error detection and handling
* Re-order functions in alphabetical order
New feature:
* `vcsh <repo> <gitcommand>` is synonymous with `vcsh run <repo> git <gitcommand>
Richard Hartmann [Sun, 20 Nov 2011 10:43:01 +0000 (11:43 +0100)]
Reformat and update docs, completion etc
Richard Hartmann [Sun, 20 Nov 2011 10:35:18 +0000 (11:35 +0100)]
Update `vcsh delete`
* Be less aggressive when asking for confirmation
* Work independently from $PWD
Richard Hartmann [Sat, 19 Nov 2011 22:37:37 +0000 (23:37 +0100)]
Implement `vcsh delete $repo`
Richard Hartmann [Sat, 19 Nov 2011 16:25:51 +0000 (17:25 +0100)]
Quit vcsh if repo can not be found
Richard Hartmann [Sat, 19 Nov 2011 16:19:35 +0000 (17:19 +0100)]
Remove useless line of code
Richard Hartmann [Sat, 19 Nov 2011 13:09:07 +0000 (14:09 +0100)]
Make seed-gitignore more robust and only update the ignore if needed
Richard Hartmann [Sat, 19 Nov 2011 00:52:19 +0000 (01:52 +0100)]
Make `vcsh seed-gitignore` independent of $PWD
Richard Hartmann [Sat, 19 Nov 2011 00:51:35 +0000 (01:51 +0100)]
Make `vcsh init` create and add $HOME/.gitignore.d/$repo
Richard Hartmann [Sat, 19 Nov 2011 00:31:51 +0000 (01:31 +0100)]
Fix typo
Gernot Schulz [Fri, 18 Nov 2011 18:59:45 +0000 (19:59 +0100)]
Merge branch 'master' into docs
Richard Hartmann [Fri, 18 Nov 2011 18:24:47 +0000 (19:24 +0100)]
Update README.md
github:
fixes #6
Richard Hartmann [Fri, 18 Nov 2011 18:19:39 +0000 (19:19 +0100)]
Update README.md
for github:
fix #9
Richard Hartmann [Fri, 18 Nov 2011 18:04:24 +0000 (10:04 -0800)]
Merge pull request #8 from Dieterbe/xdg
Do not rely on XDG settings being the defaults
The examples may now fail/act weirdly if XDG variables are not set, yet it's an overall benefit to change this.
Richard Hartmann [Fri, 18 Nov 2011 17:57:04 +0000 (18:57 +0100)]
Improve feedback
Richard Hartmann [Fri, 18 Nov 2011 17:54:46 +0000 (18:54 +0100)]
Create .gitignore.d/ in case it does not exist
Richard Hartmann [Fri, 18 Nov 2011 17:09:28 +0000 (18:09 +0100)]
Automate handling of .gitignore.d/$REPO_NAME
excludesfile = .gitignore.d/$REPO_NAME is set on
* init
* clone
* seed-gitignore
Dieter Plaetinck [Fri, 18 Nov 2011 17:03:08 +0000 (18:03 +0100)]
Do not rely on XDG settings being the defaults
Gernot Schulz [Fri, 18 Nov 2011 09:58:19 +0000 (10:58 +0100)]
Some README fixes
Richard Hartmann [Thu, 17 Nov 2011 23:37:07 +0000 (00:37 +0100)]
Ignore patch files
Richard Hartmann [Thu, 17 Nov 2011 23:35:44 +0000 (00:35 +0100)]
Clean and fix docs a bit
Gernot Schulz [Thu, 17 Nov 2011 13:07:22 +0000 (14:07 +0100)]
Merge EXAMPLES into README, restructure, some corrections
Richard Hartmann [Wed, 16 Nov 2011 21:29:16 +0000 (22:29 +0100)]
Introduce seed-gitignore to, well, seed gitignore..
Richard Hartmann [Wed, 16 Nov 2011 20:39:20 +0000 (21:39 +0100)]
Actually commit new INSTALL.md
Richard Hartmann [Wed, 16 Nov 2011 20:32:03 +0000 (21:32 +0100)]
INSTALL.md really only talks about install-related stuff, now
Renamed the original INSTALL.md to EXAMPLES.md and created a new
INSTALL.md
Richard Hartmann [Wed, 16 Nov 2011 11:23:36 +0000 (12:23 +0100)]
Update TOOD
Richard Hartmann [Wed, 16 Nov 2011 11:00:58 +0000 (12:00 +0100)]
Improve error message for aborted clone
Richard Hartmann [Mon, 14 Nov 2011 09:01:09 +0000 (10:01 +0100)]
Make vcsh heed $VCSH_BASE if already defined
Richard Hartmann [Mon, 14 Nov 2011 01:45:31 +0000 (02:45 +0100)]
Create .gitignore
Richard Hartmann [Mon, 14 Nov 2011 01:44:52 +0000 (02:44 +0100)]
Create Makefile
Richard Hartmann [Sat, 12 Nov 2011 09:20:17 +0000 (10:20 +0100)]
Minimal grammatical improvement.
Gernot Schulz [Fri, 11 Nov 2011 15:30:12 +0000 (16:30 +0100)]
Make Markdown source easier to read
Gernot Schulz [Fri, 11 Nov 2011 15:25:54 +0000 (16:25 +0100)]
Some fixes; formatting
Richard Hartmann [Fri, 11 Nov 2011 14:16:04 +0000 (15:16 +0100)]
More formatting...
Richard Hartmann [Fri, 11 Nov 2011 14:14:42 +0000 (15:14 +0100)]
Fix formatting
Richard Hartmann [Fri, 11 Nov 2011 13:25:49 +0000 (14:25 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Fri, 11 Nov 2011 13:25:32 +0000 (14:25 +0100)]
Add a comma
Gernot Schulz [Thu, 10 Nov 2011 20:51:13 +0000 (21:51 +0100)]
add subsection numbering
Gernot Schulz [Thu, 10 Nov 2011 20:42:35 +0000 (21:42 +0100)]
Fix codeblock indentation Thanks to Github's formatting the extra indentation is unnecessary.
Gernot Schulz [Thu, 10 Nov 2011 20:40:18 +0000 (21:40 +0100)]
Cover using vcsh w/o mr in the docs
Richard Hartmann [Fri, 11 Nov 2011 01:28:37 +0000 (02:28 +0100)]
Add ronn-based manpage
Richard Hartmann [Thu, 10 Nov 2011 19:43:50 +0000 (20:43 +0100)]
Enable github to parse INSTALL & README as markdown
Richard Hartmann [Thu, 10 Nov 2011 17:44:49 +0000 (18:44 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Thu, 10 Nov 2011 17:43:50 +0000 (18:43 +0100)]
Extend README
Thanks to Gernot Schulz for writing most of the new content. It somewhat overlaps with INSTALL, but more docs are better either way.
Richard Hartmann [Thu, 27 Oct 2011 21:25:36 +0000 (23:25 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh
Conflicts:
INSTALL
Richard Hartmann [Thu, 27 Oct 2011 21:20:49 +0000 (23:20 +0200)]
Make INSTALL even better
Thanks to Gernot Schulz for most of the changes
Richard Hartmann [Thu, 27 Oct 2011 14:56:51 +0000 (16:56 +0200)]
Improve docs
Richard Hartmann [Wed, 26 Oct 2011 22:27:26 +0000 (00:27 +0200)]
Introduce third way in INSTALL
As this is non-destructive, people may prefer it
Richard Hartmann [Wed, 26 Oct 2011 22:16:12 +0000 (00:16 +0200)]
Make INSTALL easy to use by way of templating
Richard Hartmann [Wed, 26 Oct 2011 21:50:38 +0000 (23:50 +0200)]
Updated TODO
Richard Hartmann [Wed, 26 Oct 2011 20:55:26 +0000 (22:55 +0200)]
Fix init
Richard Hartmann [Wed, 26 Oct 2011 20:47:38 +0000 (22:47 +0200)]
Make debug & verbose testing more resilient
Richard Hartmann [Wed, 26 Oct 2011 20:37:57 +0000 (22:37 +0200)]
Fix stupid bug
Richard Hartmann [Wed, 26 Oct 2011 19:32:53 +0000 (21:32 +0200)]
More quoting and temporary removal of `vcsh exit`
Richard Hartmann [Sat, 22 Oct 2011 16:42:55 +0000 (18:42 +0200)]
`vcsh init` without repo name prints help, now
Richard Hartmann [Tue, 18 Oct 2011 12:23:30 +0000 (14:23 +0200)]
Release of v0.
20111018
* Fixed issue where vcsh init & clone would print help as they
tried to call currently non-existant vcsh use
Richard Hartmann [Mon, 17 Oct 2011 08:19:14 +0000 (10:19 +0200)]
Release of 0.
20111017
* Has been tested on my and other's machines for months
* Includes zsh completion
* Does not support `vcsh use`, but in a releasable state otherwise
Richard Hartmann [Sun, 18 Sep 2011 00:07:40 +0000 (02:07 +0200)]
Switched from [ -n "$state" ] to [ "$state" = '1']
Richard Hartmann [Sat, 17 Sep 2011 23:20:02 +0000 (01:20 +0200)]
Made fully(?) POSIX shell compliant, some minor cleanups
* This version should be fully POSIX shell compliant
* Quoted all variables withing [ ]
* Added debugging and verbose output via shell variables
* Cleaned up INSTALL
Richard Hartmann [Fri, 10 Jun 2011 22:09:12 +0000 (00:09 +0200)]
Updated TODO
Richard Hartmann [Sun, 5 Jun 2011 09:14:56 +0000 (11:14 +0200)]
more TODO
Richard Hartmann [Sat, 4 Jun 2011 08:43:24 +0000 (10:43 +0200)]
Added rudimentary INSTALL file