kgb-bot (1.31-1~bpo70+1) wheezy-backports; urgency=medium * Rebuild for wheezy-backports. -- gregor herrmann Sun, 18 May 2014 15:44:28 +0200 kgb-bot (1.31-1) unstable; urgency=low * client: default to using json * remove author-login from default message templates * TODO: plans for implementing central configuration * import dirname in Client.pm * configure test git repositories wheter test bot is running or not * remove project from default configuration * update documentation about default message templates * add author_name field for CVS commits * client: decode arguments given to --relay-msg * require JSON::XS instead of plain JSON -- Damyan Ivanov Sat, 17 Aug 2013 09:41:02 +0200 kgb-bot (1.30-1) unstable; urgency=low * bot: fix colorize_change_wrapper -- Damyan Ivanov Fri, 09 Aug 2013 15:57:55 +0200 kgb-bot (1.29-1) unstable; urgency=low [ Martín Ferrari ] * Fix invalid Vcs-Svn field. * Check BOT_ENABLED before starting the bot in the restart action. [ gregor herrmann ] * Install missing App/KGB/Painter.pm and other files. * debian/rules: call dh_install with --fail-missing to avoid forgetting new files in the future. * debian/control: kgb-client: move libjson-* from Recommends to Depends. Thanks to Pete Wyckoff for the hint in #718286. * debian/control: make Vcs-* fields canonical. Thanks, lintian. * debian/control: use git instead of git-core, the package was renamed some years ago. * Fix failure with Safe-2.35. Thanks to Petr Písař for the patch. [ Damyan Ivanov ] * detect UTF8 in full author name * add kgb.enable-branch-ff-notification Git option (true by default) for managing fast forward notifications * declare test dependencies in test_requires * client: add --debug option * chomp git-config-determined config file path before usage * replace ~~ (smartmatch) usage. ~~ is deprecated in perl 5.18 * replace given/when usage, declared experimental in perl 5.18 * client: verify config file structures * git client: do not die on unknown ref updates (see #706375) * git client: squash creation if numerous tags (>5 currently) * configurable tag squash threshold/message * correct POD about Client->format_message arguments * bot: allow setting of "" color to disable colouring of a given item * bot: use App::KGB::Painter for coloring * bot: add --simulate-color option enabling color codes in the dump file * include tag name in the Tag object created from annotated tags * merge back kgb-client-git package into kgb-client * git client: allow specifying project-id via git-config * t/50-client.t: skip tests with UTF-8 commit messages (subversion) unless C_TYPE is known to use UTF-8. RT#80664 * adapt to newer JSON-RPC which renamed the client module (RT#80666) * add versions to all modules to satisfy the CPAN indexer * make sure that strict and warnings are used everywhere -- Damyan Ivanov Thu, 08 Aug 2013 00:59:54 +0200 kgb-bot (1.27-1) unstable; urgency=low [ Damyan Ivanov ] * New upstream release + now supports including full author name in the notification Closes: #700319 -- kgb-bot should allow to use the real name or entire mail address in messages + supports entirely client-constructed notifications Closes: #693258 -- Permit output of the repo-id string [ gregor gerrmann ] * Install the new kgb-protocol(7) manpage. Thanks to Andrea Veri for noticing it was missing. * debian/copyright: Update years of copyright. -- Damyan Ivanov Wed, 29 May 2013 21:07:27 +0300 kgb-bot (1.26-1) unstable; urgency=low * update kgb-client.conf manual with the new options * rework Git branch walking avoids multiple notification about merged commits (Closes: #698133) * init: Use user configured in $RUN_AS as owner of logfiles. Otherwise log files created as 'Debian-kgb' can't be written to if the RUN_AS variable is modified Thanks to Alexander Barton for the patch. (Closes: #699027) * notify even if log message is invalid UTF-8 notification with log of "(log is invalid UTF-8)" is better than no notification at all (Closes: #691183) -- Damyan Ivanov Thu, 28 Mar 2013 08:41:36 +0200 kgb-bot (1.25-1) unstable; urgency=low * New upstream release + slignt improvement of CVS-related documentation + added support for using IRC notices instead of ordinary messages + added support for disabling colors -- Damyan Ivanov Mon, 17 Dec 2012 14:25:01 +0200 kgb-bot (1.24-1) unstable; urgency=low * New release. See Changes for details. Closes: #691562. * debian/control: Add missing App::KGB::Client::RelayMsg module. * debian/control: Make build dependency on libtest-compile-perl versioned. * debian/NEWS: add NEWS file for the port change * debian/control: fix libmodule-build-perl version -- Martín Ferrari Thu, 22 Nov 2012 11:54:21 +0000 kgb-bot (1.23-1) unstable; urgency=low * t/compile*: use Test::Compile::Internal in order to show verbose errors * Server: + add --debug command line switch + replace --config-dir option with 'include:' configuration item add 'include: "/etc/kgb-bot/kgb.conf.d"' to the default config + default pid_dir to /var/run/kgb-bot * Documentation: + add manuals for kgb.conf and kgb-client.conf + pod.t: test documentation in man*/ too + give example for gitweb URL * Client: + show expanded web-link in verbose mode + dump processed configuration in verbose mode + shorten_url: really return plain URL if shortening is not enabled + send_changes: detailed dump in verbose mode + introduce module-and-branch-re setting and deprecate branch-and-module-re-swap -- Damyan Ivanov Sat, 20 Oct 2012 21:13:44 +0300 kgb-bot (1.22-1) unstable; urgency=low [ gregor herrmann ] * kgb-add-project: document the new --dir option * Install /etc/kgb-bot/kgb.conf.d directory into kgb-bot package. * add kgb-split-config script for splitting monolythic config into per-project files [ Damyan Ivanov ] * Add API documentation (JSON-RPC only) * Server: + prepend all IRC strings with a hidden character to avoid addressing + check permissions of the conf.d directory + pass --config-dir too on restart + honour --foreground when reloading and don't reopen the log + change the delimiters around web links to make konsole users' life easier + refuse to load world-readable configuration files * fix a bug in determining the longest common directory in a change set -- Damyan Ivanov Sun, 14 Oct 2012 11:30:10 +0300 kgb-bot (1.21-1) unstable; urgency=low * Server: + fix exception handling + better error messages * Debli: RPC returns the key only, prepend 'http://deb.li/' -- Damyan Ivanov Thu, 11 Oct 2012 23:00:33 +0300 kgb-bot (1.20-1) unstable; urgency=low [ Damyan Ivanov ] * kgb-add-project: avoid using 'keys($hashref)' which requires too recent perl * client: + add --repository to synopsis + fix --repository in CVS example + CVS: silence debugging output + WWW:Shorten::Debli implementation (uses deb.li for URL shortening) + determine default repository type from the environment (makes --repository useless) + determine default module from git directory (makes --module redundant for Git) + allow explicit protocol configuration + saving of last contacted server -- in a separate method * server: + ensure trailing \n in KGB->out + note repository id on internal errors + conf.d/*.conf style configuration + use exceptions for handling argument errors + turn on utf8 mode on STDOUT/ERR + use shorter timestamp representation * client and server: + protocol 4 (JSON-RPC) + plain message relaying (Closes: #689641) * packaging: + install Client::Fake in kgb-client package (Closes: #689984) + add libjson-perl to kgb-bot Depends [ gregor herrmann ] * some spellchecking in the POD -- Damyan Ivanov Thu, 11 Oct 2012 22:25:21 +0300 kgb-bot (1.19-1) unstable; urgency=low [ Damyan Ivanov ] * bot: add timestamp to log messages * bot: use KGB->out() instead of plain warn() for consistent log messages * bot: tighten auto-responce rate-limit to stop storms in the first screen * bot: silently ignore empty changes * bot: do not crash on internal errors while processing requests [ gregor herrmann ] * kgb-add-project: sort the channel hashes to make sure "name" is the first key. -- Damyan Ivanov Fri, 05 Oct 2012 21:20:09 +0300 kgb-bot (1.18-1) unstable; urgency=low * bot: fix channel-must-have-a-repository check for broadcast channels -- Damyan Ivanov Fri, 05 Oct 2012 14:07:27 +0300 kgb-bot (1.17-1) unstable; urgency=low [ Damyan Ivanov ] * improve wording of web-link description * 50-client.t: support keeping temporary directory * declare POD encoding * additional documentation for web-link * explain status-dir in the sample client config * add support for URL shortening via WWW::Shorten + kgb-client: add libwww-shorten-perl to Recommends * client: add --fake option. Fakes a commit to help testing server connection (Closes: #689540) * bot: introduce broadcast channels which receive notifications from all repositories Closes: #688993 + introduce private repositories * bot: fail if a repository has no associated channels [ gregor herrmann ] * typo/doc fixes * kgb-add-project: add option to save config back to file -- Damyan Ivanov Fri, 05 Oct 2012 13:35:15 +0300 kgb-bot (1.16-1) unstable; urgency=low [ Martín Ferrari ] * Fix typo. [ Damyan Ivanov ] * indicate replacement using 'brown' (which should be displayed as low intensity red or something) instead of inverse * honour 'repository' setting in kgb-client.conf (Closes: 688992) * bot: support web links for commits * more typos in the documentation * script to add simple projects quickly (destroys comments) * call $poe_kernel->has_forked in the child process Makes the reload action of the bot work (Closes: #689018) * bot: reopen logs on reload * create log file in the init script, not in postinst * protocol v3 in server * protocol v3 in client (only used irfn extra arguments are present) * Add CVS support (Closes: #689288) * fix forced single-line commit mode. reported by joeyh, fix by dondelelcaro [ gregor herrmann ] * debian/copyright: use Copyright-Format 1.0, bump years of copyright. * Set Standards-Version to 3.9.4 (no changes). * Update {versioned,alternative} (build) dependencies. * kgb-bot init script: depend on $network facility and add status option. * init script: add pidfile argument to status option * add bot reload to logrotate configuration -- Damyan Ivanov Wed, 03 Oct 2012 11:45:39 +0300 kgb-bot (1.15-2) unstable; urgency=low * client: denote libfile-touch-perl dependency to a recommendation * bot: require client 1.15 for the detect_common_dir move -- Damyan Ivanov Thu, 15 Sep 2011 10:03:37 +0300 kgb-bot (1.15-1) unstable; urgency=low * New release * Client: + use single line note for annotated tags * Server: + fix single line commits with multi-line explaination + no bold revision by default + drop (bold) repository name from the notification -- Damyan Ivanov Wed, 14 Sep 2011 19:54:16 +0300 kgb-bot (1.14-1) unstable; urgency=low * Client: add an option to keep the last used server in a directory * Client/Server: add support for single line commit notifications * add (build-)dependency on libfile-touch-perl -- Damyan Ivanov Wed, 24 Aug 2011 23:41:20 +0300 kgb-bot (1.13-1) unstable; urgency=low * numerous test improvements * fix: no warnings when commits have no author * bot: log repository on authentication failure * put tag name in changes for plain tags too * bot: always decode parameters -- Damyan Ivanov Sat, 13 Aug 2011 18:48:16 +0300 kgb-bot (1.10-1) unstable; urgency=low * Skip tests requiring SVN::* or Git when these are missing * fix dist_name from App::KGB to App-KGB * disable indexing of privinc * fix a couple of cases of conditional declaration * add a Perl::Critic test for conditional declarations * bot: do not answer back if no answers are configured. * rate-limit autoresponses * bump years in debian/copyright -- Damyan Ivanov Thu, 11 Aug 2011 16:43:03 +0300 kgb-bot (1.08-1) unstable; urgency=low [ Damyan Ivanov ] * Client::Git: use --format=raw when describing annotated tags [ Salvatore Bonaccorso ] * debian/control: Remove libdigest-sha1-perl from Depends for kgb-client binary package. * Bump Standards-Version to 3.9.2. [ gregor herrmann ] * Switch to source format 3.0 (quilt). * Bump debhelper compatibility level to 8; remove "--buildsystem=perl_build" in debian/rules. * debian/control: remove versioned dependency on perl >= 5.10. -- Damyan Ivanov Fri, 05 Aug 2011 16:52:02 +0300 kgb-bot (1.06-2) unstable; urgency=low [ gregor herrmann ] * Add a postrm script to remove the log in purge; thanks to Holger Levsen and piuparts for the bug report (closes: #605978). * Add a logrotate config file. * Add /me to Uploaders. * debian/copyright: switch to DEP5 formatting. -- Damyan Ivanov Sun, 05 Dec 2010 17:37:01 +0200 kgb-bot (1.06-1) unstable; urgency=low [ gregor herrmann ] * kgb-bot: - fix typo when accessing global config - call polygen_available with full class name [ Damyan Ivanov ] * kgb-bot: drop the asterix prefix from revision number * Makefile: fix (real|dist)clean targets to use ./Build for the real work * App::KGB::Change: + fix typo in POD + make the stringification method public and document it * t/52-client-git.t: when comparing changes, force objects to stringify * MANIFEST.SKIP: add MYMETA.yml * fix typo in Client::Subversion POD * Packaging: + rules: fix determining package version + copyright: point to versioned GPL + control: add Homepage -- Damyan Ivanov Sat, 04 Dec 2010 11:12:31 +0200 kgb-bot (1.05-1) unstable; urgency=low [ gregor herrmann, Damyan Ivanov ] * kgb-bot: use File::Which to find polygen binary; split out the polygen-finding function; add libfile-which-perl to Suggests; closes: #593631 -- can't access /usr/bin/polygen * kgb-bot: check existence of polygen binary just before using it; closes: #593633 -- dies when polygen is removed after daemon startup * any problems in finding/running polygen binary are logged only when debug is enabled as a counter-measure against remotely-assisted log abuse -- Damyan Ivanov Fri, 10 Sep 2010 22:49:25 +0300 kgb-bot (1.04-1) unstable; urgency=low * use Digest::SHA from core instead of ::SHA1 * remove references to Svn::* from Build.PL Closes: #582739 (by working around #589812) * Standards-Version: 3.9.1 (no changes necessary) -- Damyan Ivanov Tue, 03 Aug 2010 22:33:23 +0300 kgb-bot (1.03-1) unstable; urgency=low * New upstream release + adds rotocol v2 with the ability to explicitly specify revision prefix, which is 'r' for Subversion and empty otherwise * Standardss-Version: 3.8.4 (no changes necessary) -- Damyan Ivanov Wed, 28 Apr 2010 23:40:15 +0300 kgb-bot (1.01-3) unstable; urgency=medium * Make 'restart' init.d script action stop and re-start the daemon as directed by the policy. Closes: #566004. Thanks to Evgeni Golov. -- Damyan Ivanov Mon, 25 Jan 2010 18:40:15 +0200 kgb-bot (1.01-2) unstable; urgency=low [ gregor herrmann ] * Build depend on locales-all and run tests under a UTF-8 locale (closes: #560657). [ Damyan Ivanov ] * add a watch file -- Damyan Ivanov Fri, 11 Dec 2009 22:27:36 +0200 kgb-bot (1.01-1) unstable; urgency=low * New upstream release + Fixex client when cross-branch/module commits are made -- Damyan Ivanov Sat, 05 Dec 2009 16:16:02 +0200 kgb-bot (1.00-1) unstable; urgency=low * New upsream release + Fixes support for unicode commit messages -- Damyan Ivanov Wed, 02 Dec 2009 19:34:35 +0200 kgb-bot (0.16-1) unstable; urgency=low * New upstream release -- Damyan Ivanov Tue, 24 Nov 2009 18:49:49 +0200 kgb-bot (0.15-1) unstable; urgency=low * New upstream release * Split Git support in kgb-client-git - avoids a bunch of dependencies being installed with the server * kgb-bot: drop polygen and libipc-run-perl to Recommends -- Damyan Ivanov Sat, 07 Nov 2009 16:22:01 +0200 kgb-bot (0.14-1) unstable; urgency=low * New upstream release + make kgb-bot depend on kgb-client (it uses some of its modules) -- Damyan Ivanov Mon, 02 Nov 2009 22:34:17 +0200 kgb-bot (0.13-1) unstable; urgency=low * New upstream release -- Damyan Ivanov Sun, 01 Nov 2009 18:22:25 +0200 kgb-bot (0.12-1) unstable; urgency=low * New upstream release * rules: check that package version matches module version -- Damyan Ivanov Sat, 31 Oct 2009 16:04:55 +0200 kgb-bot (0.11-1) unstable; urgency=low * new upstream release + the autoresponder can use polygen * add polygen and libipc-run-perl to Recommends -- Damyan Ivanov Mon, 26 Oct 2009 21:03:15 +0200 kgb-bot (0.10-1) unstable; urgency=low * New upstream release + kgb-bot no longer needs App::KGB, which is in the kgb-client package -- Damyan Ivanov Sun, 25 Oct 2009 21:09:00 +0200 kgb-bot (0.09-1) unstable; urgency=low * New upstream release + postinst: set up /var/log/kgb-bot.log if not present + respond to !version command (only allowed to a list of masks) + also handle private messages -- Damyan Ivanov Sat, 24 Oct 2009 19:14:17 +0300 kgb-bot (0.08-1) unstable; urgency=low * new upstream release + fixes a typo causing crash on received IRC messages -- Damyan Ivanov Wed, 21 Oct 2009 08:17:46 +0300 kgb-bot (0.07-1) unstable; urgency=low [ Damyan Ivanov ] * add Git support * set Maintainer address to kgb-maintainers@lists.alioth.d.o * add --git-reflog switch, passed to Client::Git * add support for a dummy "_ECHO_" network * add an example bot config useful for local testing * mention supported VCS in kgb-client long description * drop included RateLimit and use send_queue to detect congestion * use non-svn-checkout upstream source location * add git-core as (build-) dependency * Update Vcs-* URLs to match the new home on Alioth * Section: net->devel; Priority: extra->optional * Upload to Debian -- Damyan Ivanov Wed, 21 Oct 2009 01:17:15 +0300 kgb-bot (0.06) unstable; urgency=low * client: install App::KGB::Client* in kgb-client * install also the manuals * use Module::Build -- Damyan Ivanov Thu, 01 Oct 2009 22:31:11 +0300 kgb-bot (0.05) unstable; urgency=low [ Martín Ferrari ] * server + Decode utf8 sequences before passing to sha1_hex function. Fixes DoS with extended chars in the commit log. * client + Try to correctly handle the svn-provided strings, convertien them to utf8 sequences. Decode them before sha1 and use the utf8 versions for SOAP. This triggers a bug in SOAP::Lite 0.710.08, because it incorrectly handles utf8 strings. -- Damyan Ivanov Sat, 26 Sep 2009 11:00:33 +0300 kgb-bot (0.04) unstable; urgency=low [ Damyan Ivanov ] * server + use "dir" or "dirs" depending on the number (1 or greater) + make colors configurable + drop ":" after repository name * client + avoid wrong trimming of changed paths when branch or module cannot be detected + fix population of default password and proxy for servers + move checksum calculation back into servers loop + randomize server list + improve documentation + split self-contained parts of the code into separate modules as preparation for Git support + add --verbose option * split client script/man in kgb-client package * add syntax check and POD tests [ gregor herrmann ] * debian/rules: simplify, and don't compress examples. -- Damyan Ivanov Mon, 14 Sep 2009 16:32:01 +0300 kgb-bot (0.03) unstable; urgency=low [ Damyan Ivanov ] * make dependency on libpoe-component-irc-perl versioned >= 5.56, in which NickServID plugin is first mentioned * add support for a list of answers * make all IO handles use utf8 encoding [ Martín Ferrari ] * server/KGB: move configuration reading and verification to a subroutine, for future support of config reloading. * server/KGB: separate into packages for clearer code. Allow SIGQUIT to restart the server (with complete close and disconnect). * server/KGB: support for reloading the configuration file with SIGHUP. * server/KGB: fixed an error in the password verification (protocol 1). Protocol versions: use a hardcoded hash of the *really* supported versions, and then a configuration option to filter them out. * debian/*, server/KGB, Makefile: match the /etc directory name with the package name. * client/*: remove hardcodings. * debian/init: make use of the SIG(HUP|QUIT) handlers. * client/KGB_sendcommit: use v1 protocol. * server/KGB: daemonize, handle parent/child communication during setup, and forcefully die when POE gets silly. * server/KGB, server/kgb.conf.sample: now the bot answers when addressed on a channel. * server/KGB, server/kgb.conf.sample: support for rate limiting the SOAP interface (only global limits, not per client). * client/KGB_sendcommit: shut up the compiler warnings about typos. [ gregor herrmann ] * debian/control: - fix Vcs-Svn URL - bump Standards-Version to 3.8.1 - add ${misc:Depends}, ${perl:Depends} to Depends [ Damyan Ivanov ] * implement server failover * create /var/run/kgb-bot in the init script * client: process faults synchronously, report verbosely * add support for discovering branch and package name * server: fix branch/module colourization * bump perl (build) dependency to 5.10 * remove the slash after the module name * strip leading shash from transmitted paths * omit flags if the change is a mere modification * bump Standards-Version to 3.8.3 (no changes needed) -- Damyan Ivanov Sun, 06 Sep 2009 15:31:02 +0300