Skip to content
Snippets Groups Projects
Commit 18af864f authored by Richard Hartmann's avatar Richard Hartmann
Browse files

Merge tag 'v1.0-1' into debian-squeeze

Conflicts:
	debian/changelog
parents d8bb1185 343a0b47
No related branches found
No related tags found
No related merge requests found
Richard Hartmann <richih.mailinglist@gmail.com> <richih+github.com@richih.org>
Alphabetical list of everyone who ever committed to this repository
Vincent Demeester <vincent@demeester.fr>
Richard Hartmann <richih+github.com@richih.org>
Valentin Haenel <valentin.haenel@gmx.de>
Richard Hartmann <richih.mailinglist@gmail.com>
Dieter Plaetinck <dieter@plaetinck.be>
Corey Quinn <corey@sequestered.net>
......
......@@ -43,4 +43,4 @@ test:
if which git > /dev/null ; then :; else echo "'git' not found, exiting..."; exit 1; fi
moo:
if [ -x /usr/games/cowsay ]; then /usr/games/cowsay "I hope you're happy now..."; fi
@if [ -x /usr/games/cowsay ]; then /usr/games/cowsay "I hope you're happy now..."; fi
# Archlinux
AUR does not require any packaging information within this repository.
# Debian
Debian packages are provided by the author in separate branches, maintained in
the upstream repository
## Ubuntu
Ubuntu imports Debian's package automagically.
# Anything else
If you are maintaining a package for a different distribution, please get
in touch so your work can be included in another branch, thus allowing others
to adapt it to their needs or to improve it.
......@@ -35,6 +35,11 @@ The following overview will try to give you an idea of the use cases and
advantages of vcsh. See sections 3 and 4 for detailed instructions and
examples.
## 2.1 Talks ##
Some people found it useful to look at slides and videos explaining how vcsh works.
They can all be found at [here](http://richardhartmann.de/talks/).
# 3 Overview
## 3.1 Comparison to Other Solutions ##
......@@ -197,19 +202,48 @@ the template will be stored.
apt-get install mr
#### 4.1.2 Clone the Template ####
#### 4.1.2 Install vcsh ####
#### 4.1.2.1 Debian ####
If you are using Debian Squeeze, you will need to enable backports
apt-get install vcsh
#### 4.1.2.2 Arch Linux ####
vcsh is availabe via [AUR](https://aur.archlinux.org/packages.php?ID=54164)
and further documentation about the use of AUR is available
[on Arch's wiki](https://wiki.archlinux.org/index.php/Arch_User_Repository).
cd /var/abs/local/
wget https://aur.archlinux.org/packages/vc/vcsh-git/vcsh-git.tar.gz
tar xfz vcsh-git.tar.gz
cd vcsh-git
makepkg -s
pacman -U vcsh*.pkg.tar.xz
#### 4.1.2.3 From source ####
If your version of mr is older than version 1.07, make sure to put
include = cat /usr/share/mr/vcsh
into your .mrconfig .
# choose a location for your checkout
cd $HOME
mkdir -p ~/work/git
git clone git://github.com/RichiH/vcsh.git vcsh
# make sure 'include = cat /usr/share/mr/vcsh' points to an exiting file
vim .mrconfig
git clone git://github.com/RichiH/vcsh.git
cd vcsh
ln -s vcsh /usr/local/bin # or add it to your PATH
cd
#### 4.1.3 Clone the Template ####
vcsh clone git://github.com/RichiH/vcsh_mr_template.git mr
#### 4.1.3 Enable Your Test Repository ####
#### 4.1.4 Enable Your Test Repository ####
mv ~/.zsh ~/zsh.bak
mv ~/.zshrc ~/zshrc.bak
......@@ -218,7 +252,7 @@ the template will be stored.
cd
mr up
#### 4.1.4 Set Up Your Own Repositories ####
#### 4.1.5 Set Up Your Own Repositories ####
Now, it's time to edit the template config and fill it with your own remotes:
......
2012-06-30 Richard Hartmann <richih.mailinglist@gmail.com>
* Release 1.0
* Make `vcsh list` more resilient
* Lots of doc improvements
2012-02-27 Richard Hartmann <richih.mailinglist@gmail.com>
* Refactor Makefile
......
vcsh (1.0-1) unstable; urgency=low
* New upstream release
+ Make `vcsh list` more resilient
+ Lots of doc improvements
-- Richard Hartmann <richih.mailinglist@gmail.com> Sat, 30 Jun 2012 01:49:00 +0200
vcsh (0.20120227-1~bpo60+1) squeeze-backports; urgency=low
* Rebuild for squeeze-backports.
......
......@@ -10,7 +10,7 @@ Homepage: https://github.com/RichiH/vcsh/blob/master/README.md
Package: vcsh
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, git
Depends: ${misc:Depends}, ${shlibs:Depends}, git
Recommends: mr (>= 1.07), ssh-client
Description: manage config files in $HOME via fake bare git repositories
vcsh allows you to have several git repositories, all maintaining their working
......
......@@ -2,8 +2,8 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: vcsh
Upstream-Contact: <richih.mailinglist@gmail.com>
Source: https://github.com/RichiH/vcsh
License: GPL-2+
Copyright: 2011-2012 Richard Hartmann
License: GPL-2+
Files: *
Copyright: 2011-2012 Richard Hartmann <richih.mailinglist@gmail.com>
......@@ -34,3 +34,4 @@ License: GPL-2+
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
......@@ -160,6 +160,12 @@ You can put any and all commands into this config file and they will be executed
None are known at this time, but reports and/or patches are more than welcome.
## KNOWN ISSUES
As of this writing (June 2012), `vcsh` does not work with `git submodule` due
to limitations within `git`. Depending on when you are reading this, you might
want to consider upgrading.
## HISTORY
Like most people, the author initially made do with a single repository for all
......
......@@ -2,4 +2,4 @@
echo 'Alphabetical list of everyone who ever committed to this repository
'
git log --all --format='%an <%ae>' | sort -u -k2
git shortlog -se --all | cut -f1 --complement | sort -u -k2
......@@ -5,6 +5,11 @@
# For details, see LICENSE. To submit patches, you have to agree to
# license your code under the GNU GPL version 2 or later.
# While the following is not legally binding, the author would like to
# explain the choice of GPLv2+ over GPLv3+.
# The author prefers GPLv3+ over GPLv2+ but feels it's better to maintain
# full compability with git. In case git ever changes its licensing terms,
# this software will most likely follow suit.
[ -n "$VCSH_DEBUG" ] && set -vx
[ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config"
......@@ -22,9 +27,9 @@ help() {
clone <remote> \\
[<repo>] Clone from an existing repository
help Display this help text
delete Delete an existing repository
enter Enter repository; spawn new instance of \$SHELL
help Display this help text
init <repo> Initialize a new repository
list List all repositories
list-tracked List all files tracked by vcsh
......@@ -133,8 +138,8 @@ init() {
}
list() {
for i in "$VCSH_REPO_D"/*.git; do
echo $(basename "$i" .git)
for repo in "$VCSH_REPO_D"/*.git; do
[ -d "$repo" ] && [ -r "$repo" ] && echo $(basename "$repo" .git)
done
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment