diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-07-01 23:22:00 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-07-01 23:22:00 -0600 |
commit | 504d11ded8c1e9a0757332f2a10ed7d86dd5fc70 (patch) | |
tree | a3bba73ac491feaaecddca3345d8a54c5673bf72 /plugins/tags | |
parent | 04b12bbea2be03a988e773afcd014a74d37ddca5 (diff) |
A whole bunch of stuff
Diffstat (limited to 'plugins/tags')
-rw-r--r-- | plugins/tags/bin/commit.sh | 24 | ||||
-rw-r--r-- | plugins/tags/bin/get-tag.sh | 25 | ||||
-rw-r--r-- | plugins/tags/bin/print.sh | 30 | ||||
-rw-r--r-- | plugins/tags/bin/tag-id.sh | 33 | ||||
-rw-r--r-- | plugins/tags/bin/tag.sh | 28 | ||||
-rw-r--r-- | plugins/tags/dep | 2 | ||||
-rw-r--r-- | plugins/tags/info.mk.in | 3 |
7 files changed, 0 insertions, 145 deletions
diff --git a/plugins/tags/bin/commit.sh b/plugins/tags/bin/commit.sh deleted file mode 100644 index 9282a11..0000000 --- a/plugins/tags/bin/commit.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -name='rvs @ID@ commit' -ver=0.1 -# Copyright (C) 2010 Luke Shumaker -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; see the file COPYING. -# If not, see <http://www.gnu.org/licenses>. - -if [ "$RVS_LEVEL" = '0' ]; then - id=`cat "$TMPDIR/commit/files"` - "$RVS" tag "$id" wch -fi - diff --git a/plugins/tags/bin/get-tag.sh b/plugins/tags/bin/get-tag.sh deleted file mode 100644 index fa7895b..0000000 --- a/plugins/tags/bin/get-tag.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -name='rvs @ID@ get-tag' -ver=0.1 -# Copyright (C) 2010 Luke Shumaker -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; see the file COPYING. -# If not, see <http://www.gnu.org/licenses>. - -usage="usage: $RVS get-tag FILENAME TAG" -name="${1?"$usage"}" - tag="${2?"$usage"}" - -"$RVS" get "$name" "`"$RVS" tag-id "$tag"`" - diff --git a/plugins/tags/bin/print.sh b/plugins/tags/bin/print.sh deleted file mode 100644 index b7bc1c5..0000000 --- a/plugins/tags/bin/print.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -name='print' -ver=0.1 -# Copyright (C) 2010 Luke Shumaker -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; see the file COPYING. -# If not, see <http://www.gnu.org/licenses>. - -usage="Usage: $RVS $name ID" -id="${1?"$usage"}" - -dir="$REPO/@ID@" -if [ -d "$dir" ]; then - cd "$dir" - echo "Tags:" - grep -rFxl "$id" ./ | sed 's/^\.\/\(.*\)/ \1/' -fi - - diff --git a/plugins/tags/bin/tag-id.sh b/plugins/tags/bin/tag-id.sh deleted file mode 100644 index ef95f69..0000000 --- a/plugins/tags/bin/tag-id.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -name='tag-id' -ver=0.1 -# Copyright (C) 2010 Luke Shumaker -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; see the file COPYING. -# If not, see <http://www.gnu.org/licenses>. - -usage="usage: $RVS $name TAG" -tag="${1?"$usage"}" - -file="$REPO/@ID@/$tag" - -if [ -f "$file" ]; then - cat "$REPO/@ID@/$tag" -else - echo "$0: cannot find tag \`$tag'" >> /dev/stderr - exit 1 -fi - - - diff --git a/plugins/tags/bin/tag.sh b/plugins/tags/bin/tag.sh deleted file mode 100644 index bc3f546..0000000 --- a/plugins/tags/bin/tag.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -name='rvs @ID@ tag' -ver=0.1 -# Copyright (C) 2010 Luke Shumaker -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; see the file COPYING. -# If not, see <http://www.gnu.org/licenses>. - -# tag ID TAG -usage="usage: $RVS tag ID TAG" - ID="${1?"$usage"}" -tag="${2?"$usage"}" - -file="$REPO/@ID@/$tag" -mkdir -p "`dirname "$file"`" -echo "$ID" > "$file" - diff --git a/plugins/tags/dep b/plugins/tags/dep deleted file mode 100644 index fd9e5f7..0000000 --- a/plugins/tags/dep +++ /dev/null @@ -1,2 +0,0 @@ -commit/tags :: commit/files - diff --git a/plugins/tags/info.mk.in b/plugins/tags/info.mk.in deleted file mode 100644 index 3f08f99..0000000 --- a/plugins/tags/info.mk.in +++ /dev/null @@ -1,3 +0,0 @@ -name = tags -ver = 0.1 - |