Errata-20161101-2 » History » Version 4
David Demelier, 12/23/2016 01:03 PM
1 | 1 | David Demelier | h1. Errata 20161101.1 |
---|---|---|---|
2 | |||
3 | *Topic*: Various problems in logger plugin |
||
4 | *Category*: Plugins |
||
5 | 4 | David Demelier | *Corrected*: 2.0.3 |
6 | 2 | David Demelier | *Affected versions*: 2.0.2 |
7 | *Task*: #505 and #507 |
||
8 | 1 | David Demelier | |
9 | h1. Background |
||
10 | |||
11 | The *logger* pluggin can be used to log events from IRC in a file. |
||
12 | |||
13 | h1. Problem |
||
14 | |||
15 | Various errors were found in the plugin: |
||
16 | |||
17 | # The documentation specifies a @file@ parameter while the plugin use @path@ (fixed to @file@ like many plugins), |
||
18 | # The documentation has incorrect formats (missing *format-* prefixes on parameters), |
||
19 | # The file is opened is not open in append mode. |
||
20 | |||
21 | h1. Solution |
||
22 | |||
23 | Upgrade to a newer version if applicable or apply one of the following fixes: |
||
24 | |||
25 | h2. Using Mercurial |
||
26 | |||
27 | If you don't have a local copy: |
||
28 | |||
29 | <pre> |
||
30 | hg clone -u release-2.0 http://hg.malikania.fr/irccd |
||
31 | </pre> |
||
32 | |||
33 | If you already have a local copy: |
||
34 | |||
35 | <pre> |
||
36 | cd /path/to/irccd |
||
37 | hg pull |
||
38 | hg up release-2.0 |
||
39 | </pre> |
||
40 | |||
41 | And install new version of irccd. |
||
42 | |||
43 | h2. Using patch |
||
44 | |||
45 | Download the following patch: |
||
46 | |||
47 | * http://releases.malikania.fr/irccd/errata/20161101.2.patch |
||
48 | * http://releases.malikania.fr/irccd/errata/20161101.2.patch.asc |
||
49 | |||
50 | Apply it: |
||
51 | |||
52 | <pre> |
||
53 | cd /path/to/irccd/ |
||
54 | 3 | David Demelier | patch -p1 < /path/to/20161101.2.patch |
55 | 1 | David Demelier | </pre> |