From 4d401f5e09cc01fa2ca0bb2cee0b78b19719c85a Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Mon, 9 Sep 2019 12:01:42 +0200 Subject: [PATCH] bee: add issue management - version bump - add beeissue to scripts in Makefile - create beeissue.sh.in - introduce new ${BEE_ISSUES} - invent new command line option --ignore-issue - engineer sophisticated issue reporting logic --- Makefile | 3 +- src/beeissue.sh.in | 88 +++++++++++++++++++++++++++++++++++++++++ src/beelib.config.sh.in | 2 + src/beesh.sh.in | 19 +++++++++ 4 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 src/beeissue.sh.in diff --git a/Makefile b/Makefile index 902be56..02264bf 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -BEE_VERSION = 1.2.21 +BEE_VERSION = 1.2.22 CC=gcc CFLAGS=-Wall -g @@ -54,6 +54,7 @@ PROGRAMS_C+=beeversion PROGRAMS_SHELL+=bee PROGRAMS_SHELL+=beefind +PROGRAMS_SHELL+=beeissue PROGRAMS_SHELL+=beesh HELPER_BEE_SHELL+=bee-cache diff --git a/src/beeissue.sh.in b/src/beeissue.sh.in new file mode 100644 index 0000000..75d436e --- /dev/null +++ b/src/beeissue.sh.in @@ -0,0 +1,88 @@ +#!/bin/bash +# +# +# Copyright (C) 2009-2016 +# Tobias Dreyer +# Marius Tolzmann +# and other bee developers +# +# This file is part of bee. +# +# bee 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 3 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. If not, see . + +BEE_VERSION="@BEE_VERSION@" + +: ${BEE_SYSCONFDIR:=@SYSCONFDIR@} +: ${BEE_DEFCONFDIR:=@DEFCONFDIR@} +: ${BEE_DATADIR:=@DATADIR@} +: ${BEE_LIBDIR:=@LIBDIR@} +: ${BEE_LIBEXECDIR:=@LIBEXECDIR@} +: ${BEE_BINDIR:=@BINDIR@} + +. ${BEE_LIBEXECDIR}/bee/beelib.config.sh + +: ${BEEGETOPT:=${BEE_BINDIR}/beegetopt} + +function usage() { + cat <