1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147
|
kgb-bot (1.58-1) unstable; urgency=medium
* fix tests to not hard-code merge commit messages
hard-coded merge commit texts, which depend on the git version, which is
unreliable
Closes: #973118 -- FTBFS: test failures
* drop StandardError=syslog from kgb-bot.service
-- Damyan Ivanov <dmn@debian.org> Tue, 03 Nov 2020 17:13:20 +0000
kgb-bot (1.57-1) unstable; urgency=medium
* Update tests to changed output in merge messages for Git 2.28.0+.
Thanks to Jonathan Nieder for the bug report. (Closes: #965350)
* Bump debhelper-compat to 13.
* debian/rules: drop "dh_missing --fail-missing".
This is the default in debhelper compatibility level 13.
-- gregor herrmann <gregoa@debian.org> Fri, 24 Jul 2020 14:32:20 +0200
kgb-bot (1.56-1) unstable; urgency=medium
[ Iain Lane ]
* kgb-bot: Support globs in only_branches.
This will allow derivatives to maintain their packages on Salsa, but not
announce the changes to their branches to the Debian IRC channels.
(Closes: #945015)
* kgb-bot: Add only_tag parameter.
As with `only_branch`, this will make the bot only announce changes to
tags matching the given globs.
[ gregor herrmann ]
* Update copyright notices.
* Add new requirements to Build.PL.
* Drop comment_out_example_channel.patch (applied).
* Declare compliance with Debian Policy 4.5.0.
* Set Rules-Requires-Root: no.
-- Damyan Ivanov <dmn@debian.org> Sun, 22 Mar 2020 07:44:00 +0000
kgb-bot (1.55-2) unstable; urgency=medium
* Upload to unstable.
* kgb-client: drop ancient Breaks/Replaces on kgb-client-git.
* Drop version constraint from libtest-compile-perl build dependency.
* Bump debhelper-compat to 12.
* Remove trailing whitespace from debian/*.
* Update years of copyright.
* Add Pre-Depends: ${misc:Pre-Depends} for kgb-bot in debian/control for
maintainer scripts after the bump to debhelper 12.
* Annotate test-only build dependencies with <!nocheck>.
* debian/rules: drop override_dh_compress. debhelper 12 doesn't compress
examples any more.
* Comment out example channel in /etc/kgb-bot/kgb.conf. An installation
with the unchanged config would cause bots to appear in this channel.
(Closes: #927372)
* Add an entry to debian/NEWS about a pitfall with use_ssl and port in
/etc/kgb-bot/kgb.conf. (Closes: #910971)
-- gregor herrmann <gregoa@debian.org> Sun, 07 Jul 2019 01:30:31 +0200
kgb-bot (1.55-1) experimental; urgency=medium
[ gregor herrmann ]
* fix typo in test diag()
[ Damyan Ivanov ]
* fix coloring of failed pipelines (Closes: #930450)
* upload to experimental
-- Damyan Ivanov <dmn@debian.org> Thu, 13 Jun 2019 20:11:57 +0000
kgb-bot (1.54-1) unstable; urgency=medium
[ Damyan Ivanov ]
* comment out the test client config example of message-template
seeing the defaults is more usable
* use_ssl: 0 in the example test server configs
there's still a bug when use_ssl is 1 (the default) and the port is 6667
[ gregor herrmann ]
* script/kgb-bot: use $client_ip->ip in webhook error message
like in the debug message.
Thanks to James Clarke for the suggestion.
[ Damyan Ivanov ]
* kgb-bot: convert ::ffff:a.b.c.d to a.b.c.d before looking up client ip in
the white list
fixes ipv4 white-list configuration
* bump years of copyright
* Declare conformance with Policy 4.3.0 (no chanes needed)
-- Damyan Ivanov <dmn@debian.org> Thu, 03 Jan 2019 10:23:40 +0000
kgb-bot (1.53-1) unstable; urgency=medium
[ Damyan Ivanov ]
* drop port: option from default config
* add port to the test server IRC config now that 6697 us the default
* encode/decode Git directory name when passing it to Git or when reading it
from the environment
this matters when the directory name is not plain ASCII (Closes: #822375)
* auto join: increase NickServ delay to 60 seconds (default is 5)
this helps joining +r channels on freenode, where nick server identification
takes more than 5 seconds
* fix path to scripts in t/critic.t
* reorder default notification order, keeping the order of colours
the new order is project/module, branch, commit, author, log
* Client::Git: strip leading whitespace when parsing the output of
'git status'
* bump debhelper compatibility level to 11 via debhelper-compat
[ gregor herrmann ]
* kgb-bot: human_duration(): also handle case where there are exactly
two time parts. Thanks to Mattia Rizzolo for the bug report on IRC.
* Declare compliance with Debian Policy 4.2.1.
-- Damyan Ivanov <dmn@debian.org> Sat, 13 Oct 2018 19:25:32 +0000
kgb-bot (1.52-1) unstable; urgency=medium
[ gregor herrmann ]
* Add some documentation about the webhook configuration to kgb.conf(5).
Thanks to Jerome Charaoui for the bug report. (Closes: #902312)
[ Damyan Ivanov ]
* kgb-ci-report: avoid counting duplicate source packages in the UDD SQL
query
* bot: add support to use_ssl configuration parameter (per network, defaults
to 1)
* add dependency on libpoe-component-sslify-perl
-- Damyan Ivanov <dmn@debian.org> Thu, 13 Sep 2018 17:04:02 +0000
kgb-bot (1.51-1) unstable; urgency=medium
* kgb-ci-report: avoid boolean evaluation of an Dpkg::Version object where a
simple existence test is enough
(Closes: #900699)
-- Damyan Ivanov <dmn@debian.org> Mon, 04 Jun 2018 12:16:29 +0000
kgb-bot (1.50-1) unstable; urgency=medium
[ Martín Ferrari ]
* Add merge request title to merge request notifications.
* Stop using channel as a unique identifier.
This is a big change, as most of the code was assuming a channel name is
unique across networks, causing weird issues when adding channels
dynamically from a webhook.
* Factor out some repetitive code.
* The current code was leaving the configuration in a inconsistent state when
a channel was dynamically added; now it is done as if it was added to the
configuration.
* Finally fix the dynamic join problem.
[ Damyan Ivanov ]
* use get_chanid at one more place instead of hand-crafted concatenation
* when complaining of a repo without channels, suggest adding them to
the request parameters
-- Martín Ferrari <tincho@debian.org> Mon, 28 May 2018 01:20:22 +0000
kgb-bot (1.49-1) unstable; urgency=medium
* add 'always_squash_outside_dir' webhook option (multiple values)
* Declare conformance with Policy 4.1.4 (no changes needed)
-- Damyan Ivanov <dmn@debian.org> Sun, 29 Apr 2018 12:32:38 +0000
kgb-bot (1.48-1) unstable; urgency=medium
* add only_branch webhook option
* webhook: add (via ...) only when *both* user name and email differs
between author and pusher
-- Damyan Ivanov <dmn@debian.org> Sat, 21 Apr 2018 09:12:21 +0000
kgb-bot (1.47-1) unstable; urgency=medium
[ Damyan Ivanov ]
* webhook/merge request: drop "revision" output and put the action in square
brackets
* set default params in one place
* add shorten_urls webhook parameter, defaults to 1
[ James Clarke ]
* webhook:
+ Better tag deletion messages
+ Show branch deletions (Closes: #895283)
[ Damyan Ivanov ]
* fix warning about double "my" in 70-webhook-push.t
* fix 52-client-git.t and 53-client-git-merges.t with Git 1.17.
(Closes: 894775)
[ Colin Finck ]
* Git client: Support an "author-via" placeholder in the message template,
which shows the author and committer name if both are different.
-- Damyan Ivanov <dmn@debian.org> Tue, 10 Apr 2018 13:56:20 +0000
kgb-bot (1.46-1) unstable; urgency=medium
[ Damyan Ivanov ]
* webhook/push: add always_squash_branch parameter,
defaults to [ 'upstream', 'upstream/master' ]
* fix stats counting
* bot: reload shortening service when short_url_service changes in the
config
* document 'short_url_service' in kgb.conf(5)
[ James Clarke ]
* Use ! rather than # for GitLab merge requests
* Use iid rather than global id for merge requests and issues
[ gregor herrmann ]
* bot: rename "signed-tags" to "signed tags", as in the client.
* Add debian/gbp.conf: Turn off pristine-tar feature.
[ James Clarke ]
* Set upstream-tree to SLOPPY since we have no upstream tags nor branch
[ Damyan Ivanov ]
* add James Clarke to copyright statements
* update Upstream-Contact and Source fields in debian/copyright
-- Damyan Ivanov <dmn@debian.org> Thu, 08 Mar 2018 05:25:11 +0000
kgb-bot (1.45-1) unstable; urgency=medium
* kgb-bot.service: run ExecStartPre commands as root (creation/permissions
of log file)
* point '/ctcp source' to salsa
* fix short url code broken in 1.44
* kgb-bot.service: set TZ=UTC
* collect some stats - run time, notification counts
* react to !stats and !statsreset
* update HOWTO.release
* fix a mispaste in t/76-webhook-pipeline.t missing a test and a double "my"
declaration
* convert debian/watch to a dummy one - there is no other upstream but us
* autopkgtest: skip smoke tests not supposed to be run with installed
package
* shorten compare URL
-- Damyan Ivanov <dmn@debian.org> Tue, 06 Mar 2018 06:30:01 +0000
kgb-bot (1.44-1) unstable; urgency=medium
* bot/webhook: shorten git hashes in URLs
(as a fallback when URL shortening has problems or is not configured)
* webhook: no heuristics when determining which params are arrays
* webhook/pipeline: add support for pipeline_only_status URL parameter
(multiple values)
(Closes: #891870)
* webhook: colorize pipeline success/failure in reverse green/red
-- Damyan Ivanov <dmn@debian.org> Sat, 03 Mar 2018 07:45:41 +0000
kgb-bot (1.43-1) unstable; urgency=medium
* improve pipeline notifications
* improve commit squash handling
-- Damyan Ivanov <dmn@debian.org> Fri, 02 Mar 2018 06:17:51 +0000
kgb-bot (1.42-1) unstable; urgency=medium
[ Martín Ferrari ]
* Speed-up KGB joining of channels and setup.
Monkey-patch the delayed command dispatcher in PoCO::IRC to ignore
flood-prevention measures for high-priority messages (JOIN, MODE, etc), now
joins of many channels can be completed in a few seconds.
[ Damyan Ivanov ]
* webhooks: make use_irc_notices=1 the default, as advertised
-- Damyan Ivanov <dmn@debian.org> Mon, 26 Feb 2018 13:21:58 +0000
kgb-bot (1.41-1) unstable; urgency=medium
* mark not released versions as 'Not Released' to make Test::CPAN::Changes
happy
* add a test ensuring the current release has an entry in Changes
* webhook: fix accounting the `use_irc_notices` option
-- Damyan Ivanov <dmn@debian.org> Sat, 24 Feb 2018 08:52:53 +0000
kgb-bot (1.40-1) unstable; urgency=medium
[ gregor herrmann ]
* debian/rules: switch from `dh_install --fail-missing' to `dh_missing
--fail-missing' to prepare for the former's removal in future
debhelper compatibility levels.
* debian/rules: use DEB_VERSION_UPSTREAM instead of stripping the Debian
revision from DEB_VERSION.
* debian/rules: move version check to override_dh_auto_configure.
That way the build fails earlier, and DEB_BUILD_OPTIONS=nocheck is
honoured.
* Bump debhelper compatibility level to 10.
[ Damyan Ivanov ]
* webhook/push: fix the compare URL when squashing branch updates
* webhook/push: change the default for squash_threshold from 4 to 20
-- Damyan Ivanov <dmn@debian.org> Tue, 20 Feb 2018 21:02:13 +0000
kgb-bot (1.39-1) unstable; urgency=medium
[ gregor herrmann]
* Fix URL in Homepage in debian/control.
[ Damyan Ivanov]
* webhook/push: handle the case when the author is not the person pushing
the branch
-- Damyan Ivanov <dmn@debian.org> Mon, 19 Feb 2018 20:35:12 +0000
kgb-bot (1.38-1) unstable; urgency=medium
* webhok/tag_push:
+ add tag URL
+ recognize signed tags
-- Damyan Ivanov <dmn@debian.org> Sat, 17 Feb 2018 13:06:55 +0000
kgb-bot (1.37-1) unstable; urgency=medium
* webhooks: support squashing of branch updates
-- Damyan Ivanov <dmn@debian.org> Fri, 16 Feb 2018 14:17:08 +0000
kgb-bot (1.36-1) unstable; urgency=medium
* fix typo (push_tag → tag_push) missing tag push webhook events
-- Damyan Ivanov <dmn@debian.org> Mon, 12 Feb 2018 21:30:14 +0000
kgb-bot (1.35-1) unstable; urgency=medium
[ gregor herrmann ]
* WWW::Shorten::Debli: use https for deb.li URLs.
Thanks to pabs for the pointer.
[ Damyan Ivanov ]
* use the interpreter running the test to run the test client
otherwise the system-wide perl is used, which may be configured
(e.g. @INC) quite differently
Thanks to Slaven Rezić (RT#108400)
* fix comparison of Git version to 2.9.0, when the minor version is greater
than 9 "2.15.0" ge "2.9.0" returns false, because it uses string
comparison and "1" is less than "9".
* bump copyright years
* TestBot: die if the bot exits with non-zero status
* bot:
+ add support for GitLab webhook termination at /webhook/
+ add systemd .service file
+ irc_new_hash: make new entries enter at the top of the list
+ stop sending /WHO when somebody joins
+ debug: prepend the line number
+ fix disabling of colors on use_color=0
* Painter: fix 'item_colors' member name mistake
* kgb-ci-report
+ POD: wrap links in L<>, use https
+ use https for ci.debian.net
+ use udd-mirror.debian.net for connecting to UDD
+ allow running without --kgb-config
* change Maintainer to kgb-bot@packages.d.o
* Point Vcs-* and Homepage to Salsa
* tests: allow overriding of bot/client location
* enable autopkgtests
-- Damyan Ivanov <dmn@debian.org> Mon, 12 Feb 2018 21:13:07 +0000
kgb-bot (1.34-2) unstable; urgency=medium
* Add patch to fix version comparison in a test.
Thanks to Santiago Vila for the bug report.
(Closes: #842722)
* Add dependency on lsb-base to kgb-bot.
Needed for the init script.
Thanks to lintian.
-- gregor herrmann <gregoa@debian.org> Mon, 31 Oct 2016 18:44:25 +0100
kgb-bot (1.34-1) unstable; urgency=medium
[ gregor herrmann ]
* kgb-client.conf(5): change example shortening service from Metamark to
TinyURL, following the example of WWW::Shorten. Metamark is not
accepting new URLs anymore.
[ Damyan Ivanov ]
* also mention cgit in the web-link description
* add a new script, kgb-ci-report. used to notify about CI failures
* bump years of copyright
[ Pierre Schweitzer ]
* kgb-client: use login name when the full user name is not available
Closes: #772747
* Remove ${{project/}} token from the example multi-line message
configuration (already removed from the single-line configuration)
Closes: #772749
* Fix multiline message template
Closes: #772750
[ Damyan Ivanov ]
* TestBot:
- when waiting for the PID file to appear, also see if it has any content
- close the PID file after reading it
* kgb-bot:
- add the PID to the "Listening on ..." line in the log
- rewrite the PID management code using OO interface of Proc::PID::File.
This fixes a rather nasty hardly-reproducible bug causing the PID file
to be re-created after being removed, which may fool the tests and make
them hang.
Closes: #782079
* kgb-client: add libwww-perl to Recommends, needed by kgb-ci-report
[ gregor herrmann ]
* Update (build) dependencies.
- build-depend on libmodule-build-perl only
Closes: #834597
- move libmodule-build-perl to Build-Depends.
- remove unneeded version from kgb-client dependency
- add build dependency on libdbd-pg-perl
* Update Vcs-* headers-.
* Declare compliance with Debian Policy 3.9.8.
* Bump debhelper compatibility level to 9.
* Build.PL:
- install new kgb-ci-report script
- add DBD::Pg as requirement in Build.PL
* debian/*: Switch some URLs to HTTPS. Thanks to duck.
* Fix some typos in the POD. Thanks to lintian.
* Drop fix-username-in-tests.patch; applied.
* Update years of packaging copyright.
[ Martín Ferrari ]
* App::KGB::Client::ServerRef:
- More consistent verbose reporting of server communication.
- Add --dry-run option for debugging.
- Bug fix: use correct method when sending a commit info with
default protocol.
* App::KGB::Client: format_message: Don't lose data.
When the commit object does not have all the info, it still overwrites
data coming from the extra arguments. It meant SVN commits were lacking
branch and module information completely.
[ gregor herrmann ]
* Fix t/52-client-git.t to work with newer git versions as well.
Since 2.9.0, git allows merging branches without a common ancestors only
when "--allow-unrelated-histories" is passed. This has lead to test
failures.
Pass the parameter conditionally.
-- gregor herrmann <gregoa@debian.org> Mon, 26 Sep 2016 18:26:04 +0200
kgb-bot (1.33-2) unstable; urgency=medium
* add patch fixing tests in build environments where the current user has no
full name (Closes: #769239 -- FTBFS)
-- Damyan Ivanov <dmn@debian.org> Sat, 15 Nov 2014 19:03:05 +0000
kgb-bot (1.33-1) unstable; urgency=medium
* TestBot: set $ENV{USER} to getpwuid($>) to fix discrepancy when running
under pbuilder
* Standards-Version: 3.9.4 → 3.9.5 (no changes needed)
-- Damyan Ivanov <dmn@debian.org> Wed, 06 Aug 2014 20:01:47 +0000
kgb-bot (1.32-1) unstable; urgency=medium
[ Damyan Ivanov ]
* bot: store real path to the pid directory
* bot: remove PID file on exit
* fix utf-8 locale detection in 50-client.t
* TestBot: test helper module for running a real bot for tests
* 50-client.t: check real bot output
* TestBot: report bot PID when starting/stopping
* convert 52-client-git to TestBot
* fix detection of common changes path when using msg_template
* require File::Remove and Test::Differences for tests
* convert 53-client-git-merges.t to TestBot
* convert 54-client-git-squash.t to TestBot
* convert t/55-client-git-merges-ff.t to TestBot
* convert t/56-client-git-ff-merge-2.t to TestBot
* convert t/57-client-git-squash-tags.t to TestBot
* avoid double-spaces when formatting messages
* bot: honour broadcast channels setting when relaying messages too
[ gregor herrmann ]
* kgb.conf(5): improve documentation for server_addr variable.
(Closes: #744689)
[ Damyan Ivanov ]
* kgb-client: add support for setting Git-specific options via the
configuration file/command line
* point to client backends for backend-specific configuration options
* use encoding 'utf8' --> use utf8
* replace given/when with chained if/elsif/else
* missing newline between =items (POD)
* update FSF address
* bump years of copyrigght
* put GPL_2 as license in Build.PL (gpl2 is not recognised anymore)
* move gathering of data from new() to _detect_commits
* a new internal method, _reset, for resetting the parsed reflog data
* use strict and warnings in tests
* tests: replace explicit plans with done_testing()
* die when the reflog is empty
-- Damyan Ivanov <dmn@debian.org> Mon, 04 Aug 2014 19:48:20 +0000
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 whether 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 <dmn@debian.org> Sat, 17 Aug 2013 09:41:02 +0200
kgb-bot (1.30-1) unstable; urgency=low
* bot: fix colorize_change_wrapper
-- Damyan Ivanov <dmn@debian.org> 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ř <ppisar@redhat.com> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <tincho@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> Wed, 02 Dec 2009 19:34:35 +0200
kgb-bot (0.16-1) unstable; urgency=low
* New upstream release
-- Damyan Ivanov <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> Mon, 02 Nov 2009 22:34:17 +0200
kgb-bot (0.13-1) unstable; urgency=low
* New upstream release
-- Damyan Ivanov <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> 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 <dmn@debian.org> Sun, 06 Sep 2009 15:31:02 +0300
|