On the advice of
Martin F Krafft <madduck@debian.org>
as posted in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477125
on
Fri, 12 Jun 2009 17:03:02 +0200
To get started, you must set the bugtracker root. Typically, you will want to
set the bug root to your project root, so that Bugs Everywhere works in any
part of your project tree.
-$ be set-root $PROJECT_ROOT
+$ be init $PROJECT_ROOT
To create bugs, use "be new $DESCRIPTION". To comment on bugs, you can can use
"be comment $BUG_ID". To close a bug, use "be close $BUG_ID". For more
print "Directory initialized."
def get_parser():
- parser = cmdutil.CmdOptionParser("be set-root [DIRECTORY]")
+ parser = cmdutil.CmdOptionParser("be init [DIRECTORY]")
return parser
longhelp="""
The directory defaults to your current working directory.
It is usually a good idea to put the Bugs Everywhere root at the source code
-root, but you can put it anywhere. If you run "be set-root" in a subdirectory,
+root, but you can put it anywhere. If you run "be init" in a subdirectory,
then only bugs created in that subdirectory (and its children) will appear
there.
"""
fi
echo "I am '$ID'"
-be set-root
+be init
OUT=`be new 'having too much fun'`
echo "$OUT"
BUG=`echo "$OUT" | sed -n 's/Created bug with ID //p'`