| 1 |
1.62 2025-06-07 |
| 2 |
|
| 3 |
[ Antoine Beaupré, Damyan Ivanov ] |
| 4 |
* channel secret support (Closes: #899245) |
| 5 |
|
| 6 |
[ Damyan Ivanov ] |
| 7 |
* update copyright notices |
| 8 |
|
| 9 |
1.61 2024-09-20 |
| 10 |
[ Martina Ferrari ] |
| 11 |
* trim_lines: Remove prefix from continuation lines. |
| 12 |
|
| 13 |
[ gregor herrmann ] |
| 14 |
* t/76-webhook-pipeline.t: add a test for a multi-line pipeline message. |
| 15 |
|
| 16 |
[ Martina Ferrari ] |
| 17 |
* t/76-webhook-pipeline.t: ensure line is cut mid-word. |
| 18 |
* t/76-webhook-pipeline.t: ensure multi-line test fails without the fix. |
| 19 |
|
| 20 |
1.60 2024-01-01 |
| 21 |
[ Damyan Ivanov ] |
| 22 |
* Changes: drop round brackets around release dates (Closes: #1057932) |
| 23 |
|
| 24 |
[ Antoine Beaupré ] |
| 25 |
* trickle up error messages in JSON RPC calls. |
| 26 |
|
| 27 |
[ gregor herrmann ] |
| 28 |
* debian/copyright: update copyright holders/years. |
| 29 |
* Declare compliance with Debian Policy 4.6.2. |
| 30 |
|
| 31 |
1.59 2023-10-30 |
| 32 |
[ gregor herrmann ] |
| 33 |
* t/76-webhook-pipeline.t: use status=failed instead of failure |
| 34 |
to match Gitlab pipeline status (no functional change). |
| 35 |
|
| 36 |
[ Martina Ferrari ] |
| 37 |
* Update my name and email address. |
| 38 |
|
| 39 |
[ Damyan Ivanov ] |
| 40 |
* avoid warning in kgb-ci-report when a package is first tested by the CI |
| 41 |
prev_status is undefined in such situations |
| 42 |
* systemd: add Restart=on-failure |
| 43 |
helps providing the service even after a crash |
| 44 |
|
| 45 |
1.58 2020-11-03 |
| 46 |
* fix tests to not hard-code merge commit messages |
| 47 |
|
| 48 |
1.57 2020-07-24 |
| 49 |
* Update tests to changed output in merge messages for Git 2.28.0+. |
| 50 |
Thanks to Jonathan Nieder for the bug report. (Closes: #965350) |
| 51 |
|
| 52 |
1.56 2020-03-22 |
| 53 |
[ Iain Lane ] |
| 54 |
* kgb-bot: Support globs in only_branches. |
| 55 |
This will allow derivatives to maintain their packages on Salsa, but not |
| 56 |
announce the changes to their branches to the Debian IRC channels. |
| 57 |
(Closes: #945015) |
| 58 |
* kgb-bot: Add only_tag parameter. |
| 59 |
As with `only_branch`, this will make the bot only announce changes to |
| 60 |
tags matching the given globs. |
| 61 |
|
| 62 |
[ gregor herrmann ] |
| 63 |
* Update copyright notices. |
| 64 |
* Add new requirements to Build.PL. |
| 65 |
|
| 66 |
1.55 2019-06-13 |
| 67 |
[ gregor herrmann ] |
| 68 |
* fix typo in test diag() |
| 69 |
|
| 70 |
[ Damyan Ivanov ] |
| 71 |
* fix coloring of failed pipelines (Closes: #930450) |
| 72 |
|
| 73 |
1.54 2019-01-03 |
| 74 |
[ Damyan Ivanov ] |
| 75 |
* comment out the test client config example of message-template |
| 76 |
* use_ssl: 0 in the example test server configs |
| 77 |
|
| 78 |
[ gregor herrmann ] |
| 79 |
* script/kgb-bot: use $client_ip->ip in webhook error message |
| 80 |
like in the debug message. |
| 81 |
Thanks to James Clarke for the suggestion. |
| 82 |
|
| 83 |
[ Damyan Ivanov ] |
| 84 |
* kgb-bot: convert ::ffff:a.b.c.d to a.b.c.d before looking up client ip in |
| 85 |
the white list |
| 86 |
|
| 87 |
1.53 2018-10-13 |
| 88 |
[ Damyan Ivanov ] |
| 89 |
* drop port: option from default config |
| 90 |
* add port to the test server IRC config now that 6697 us the default |
| 91 |
* encode/decode Git directory name when passing it to Git or when reading it |
| 92 |
from the environment |
| 93 |
this matters when the directory name is not plain ASCII (Closes: #822375) |
| 94 |
* auto join: increase NickServ delay to 60 seconds (default is 5) |
| 95 |
this helps joining +r channels on freenode, where nick server identification |
| 96 |
takes more than 5 seconds |
| 97 |
* fix path to scripts in t/critic.t |
| 98 |
* reorder default notification order, keeping the order of colours |
| 99 |
the new order is project/module, branch, commit, author, log |
| 100 |
* Client::Git: strip leading whitespace when parsing the output of |
| 101 |
'git status' |
| 102 |
|
| 103 |
[ gregor herrmann ] |
| 104 |
* kgb-bot: human_duration(): also handle case where there are exactly |
| 105 |
two time parts. Thanks to Mattia Rizzolo for the bug report on IRC. |
| 106 |
* Declare compliance with Debian Policy 4.2.1. |
| 107 |
|
| 108 |
1.52 2018-09-13 |
| 109 |
[ gregor herrmann ] |
| 110 |
* Add some documentation about the webhook configuration to kgb.conf(5). |
| 111 |
|
| 112 |
[ Damyan Ivanov ] |
| 113 |
* kgb-ci-report: avoid counting duplicate source packages in the UDD SQL query |
| 114 |
* kgb-bot: add support to use_ssl configuration parameter (per network) |
| 115 |
(defaults to 1) |
| 116 |
|
| 117 |
1.51 2018-06-04 |
| 118 |
[ Damyan Ivanov ] |
| 119 |
* kgb-ci-report: avoid boolean evaluation of Dpkg::Version object where a |
| 120 |
simple existence test is enough (Closes: #900699) |
| 121 |
|
| 122 |
1.50 2018-05-23 |
| 123 |
[ Martina Ferrari ] |
| 124 |
* Add merge request title to merge request notifications. |
| 125 |
* Stop using channel as a unique identifier. |
| 126 |
This is a big change, as most of the code was assuming a channel name is |
| 127 |
unique across networks, causing weird issues when adding channels |
| 128 |
dynamically from a webhook. |
| 129 |
* Factor out some repetitive code. |
| 130 |
* The current code was leaving the configuration in a inconsistent state when |
| 131 |
a channel was dynamically added; now it is done as if it was added to the |
| 132 |
configuration. |
| 133 |
* Finally fix the dynamic join problem. |
| 134 |
|
| 135 |
[ Damyan Ivanov ] |
| 136 |
* use get_chanid at one more place instead of hand-crafted concatenation |
| 137 |
* when complaining of a repo without channels, suggest adding them to |
| 138 |
the request parameters |
| 139 |
|
| 140 |
1.49 2018-04-29 |
| 141 |
[ Damyan Ivanov ] |
| 142 |
* add 'always_squash_outside_dir' webhook option (multiple values) |
| 143 |
|
| 144 |
1.48 2018-04-21 |
| 145 |
[ Damyan Ivanov ] |
| 146 |
* add only_branch webhook option |
| 147 |
* webhook: add (via ...) only when *both* user name and email differs |
| 148 |
between author and pusher |
| 149 |
|
| 150 |
1.47 2018-04-10 |
| 151 |
[ Damyan Ivanov ] |
| 152 |
* webhook/merge request: drop "revision" output and put the action in square |
| 153 |
brackets |
| 154 |
* set default params in one place |
| 155 |
* add shorten_urls webhook parameter, defaults to 1 |
| 156 |
|
| 157 |
[ James Clarke ] |
| 158 |
* webhook: |
| 159 |
+ Better tag deletion messages |
| 160 |
+ Show branch deletions (Closes: #895283) |
| 161 |
|
| 162 |
[ Damyan Ivanov ] |
| 163 |
* fix warning about double "my" in 70-webhook-push.t |
| 164 |
* fix 52-client-git.t and 53-client-git-merges.t with Git 1.17. |
| 165 |
(Closes: 894775) |
| 166 |
|
| 167 |
[ Colin Finck ] |
| 168 |
* Git client: Support an "author-via" placeholder in the message template, |
| 169 |
which shows the author and committer name if both are different. |
| 170 |
|
| 171 |
1.46 2018-03-08 |
| 172 |
[ Damyan Ivanov ] |
| 173 |
* webhook/push: add always_squash_branch parameter, |
| 174 |
defaults to [ 'upstream', 'upstream/master' ] |
| 175 |
* fix stats counting |
| 176 |
* bot: reload URL shortening module when the config is changed |
| 177 |
* document short_url_service in kgb.conf(5) |
| 178 |
|
| 179 |
[ James Clarke ] |
| 180 |
* Use ! rather than # for GitLab merge requests |
| 181 |
* Use iid rather than global id for merge requests and issues |
| 182 |
|
| 183 |
[ gregor herrmann ] |
| 184 |
* bot: rename "signed-tags" to "signed tags", as in the client. |
| 185 |
|
| 186 |
1.45 2018-03-06 |
| 187 |
[ Damyan Ivanov ] |
| 188 |
* point output of '/ctcp source' to salsa |
| 189 |
* fix short url code after 97033851da793b345f5283fb96897d5f9b55b810 |
| 190 |
* collect some stats - run time, notification counts |
| 191 |
* react to !stats and !statsreset |
| 192 |
* update HOWTO.release |
| 193 |
* shorten compare URLs |
| 194 |
|
| 195 |
1.44 2018-03-03 |
| 196 |
[ Damyan Ivanov ] |
| 197 |
* bot/webhook: shorten git hashes in URLs |
| 198 |
(as a fallback when URL shortening has problems or is not configured) |
| 199 |
* webhook: no heuristics when determining which params are arrays |
| 200 |
* webhook/pipeline: add support for pipeline_only_status URL parameter |
| 201 |
(multiple values) |
| 202 |
(Closes: #891870) |
| 203 |
* webhook: colorize pipeline success/failure in reverse green/red |
| 204 |
|
| 205 |
1.43 2018-03-02 |
| 206 |
[ Damyan Ivanov ] |
| 207 |
* improve pipeline notifications |
| 208 |
* improve commit squash handling |
| 209 |
|
| 210 |
1.42 2018-02-26 |
| 211 |
[ Martina Ferrari ] |
| 212 |
* Speed-up KGB joining of channels and setup. |
| 213 |
Monkey-patch the delayed command dispatcher in PoCO::IRC to ignore |
| 214 |
flood-prevention measures for high-priority messages (JOIN, MODE, etc), now |
| 215 |
joins of many channels can be completed in a few seconds. |
| 216 |
|
| 217 |
[ Damyan Ivanov ] |
| 218 |
* webhooks: make use_irc_notices=1 the default, as advertised |
| 219 |
|
| 220 |
1.41 2018-02-24 |
| 221 |
[ Damyan Ivanov ] |
| 222 |
* mark not released versions as 'Not Released' to make Test::CPAN::Changes |
| 223 |
happy |
| 224 |
* add a test ensuring the current release has an entry in Changes |
| 225 |
* webhook: fix accounting the `use_irc_notices` option |
| 226 |
|
| 227 |
[ gregor herrmann ] |
| 228 |
* fix a typo in POD |
| 229 |
|
| 230 |
1.40 2018-02-20 |
| 231 |
[ Damyan Ivanov ] |
| 232 |
* webhook/push: |
| 233 |
+ fix the compare URL when squashing branch updates |
| 234 |
+ change the default for squash_threshold from 4 to 20 |
| 235 |
|
| 236 |
1.39 2018-02-19 |
| 237 |
[ Damyan Ivanov ] |
| 238 |
* webhook/push: handle the case when the author is not the person pushing the |
| 239 |
branch |
| 240 |
|
| 241 |
1.38 2018-02-17 |
| 242 |
[ Damyan Ivanov ] |
| 243 |
* webhok/tag_push: |
| 244 |
+ add tag URL |
| 245 |
+ recognize signed tags |
| 246 |
|
| 247 |
1.37 2018-02-16 |
| 248 |
[ Damyan Ivanov ] |
| 249 |
* webhooks: support squashing of branch updates |
| 250 |
|
| 251 |
1.36 2018-02-12 |
| 252 |
[ Damyan Ivanov ] |
| 253 |
* Fix typo missing tag_push webhook events |
| 254 |
|
| 255 |
1.35 2018-02-12 |
| 256 |
[ gregor herrmann ] |
| 257 |
* WWW::Shorten::Debli: use https for deb.li URLs. |
| 258 |
Thanks to pabs for the pointer. |
| 259 |
|
| 260 |
[ Damyan Ivanov ] |
| 261 |
* use the interpreter running the test to run the test client |
| 262 |
otherwise the system-wide perl is used, which may be configured |
| 263 |
(e.g. @INC) quite differently |
| 264 |
Thanks to Slaven Rezić (RT#108400) |
| 265 |
* fix comparison of Git version to 2.9.0, when the minor version is greater t» |
| 266 |
"2.15.0" ge "2.9.0" returns false, because it uses string comparison |
| 267 |
and "1" is less than "9". |
| 268 |
* bot: preliminary support for GitLab webhook termination at /webhook/ |
| 269 |
* bot: let --debug override the config setting |
| 270 |
* bump copyright years |
| 271 |
* TestBot: die if the bot exits with non-zero status |
| 272 |
* bot: |
| 273 |
+ add support for GitLab webhook termination at /webhook/ |
| 274 |
+ add systemd .service file |
| 275 |
+ irc_new_hash: make new entries enter at the top of the list |
| 276 |
+ stop sending /WHO when somebody joins |
| 277 |
+ debug: prepend the line number |
| 278 |
+ fix disabling of colors on use_color=0 |
| 279 |
* Painter: fix 'item_colors' member name mistake |
| 280 |
* kgb-ci-report |
| 281 |
+ POD: wrap links in L<>, use https |
| 282 |
+ use https for ci.debian.net |
| 283 |
+ use udd-mirror.debian.net for connecting to UDD |
| 284 |
+ allow running without --kgb-config |
| 285 |
* tests: allow overriding of bot/client location |
| 286 |
|
| 287 |
1.34 2016-09-26 |
| 288 |
[ Damyan Ivanov ] |
| 289 |
* add patch fixing tests in build environments where the current user has no |
| 290 |
full name (Closes: #769239 -- FTBFS) |
| 291 |
|
| 292 |
[ gregor herrmann ] |
| 293 |
* kgb-client.conf(5): change example shortening service from Metamark to |
| 294 |
TinyURL, following the example of WWW::Shorten. Metamark is not |
| 295 |
accepting new URLs anymore. |
| 296 |
|
| 297 |
[ Damyan Ivanov ] |
| 298 |
* also mention cgit in the web-link description |
| 299 |
* add a new script, kgb-ci-report. used to notify about CI failures |
| 300 |
* bump years of copyright |
| 301 |
|
| 302 |
[ Pierre Schweitzer ] |
| 303 |
* kgb-client: use login name when the full user name is not available |
| 304 |
Closes: #772747 |
| 305 |
* Remove ${{project/}} token from the example multi-line message |
| 306 |
configuration (already removed from the single-line configuration) |
| 307 |
Closes: #772749 |
| 308 |
* Fix multiline message template |
| 309 |
Closes: #772750 |
| 310 |
|
| 311 |
[ Damyan Ivanov ] |
| 312 |
* TestBot: |
| 313 |
- when waiting for the PID file to appear, also see if it has any content |
| 314 |
- close the PID file after reading it |
| 315 |
* kgb-bot: |
| 316 |
- add the PID to the "Listening on ..." line in the log |
| 317 |
- rewrite the PID management code using OO interface of Proc::PID::File. |
| 318 |
This fixes a rather nasty hardly-reproducible bug causing the PID file |
| 319 |
to be re-created after being removed, which may fool the tests and make |
| 320 |
them hang. |
| 321 |
Closes: #782079 |
| 322 |
|
| 323 |
[ gregor herrmann ] |
| 324 |
* Build.PL: |
| 325 |
- install new kgb-ci-report script |
| 326 |
- add DBD::Pg as requirement in Build.PL |
| 327 |
* Fix some typos in the POD. Thanks to lintian. |
| 328 |
|
| 329 |
[ Martina Ferrari ] |
| 330 |
* App::KGB::Client::ServerRef: |
| 331 |
- More consistent verbose reporting of server communication. |
| 332 |
- Add --dry-run option for debugging. |
| 333 |
- Bug fix: use correct method when sending a commit info with |
| 334 |
default protocol. |
| 335 |
* App::KGB::Client: format_message: Don't lose data. |
| 336 |
When the commit object does not have all the info, it still overwrites |
| 337 |
data coming from the extra arguments. It meant SVN commits were lacking |
| 338 |
branch and module information completely. |
| 339 |
|
| 340 |
[ gregor herrmann ] |
| 341 |
* Fix t/52-client-git.t to work with newer git versions as well. |
| 342 |
Since 2.9.0, git allows merging branches without a common ancestors only |
| 343 |
when "--allow-unrelated-histories" is passed. This has lead to test |
| 344 |
failures. |
| 345 |
Pass the parameter conditionally. |
| 346 |
|
| 347 |
|
| 348 |
1.33 2014-08-06 |
| 349 |
* TestBot: set $ENV{USER} to getpwnam($>) to fix discrepancy when running |
| 350 |
under sudo (as in pbuilder) |
| 351 |
|
| 352 |
1.32 2014-08-04 |
| 353 |
[ Damyan Ivanov ] |
| 354 |
* bot: store real path to the pid directory |
| 355 |
* bot: remove PID file on exit |
| 356 |
* fix utf-8 locale detection in 50-client.t |
| 357 |
* TestBot: test helper module for running a real bot for tests |
| 358 |
* 50-client.t: check real bot output |
| 359 |
* TestBot: report bot PID when starting/stopping |
| 360 |
* convert 52-client-git to TestBot |
| 361 |
* fix detection of common changes path when using msg_template |
| 362 |
* require File::Remove and Test::Differences for tests |
| 363 |
* convert 53-client-git-merges.t to TestBot |
| 364 |
* convert 54-client-git-squash.t to TestBot |
| 365 |
* convert t/55-client-git-merges-ff.t to TestBot |
| 366 |
* convert t/56-client-git-ff-merge-2.t to TestBot |
| 367 |
* convert t/57-client-git-squash-tags.t to TestBot |
| 368 |
* avoid double-spaces when formatting messages |
| 369 |
* bot: honour broadcast channels setting when relaying messages too |
| 370 |
|
| 371 |
[ gregor herrmann ] |
| 372 |
* kgb.conf(5): improve documentation for server_addr variable. |
| 373 |
(Closes: #744689) |
| 374 |
|
| 375 |
[ Damyan Ivanov ] |
| 376 |
* kgb-client: add support for setting Git-specific options via the |
| 377 |
configuration file/command line |
| 378 |
* point to client backends for backend-specific configuration options |
| 379 |
* use encoding 'utf8' --> use utf8 |
| 380 |
* replace given/when with chained if/elsif/else |
| 381 |
* missing newline between =items (POD) |
| 382 |
* update FSF address |
| 383 |
* bump years of copyrigght |
| 384 |
* put GPL_2 as license in Build.PL (gpl2 is not recognised anymore) |
| 385 |
* move gathering of data from new() to _detect_commits |
| 386 |
* a new internal method, _reset, for resetting the parsed reflog data |
| 387 |
* use strict and warnings in tests |
| 388 |
* tests: replace explicit plans with done_testing() |
| 389 |
* die when the reflog is empty |
| 390 |
* fix typo in changelog (wheter -> whether), thanks lintian |
| 391 |
|
| 392 |
1.31 2013-08-17 |
| 393 |
* client: default to using json |
| 394 |
* remove author-login from default message templates |
| 395 |
* import dirname in Client.pm |
| 396 |
* configure test git repositories whether test bot is running or not |
| 397 |
* remove project from default configuration |
| 398 |
* update documentation about default message templates |
| 399 |
* add author_name field for CVS commits |
| 400 |
* client: decode arguments given to --relay-msg |
| 401 |
* require JSON::XS instead of plain JSON |
| 402 |
|
| 403 |
1.30 2013-08-09 |
| 404 |
* bot: fix colorize_change_wrapper |
| 405 |
|
| 406 |
1.29 2013-08-08 |
| 407 |
* add versions to all modules |
| 408 |
* ensure strict and warnings are used everywhere |
| 409 |
|
| 410 |
1.28 2013-08-08 |
| 411 |
[ gregor herrmann ] |
| 412 |
* client: Fix failure with Safe-2.35. |
| 413 |
Thanks to Petr Písař <[email protected]> for the patch. |
| 414 |
|
| 415 |
[ Damyan Ivanov ] |
| 416 |
* client: detect UTF8 in full author name |
| 417 |
* git client: add kgb.enable-branch-ff-notification Git option (true by |
| 418 |
default) for managing fast forward notifications |
| 419 |
* declare test dependencies in test_requires |
| 420 |
* client: add --debug option |
| 421 |
* git client: chomp git-config-determined config file path before usage |
| 422 |
* replace ~~ (smartmatch) usage. ~~ is deprecated in perl 5.18 |
| 423 |
* replace given/when usage, declared experimental in perl 5.18 |
| 424 |
* client: verify config file structures |
| 425 |
* git client: do not die on unknown ref updates (see #706375) |
| 426 |
* git client: squash creation if numerous tags (>5 currently) |
| 427 |
* git client: configurable tag squash threshold/message |
| 428 |
* client: correct POD about Client->format_message arguments |
| 429 |
* bot: allow setting of "" color to disable colouring of a given item |
| 430 |
* bot: use App::KGB::Painter for coloring |
| 431 |
* bot: add --simulate-color option enabling color codes in the dump file |
| 432 |
* git client: include tag name in the Tag object created from annotated tags |
| 433 |
* git client: allow specifying project-id via git-config |
| 434 |
* t/50-client.t: skip tests with UTF-8 commit messages (subversion) unless |
| 435 |
C_TYPE is known to use UTF-8. RT#80664 |
| 436 |
* adapt to newer JSON-RPC which renamed the client module (RT#80666) |
| 437 |
|
| 438 |
1.27 2013-05-29 |
| 439 |
* client: |
| 440 |
+ --repository option is no longer required |
| 441 |
+ add support for entirely client-constructed notifications |
| 442 |
+ verbose complaint when a message cannot be encoded as JSON |
| 443 |
+ add support for batching messages |
| 444 |
+ Git: include author name in commit information (Debian: #700319) |
| 445 |
+ Git: add support for configuring some settings via git-config |
| 446 |
+ Git: implement commit squashing for large branch updates |
| 447 |
* bot: |
| 448 |
+ support miltiple relay messages per request |
| 449 |
+ properly handle multi-line relayed messages |
| 450 |
+ add rate limit support to JSON message relay implementation |
| 451 |
+ Fix a problem where authentication was sent too late, due to throttling |
| 452 |
caused by JOIN commands sent earlier. This change uses the AutoJoin plugin |
| 453 |
that knows how to interact with NickServID properly. Patch contributed by |
| 454 |
poco-irc maintainer, Hinrik Orn Sigurdsson. |
| 455 |
* both: |
| 456 |
+ add support for ${project} substitution in web_link |
| 457 |
+ documentation improvements |
| 458 |
* building |
| 459 |
+ Add Time::Piece and IPC::Run to Build.PL. |
| 460 |
+ Build.PL: create LICENSE file during `make dist'. |
| 461 |
|
| 462 |
1.26 2013-03-28 |
| 463 |
|
| 464 |
* update kgb-client.conf manual with the new options |
| 465 |
* rework Git branch walking |
| 466 |
avoids multiple notification about merged commits (Closes Debian bug #698133) |
| 467 |
* notify even if log message is invalid UTF-8 |
| 468 |
notification with log of "(log is invalid UTF-8)" is better than |
| 469 |
no notification at all |
| 470 |
(Closes Debian bug #691183) |
| 471 |
|
| 472 |
1.25 2012-12-27 |
| 473 |
* Documentation |
| 474 |
+ client/CVS: mention that CVSROOT is a module |
| 475 |
+ add HOWTO.release to MANIFEST |
| 476 |
* Internal: |
| 477 |
+ Client/Git: rename _process_commit method to _process_changeset to better |
| 478 |
describe what it does |
| 479 |
* Client/Server: |
| 480 |
+ add support for using IRC notices |
| 481 |
+ add support for disabling color |
| 482 |
* Client: |
| 483 |
+ fix --password option definition |
| 484 |
+ rework configuration to make priority explicit |
| 485 |
|
| 486 |
1.24 2012-11-22 |
| 487 |
* Documentation: |
| 488 |
+ Document KGB protocol (currently v4 JSON only). |
| 489 |
+ kgb-client.conf(5): add single-line-commit option. |
| 490 |
+ Document web-link configuration via git-config. |
| 491 |
* Client: |
| 492 |
+ Add a few checks on the configuration file. |
| 493 |
+ Add --man and --help command-line options. |
| 494 |
+ Fix validation of --single-line-commits argument. |
| 495 |
+ Support web-link option via git configuration. |
| 496 |
* Server: |
| 497 |
+ Avoid responding to senders having .bot. in their hostname. |
| 498 |
+ change default port to 5391. Closes Debian bug #691562 -- port conflict |
| 499 |
with approx. |
| 500 |
+ kgb-add-project: chown/chmod config (snippet) like kgb.conf. |
| 501 |
+ Use asterisk for web link separator (used also for commit message |
| 502 |
separator). |
| 503 |
+ Explicitly check and die if included conf file doesn't exist. |
| 504 |
+ Put URL on first line of multi-line notifications. |
| 505 |
+ Put back SVN in requirements now that Module::Build is fixed. See |
| 506 |
https://rt.cpan.org/Public/Bug/Display.html?id=59593 |
| 507 |
|
| 508 |
1.23 2012-10-20 |
| 509 |
* t/compile*: use Test::Compile::Internal in order to show verbose errors |
| 510 |
* Server: |
| 511 |
+ add --debug command line switch |
| 512 |
+ replace --config-dir option with 'include:' configuration item |
| 513 |
add 'include: "/etc/kgb-bot/kgb.conf.d"' to the default config |
| 514 |
+ default pid_dir to /var/run/kgb-bot |
| 515 |
* Documentation: |
| 516 |
+ add manuals for kgb.conf and kgb-client.conf |
| 517 |
+ pod.t: test documentation in man*/ too |
| 518 |
+ give example for gitweb URL |
| 519 |
* Client: |
| 520 |
+ show expanded web-link in verbose mode |
| 521 |
+ dump processed configuration in verbose mode |
| 522 |
+ shorten_url: really return plain URL if shortening is not enabled |
| 523 |
+ send_changes: detailed dump in verbose mode |
| 524 |
+ introduce module-and-branch-re setting and deprecate |
| 525 |
branch-and-module-re-swap |
| 526 |
|
| 527 |
1.22 2012-10-14 |
| 528 |
* kgb-add-project: document the new --dir option |
| 529 |
* Add API documentation (JSON-RPC only) |
| 530 |
* Server: |
| 531 |
+ prepend all IRC strings with a hidden character to avoid addressing |
| 532 |
+ honour --foreground when reloading and don't reopen the log |
| 533 |
+ change the delimiters around web links to make konsole users' life |
| 534 |
easier |
| 535 |
+ pass --config-dir too on restart |
| 536 |
+ add new kgb-split-config script |
| 537 |
+ refuse to load world-readable configuration files |
| 538 |
* fix a bug in determining the longest common directory in a change set |
| 539 |
|
| 540 |
1.21 2012-10-11 |
| 541 |
* Server: |
| 542 |
+ fix exception handling |
| 543 |
+ better error messages |
| 544 |
* Debli: prepend 'http://deb.li/' to the returned key |
| 545 |
|
| 546 |
1.20 2012-10-11 |
| 547 |
* kgb-add-project: avoid using 'keys($hashref)' which requires too recent perl |
| 548 |
* Client: |
| 549 |
+ add --reposotory to synopsis |
| 550 |
+ fix --repository in CVS example |
| 551 |
+ CVS: silence debugging output |
| 552 |
+ WWW:Shorten::Debli implementation (uses deb.li for URL shortening) |
| 553 |
+ determine default repository type from the environment |
| 554 |
(makes --repository useless) |
| 555 |
+ determine default module from git directory |
| 556 |
(makes --module redundant for Git) |
| 557 |
+ allow explicit protocol configuration |
| 558 |
+ saving of last contacted server -- in a separate method |
| 559 |
* Server: |
| 560 |
+ ensure trailing \n in KGB->out |
| 561 |
+ note repository id on internal errors |
| 562 |
+ conf.d/*.conf style configuration |
| 563 |
+ use exceptions for handling argument errors |
| 564 |
+ turn on utf8 mode on STDOUT/ERR |
| 565 |
+ use shorter timestamp representation |
| 566 |
* Both: |
| 567 |
+ protocol 4 (JSON-RPC) |
| 568 |
+ plain message relaying (Closes: #689641) |
| 569 |
|
| 570 |
* some spellchecking |
| 571 |
|
| 572 |
1.19 2012-10-05 |
| 573 |
|
| 574 |
* Bot: |
| 575 |
+ add timestamp to log messages |
| 576 |
+ use KGB->out() instead of plain warn() for consistent log messages |
| 577 |
+ tighten auto-responce rate-limit to stop storms in the first screen |
| 578 |
+ silently ignore empty changes |
| 579 |
+ do not crash on internal errors while processing requests |
| 580 |
* kgb-add-project: sort the channel hashes to make sure "name" is the first |
| 581 |
key. |
| 582 |
|
| 583 |
1.18 2012-10-05 |
| 584 |
* bot: fix channel-must-have-a-repository check for broadcast channels |
| 585 |
|
| 586 |
1.17 2012-10-05 |
| 587 |
* improve wording of web-link description |
| 588 |
* 50-client.t: support keeping temporary directory |
| 589 |
* declare POD encoding |
| 590 |
* additional documentation for web-link |
| 591 |
* explain status-dir in the sample client config |
| 592 |
* add support for URL shortening via WWW::Shorten |
| 593 |
+ kgb-client: add libwww-shorten-perl to Recommends |
| 594 |
* client: add --fake option. Fakes a commit to help testing server connection |
| 595 |
(Closes: #689540) |
| 596 |
* bot: introduce broadcast channels which receive notifications from all |
| 597 |
repositories |
| 598 |
Closes: #688993 |
| 599 |
+ introduce private repositories |
| 600 |
* bot: fail if a repository has no associated channels |
| 601 |
* typo/doc fixes |
| 602 |
* kgb-add-project: add option to save config back to file |
| 603 |
|
| 604 |
1.16 2012-10-03 |
| 605 |
* Misc |
| 606 |
+ Typos in documentation fixed |
| 607 |
* Server |
| 608 |
+ indicate replacement using 'brown' (which should be displayed as low |
| 609 |
intensity red or something) instead of inverse |
| 610 |
+ add script to add simple projects quickly |
| 611 |
+ call $poe_kernel->has_forked in the child process |
| 612 |
Makes the reload action of the bot work (Closes: #689018) |
| 613 |
+ reopen logs on reload |
| 614 |
+ create log file in the init script, not in postinst |
| 615 |
+ init script: depend on $network facility and add status option. |
| 616 |
+ init script: add pidfile argument to status option |
| 617 |
+ add bot reload to logrotate configuration |
| 618 |
* Client |
| 619 |
+ honour 'repository' setting in kgb-client.conf (Closes: 688992) |
| 620 |
+ fix forced single-line commit mode. reported by joeyh, fix by dondelelcaro |
| 621 |
* Both |
| 622 |
+ Add support for plain web links. No URL shortening yet |
| 623 |
+ Protocol v3 (used by client when extra parameters, e.g. web link need to |
| 624 |
be sent) |
| 625 |
+ Add CVS support (Closes: #689288) (Mostly in the client, but server needed |
| 626 |
some changes to drop assumptions that commits always have IDs) |
| 627 |
|
| 628 |
1.15 2011-09-14 |
| 629 |
* Client: |
| 630 |
+ make File::Touch usage optional, used only when status_dir is present |
| 631 |
+ use single line note for annotated tags |
| 632 |
+ document --status-dir |
| 633 |
+ consistent POD formatting |
| 634 |
+ POD fix for --single-line-commits in synopsis |
| 635 |
* Server: |
| 636 |
+ fix single line commits with multi-line explaination |
| 637 |
+ move detect_common_dir to App::KGB::Change (as a class method) |
| 638 |
+ no bold revision by default |
| 639 |
+ drop (bold) repository name from the notification |
| 640 |
* Misc: |
| 641 |
+ fix eg/run-test-bot-dump |
| 642 |
+ My::Builder: make the 'orig' target also provide a (hardlinked) |
| 643 |
distribution archive |
| 644 |
* Tests: |
| 645 |
+ initially trim the dump file only if existing |
| 646 |
+ fix single line notification separator |
| 647 |
+ tags are single line too |
| 648 |
+ add tests for decect_common_dir |
| 649 |
+ more extensive tests for debian/patches series some.patch (still passing) |
| 650 |
1.14 2011-08-24 |
| 651 |
* Client: |
| 652 |
+ pass the client instance to the server ref |
| 653 |
+ add an option to keep the last used server in a directory |
| 654 |
* Server: |
| 655 |
+ do not pre-pad $path_string if it is empty |
| 656 |
+ make the message separator colorizable (and leave gray for now) |
| 657 |
+ avoid calling md5_hex with wide characters |
| 658 |
* Both: |
| 659 |
+ add support for single line commit notifications |
| 660 |
* Meta: |
| 661 |
+ add MANIFEST and META.yml to MANIFEST (and the distribution) |
| 662 |
* Misc |
| 663 |
+ provide examples for running two test bots |
| 664 |
+ provide test client configuration |
| 665 |
+ use sample test client config in tests |
| 666 |
1.13 2011-08-13 |
| 667 |
* bot: add --simulate option |
| 668 |
* remove dead code |
| 669 |
* run-test-bot passes arguments to kgb-bot |
| 670 |
* change the port of the test bot |
| 671 |
* silence more git jabber during tests |
| 672 |
* add tests for simulated IRC output |
| 673 |
1.12 2011-08-13 |
| 674 |
* Updated META.* |
| 675 |
1.11 Not Released |
| 676 |
* test creation of brand new, orphan branch |
| 677 |
* fix: no warnings when commits have no author |
| 678 |
* bot: log repository on authentication failure |
| 679 |
* put tag name in changes for plain tags too |
| 680 |
* bot: always decode parameters |
| 681 |
1.10 2011-08-11 |
| 682 |
[ Daman Ivanov ] |
| 683 |
* disable indexing of privinc/ |
| 684 |
* fix a couple of cases of conrdirtional declaration |
| 685 |
* add a Perl::Critic test for conditional declarations |
| 686 |
* bot: do not answer back if no answers are configured |
| 687 |
* rate-lmit autoresponses |
| 688 |
1.09 Not Released |
| 689 |
[ Damyan Ivanov ] |
| 690 |
* Skip some tests when required SVN::* or Git modules are unavailable |
| 691 |
* Fix dist_name from App::KGB to App-KGB |
| 692 |
1.08 2011-08-05 |
| 693 |
[ Damyan Ivanov ] |
| 694 |
* Fix version disparity between App::KGB and kgb-bot |
| 695 |
1.07 2011-07-26 |
| 696 |
[ Damyan Ivanov ] |
| 697 |
* Client::Git: use --format=raw when describing annotated tags |
| 698 |
1.06 2010-12-04 |
| 699 |
[ gregor herrmann ] |
| 700 |
* kgb-bot: |
| 701 |
- fix typo when accessing global config |
| 702 |
- call polygen_available with full class name |
| 703 |
[ Damyan Ivanov ] |
| 704 |
* kgb-bot: drop the asterix prefix from revision number |
| 705 |
* Makefile: fix (real|dist)clean targets to use ./Build for the real work |
| 706 |
* App::KGB::Change: |
| 707 |
+ fix typo in POD |
| 708 |
+ make the stringification method public and document it |
| 709 |
* t/52-client-git.t: when comparing changes, force objects to stringify |
| 710 |
* MANIFEST.SKIP: add MYMETA.yml |
| 711 |
* fix typo in Client::Subversion POD |
| 712 |
|
| 713 |
1.05 2010-09-10 |
| 714 |
* kgb-bot: use File::Which to find polygen binary; split out the |
| 715 |
polygen-finding function; closes: #593631 |
| 716 |
* kgb-bot: check existence of polygen binary before using it; |
| 717 |
closes: #593633 |
| 718 |
* add gregor to copyright holders |
| 719 |
* move polygen detection entirely at runtime |
| 720 |
* any problems in finding polygen binary are logged only when debug is |
| 721 |
enabled as a counter-measure against remotely-assisted log abuse |
| 722 |
|
| 723 |
1.04 2010-08-03 |
| 724 |
* use Digest::SHA from core instead of ::SHA1 |
| 725 |
* remove references to Svn::* from Build.PL |
| 726 |
Closes: #582739 (by working around #589812) |
| 727 |
|
| 728 |
1.03 2010-04-28 |
| 729 |
* Synchronized versions of kgb-bot and KGB |
| 730 |
|
| 731 |
1.02 Not Released |
| 732 |
* Protocol v2 |
| 733 |
+ Adds a new parameter, revision prefix, which is printed plain before the |
| 734 |
bold commit ID |
| 735 |
+ The default revision prefix is empty ('') |
| 736 |
+ Subversion revision prefix is 'r' |
| 737 |
|
| 738 |
1.01 2009-12-05 |
| 739 |
* Client: drop branch/module detection if not all changed paths are in the |
| 740 |
same branch/module |
| 741 |
|
| 742 |
1.00 2009-12-02 |
| 743 |
* ServerRef: send commit_id as a string |
| 744 |
* Commit: decode UTF-8 log messages |
| 745 |
* ServerRef: encode all strings before sending |
| 746 |
|
| 747 |
0.16 2009-11-24 |
| 748 |
* bot: |
| 749 |
+ print the path information part along the author and revision |
| 750 |
|
| 751 |
0.15 2009-11-07 |
| 752 |
* bot: |
| 753 |
+ bump years of copyright |
| 754 |
+ make manual page speak about 'kgb-bot', not 'KGB' |
| 755 |
+ out(): this is a class method, do not print the first argument |
| 756 |
+ remove the '_ECHO_' network |
| 757 |
* Git: |
| 758 |
+ more robust commit parsing |
| 759 |
+ fix describing newly created branches |
| 760 |
* client: |
| 761 |
+ fail gracefuly when repo type module is not available |
| 762 |
* tests |
| 763 |
+ support sending test commits to a live running bot when |
| 764 |
TEST_KGB_BOT_RUNNING is in the environment |
| 765 |
|
| 766 |
0.14 2009-11-02 |
| 767 |
* Git: fix describing merge commits |
| 768 |
* bot: replace change flags (A+)... with colors |
| 769 |
* bot: avoid sending changed files list for commits that don't |
| 770 |
contain changed files |
| 771 |
* bot: always detect common changes directory |
| 772 |
|
| 773 |
0.13 2009-11-01 |
| 774 |
* kgb-bot: fix the code detecting common root for all changes |
| 775 |
|
| 776 |
0.12 2009-10-31 |
| 777 |
* add a test ensuring that App::KGB and kgb-bot are the same version |
| 778 |
* client |
| 779 |
+ honor branch and module supplied by commit |
| 780 |
+ make server choice stable within one client call |
| 781 |
+ Git |
| 782 |
- drop autodie and check for error when calling open() |
| 783 |
- when describing changes, use App::KGB::Change objects |
| 784 |
- fix parsing of multi-line log messages |
| 785 |
- fix reverse commit order on branch updates |
| 786 |
- special handling of signed/annotated tags |
| 787 |
- use raw commit logs to detect file additions/removals |
| 788 |
|
| 789 |
0.11 2009-10-26 |
| 790 |
* move generation of a smart answers to a subroutine |
| 791 |
* make the autoresponder use polygen |
| 792 |
* fix typo in an error message |
| 793 |
|
| 794 |
0.10 2009-10-25 |
| 795 |
* kgb-bot has its own version. no longer pulls the client via App::KGB |
| 796 |
|
| 797 |
0.09 2009-10-24 |
| 798 |
* print unhandled IRC stuff only when debugging is enabled |
| 799 |
* implement logging |
| 800 |
* drop auto-rejoin TODO item (sort of done) |
| 801 |
* move discovery of sender's net into a subroutine |
| 802 |
* respond to CTCP requests |
| 803 |
* implement !version command |
| 804 |
* MANIFEST.SKIP: also skip blib |
| 805 |
* make orig target invoke d/rules clean to ensure the tarball is created |
| 806 |
off a clean tree |
| 807 |
* test-server.conf: use local irc server for testing |
| 808 |
test server considers all local users admins |
| 809 |
* handle both public and private messages |