Bugs Everywhere was written by:
Aaron Bentley
+Alexander Belchenko
+Ben Finney
+Chris Ball
+Gianluca Montecchi
+James Rowe
+Jelmer Vernooij
+Marien Zwart
+Moritz Barsnick
Oleg Romanyshyn
Thomas Gerigk
-Marien Zwart
+Thomas Habets
W. Trevor King
# Makefile
# Part of Bugs Everywhere, a distributed bug tracking system.
#
-# Copyright © 2008 Ben Finney <ben+python@benfinney.id.au>
+# Copyright (C) 2008-2009 Ben Finney <benf@cybersource.com.au>
+# Chris Ball <cjb@laptop.org>
+# W. Trevor King <wking@drexel.edu>
# This is free software; you may copy, modify and/or distribute this work
# under the terms of the GNU General Public License, version 2 or later.
# No warranty expressed or implied. See the file COPYING for details.
#!/usr/bin/env python
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Chris Ball <cjb@laptop.org>
+# Oleg Romanyshyn <oromanyshyn@panoramicfeedback.com>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Marien Zwart <marienz@gentoo.org>
+# Thomas Gerigk <tgerigk@gmx.de>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Marien Zwart <marienz@gentoo.org>
+# Thomas Gerigk <tgerigk@gmx.de>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Chris Ball <cjb@laptop.org>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2006 Thomas Gerigk
+# Copyright (C) 2006-2009 Aaron Bentley and Panometrics, Inc.
+# Thomas Gerigk <tgerigk@gmx.de>
+# W. Trevor King <wking@drexel.edu>
# <tgerigk@gmx.de>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Chris Ball <cjb@laptop.org>
+# Oleg Romanyshyn <oromanyshyn@panoramicfeedback.com>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Marien Zwart <marienz@gentoo.org>
+# Thomas Gerigk <tgerigk@gmx.de>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Chris Ball <cjb@laptop.org>
+# Marien Zwart <marienz@gentoo.org>
+# Thomas Gerigk <tgerigk@gmx.de>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Marien Zwart <marienz@gentoo.org>
+# Thomas Gerigk <tgerigk@gmx.de>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Chris Ball <cjb@laptop.org>
+# Thomas Gerigk <tgerigk@gmx.de>
+# Thomas Habets <thomas@habets.pp.se>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Chris Ball <cjb@laptop.org>
+# Gianluca Montecchi <gian@grys.it>
+# Marien Zwart <marienz@gentoo.org>
+# Thomas Gerigk <tgerigk@gmx.de>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
# doc/module.mk
# Part of Bugs Everywhere, a distributed bug tracking system.
#
-# Copyright © 2008 Ben Finney <ben+python@benfinney.id.au>
+# Copyright (C) 2008-2009 Chris Ball <cjb@laptop.org>
# This is free software; you may copy, modify and/or distribute this work
# under the terms of the GNU General Public License, version 2 or later.
# No warranty expressed or implied. See the file COPYING for details.
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Ben Finney <ben+python@benfinney.id.au>
+# James Rowe <jnrowe@ukfsn.org>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2008-2009 Chris Ball <cjb@laptop.org>
+# Thomas Habets <thomas@habets.pp.se>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Alexander Belchenko <bialix@ukr.net>
+# Chris Ball <cjb@laptop.org>
+# Oleg Romanyshyn <oromanyshyn@panoramicfeedback.com>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Ben Finney <ben+python@benfinney.id.au>
+# Marien Zwart <marienz@gentoo.org>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Oleg Romanyshyn <oromanyshyn@panoramicfeedback.com>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
# Bugs Everywhere, a distributed bugtracker
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2008-2009 Chris Ball <cjb@laptop.org>
+# Thomas Habets <thomas@habets.pp.se>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2007 Chris Ball <chris@printf.net>,
-# 2009 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2009 W. Trevor King <wking@drexel.edu>
#
# 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
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
# Bugs Everywhere, a distributed bugtracker
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
# Bugs Everywhere, a distributed bugtracker
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2007 Chris Ball <chris@printf.net>
+# Copyright (C) 2008-2009 Ben Finney <ben+python@benfinney.id.au>
+# Chris Ball <cjb@laptop.org>
+# W. Trevor King <wking@drexel.edu>
#
# 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
-# Copyright (C) 2007 Steve Borho <steve@borho.org>
+# Copyright (C) 2007-2009 Aaron Bentley and Panometrics, Inc.
+# Ben Finney <ben+python@benfinney.id.au>
+# W. Trevor King <wking@drexel.edu>
#
# 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
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Marien Zwart <marienz@gentoo.org>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
# Bugs Everywhere - a distributed bugtracker
-# Copyright (C) 2008 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
#
# 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
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# Alexander Belchenko <bialix@ukr.net>
+# Ben Finney <ben+python@benfinney.id.au>
+# Chris Ball <cjb@laptop.org>
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
# Bugs Everywhere - a distributed bugtracker
-# Copyright (C) 2008 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
#
# 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
# Bugs Everywhere, a distributed bugtracker
-# Copyright (C) 2008 W. Trevor King
+# Copyright (C) 2008-2009 W. Trevor King <wking@drexel.edu>
#
# 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
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
+# Copyright (C) 2005-2009 Aaron Bentley and Panometrics, Inc.
+# W. Trevor King <wking@drexel.edu>
# <abentley@panoramicfeedback.com>
#
# This program is free software; you can redistribute it and/or modify
--- /dev/null
+#!/bin/bash
+#
+# Update copyright information in source code with information from
+# the bzr repository. Run from the BE repository root.
+
+set -o pipefail
+
+# adjust the AUTHORS file
+AUTHORS=`bzr log | grep '^ *committer\|^ *author' | cut -d: -f2 | sed 's/ <.*//;s/^ *//' | sort | uniq`
+AUTHORS=`echo "$AUTHORS" | grep -v 'j\^\|wking\|John Doe'` # remove non-names
+echo "Bugs Everywhere was written by:" > AUTHORS
+echo "$AUTHORS" >> AUTHORS
+
+CURRENT_YEAR=`date +"%Y"`
+FILES=`grep -rc "# Copyright" . | grep -v ':0$' | cut -d: -f1`
+TMP=`mktemp BE_update_copyright.XXXXXXX`
+
+for file in $FILES
+do
+ # Ignore some files
+ if [ "${file:0:5}" == "./.be" ]; then
+ continue
+ fi
+ if [ "${file:0:6}" == "./.bzr" ]; then
+ continue
+ fi
+ if [ "${file:0:7}" == "./build" ]; then
+ continue
+ fi
+ if [ "$file" == "./COPYING" ]; then
+ continue
+ fi
+ if [ "$file" == "./update_copyright.sh" ]; then
+ continue
+ fi
+ if [ "$file" == "./xml/catmutt" ]; then
+ continue
+ fi
+ echo "Processing $file"
+
+ # Get author history from bzr
+ AUTHORS=`bzr log "$file" | grep "^ *author: \|^ *committer: " | cut -d: -f2 | sed 's/^ *//;s/ *$//' | sort | uniq`
+ if [ $? -ne 0 ]; then
+ continue # bzr doesn't version that file
+ fi
+ ORIG_YEAR=`bzr log "$file" | grep "^ *timestamp: " | tail -n1 | sed 's/^ *//;' | cut -b 16-19`
+
+ # Tweak the author list to make up for problems in the bzr
+ # history, change of email address, etc.
+
+ # Consolidate Aaron Bentley
+ AUTHORS=`echo "$AUTHORS" | sed 's/<abentley@panoramicfeedback.com>/and Panometrics, Inc./'`
+ GREP_OUT=`echo "$AUTHORS" | grep 'Aaron Bentley and Panometrics, Inc.'`
+ if [ -n "$GREP_OUT" ]; then
+ AUTHORS=`echo "$AUTHORS" | grep -v '^Aaron Bentley <aaron.bentley@utoronto.ca>$'`
+ fi
+
+ # Consolidate Ben Finney
+ AUTHORS=`echo "$AUTHORS" | sed 's/John Doe <jdoe@example.com>/Ben Finney <ben+python@benfinney.id.au>/'`
+ GREP_OUt=`echo "$AUTHORS" | grep 'Ben Finney <ben+python@benfinney.id.au>'`
+ if [ -n "$GREP_OUT" ]; then
+ AUTHORS=`echo "$AUTHORS" | grep -v '^Ben Finney <benf@cybersource.com.au>$'`
+ fi
+
+ # Consolidate Chris Ball
+ GREP_OUT=`echo "$AUTHORS" | grep 'Chris Ball <cjb@laptop.org>'`
+ if [ -n "$GREP_OUT" ]; then
+ AUTHORS=`echo "$AUTHORS" | grep -v '^Chris Ball <cjb@thunk.printf.net>$'`
+ fi
+
+ # Consolidate Trevor King
+ AUTHORS=`echo "$AUTHORS" | grep -v "wking <wking@mjolnir>"`
+
+ # Sort again...
+ AUTHORS=`echo "$AUTHORS" | sort | uniq`
+
+ # Generate new Copyright string
+ if [ "$ORIG_YEAR" == "$CURRENT_YEAR" ]; then
+ DATE_RANGE="$CURRENT_YEAR"
+ DATE_SPACE=" "
+ else
+ DATE_RANGE="${ORIG_YEAR}-${CURRENT_YEAR}"
+ DATE_SPACE=" "
+ fi
+ NUM_AUTHORS=`echo "$AUTHORS" | wc -l`
+ FIRST_AUTHOR=`echo "$AUTHORS" | head -n 1`
+ COPYRIGHT="# Copyright (C) $DATE_RANGE $FIRST_AUTHOR"
+ if [ $NUM_AUTHORS -gt 1 ]; then
+ OTHER_AUTHORS=`echo "$AUTHORS" | tail -n +2`
+ while read AUTHOR; do
+ COPYRIGHT=`echo "$COPYRIGHT\\n# $DATE_SPACE $AUTHOR"`
+ done < <(echo "$OTHER_AUTHORS")
+ fi
+ echo -e "$COPYRIGHT"
+
+ # Strip old copyright info and replace with tag
+ awk 'BEGIN{incopy=0}{if(match($0, "^# Copyright")>0){incopy=1; print "-xyz-COPYRIGHT-zyx-"}else{if(incopy=0){print $0}else{if(match($0, "^# ")==0){incopy=0; print $0}}}}' "$file" > "$TMP"
+
+ # Replace tag in with new string
+ sed -i "s/^-xyz-COPYRIGHT-zyx-$/$COPYRIGHT/" "$TMP"
+ cp "$TMP" "$file"
+done
+
+rm -f "$TMP"
#!/usr/bin/env python
-# Copyright (C) 2009 William Trevor King <wking@drexel.edu>
+# Copyright (C) 2009 Chris Ball <cjb@laptop.org>
+# W. Trevor King <wking@drexel.edu>
#
# 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