Annotate

CHANGES @ 11748:88ba05494d17 0.11

makefile: fix prosody.version target POSIX is quite explicit regarding the precedence of AND-OR lists [0]: > The operators "&&" and "||" shall have equal precedence and shall be > evaluated with left associativity. For example, both of the following > commands write solely `bar` to standard output: > false && echo foo || echo bar > true || echo foo && echo bar Given that, `prosody.version` target behaves as ((((((test -f prosody.release && cp ...) || test -f ...) && sed ...) || test -f ...) && hexdump ...) || echo unknown > $@) In the case of release tarballs, `prosody.release` does exist, so the first AND pair is executed. Given that it's successful, then the first `test -f` in the OR pair is ignored, and instead the `sed` in the AND pair is executed. `sed` success, as `.hg_archival.txt` exists, making the second `test -f` in the OR pair ignored, and `hexdump` in the AND pair is executed. Now, given that `.hg` doesn't exist, it fails, so the last `echo` is run, overwriting `prosody.version` with `unknown`. This can be worked around placing `()` around the AND pairs. Decided to use conditionals instead, as I think they better communicate the intention of the block. [0]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03
author Lucas <lucas@sexy.is>
date Sun, 15 Aug 2021 04:10:36 +0000
parent 9638:83f3a05c1b1b
child 9977:90ac1b6c3f28
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9583
4552ba1333ac CHANGES: Update with new branch
Kim Alvefur <zash@zash.se>
parents: 9519
diff changeset
1 0.11.0
4552ba1333ac CHANGES: Update with new branch
Kim Alvefur <zash@zash.se>
parents: 9519
diff changeset
2 ======
7111
43328166dcf1 CHANGES: Add some things trunk has over 0.10 (probably lots missing)
Kim Alvefur <zash@zash.se>
parents: 7109
diff changeset
3
9638
83f3a05c1b1b CHANGES: Update with release date
Matthew Wild <mwild1@gmail.com>
parents: 9589
diff changeset
4 **2018-11-18**
7111
43328166dcf1 CHANGES: Add some things trunk has over 0.10 (probably lots missing)
Kim Alvefur <zash@zash.se>
parents: 7109
diff changeset
5
43328166dcf1 CHANGES: Add some things trunk has over 0.10 (probably lots missing)
Kim Alvefur <zash@zash.se>
parents: 7109
diff changeset
6 New features
43328166dcf1 CHANGES: Add some things trunk has over 0.10 (probably lots missing)
Kim Alvefur <zash@zash.se>
parents: 7109
diff changeset
7 ------------
43328166dcf1 CHANGES: Add some things trunk has over 0.10 (probably lots missing)
Kim Alvefur <zash@zash.se>
parents: 7109
diff changeset
8
43328166dcf1 CHANGES: Add some things trunk has over 0.10 (probably lots missing)
Kim Alvefur <zash@zash.se>
parents: 7109
diff changeset
9 - Rewritten more extensible MUC module
7373
9b37aaea68e9 CHANGES: Update for MUC changes
Kim Alvefur <zash@zash.se>
parents: 7307
diff changeset
10 - Store inactive rooms to disk
9b37aaea68e9 CHANGES: Update for MUC changes
Kim Alvefur <zash@zash.se>
parents: 7307
diff changeset
11 - Store rooms to disk on shutdown
8855
dba528970aa5 CHANGES: Mention voice request
Kim Alvefur <zash@zash.se>
parents: 8722
diff changeset
12 - Voice requests
9015
dc606dc89f44 MUC: Add support for storing a tombstone for destroyed rooms (#1182)
Kim Alvefur <zash@zash.se>
parents: 8959
diff changeset
13 - Tombstones in place of destroyed rooms
8959
ab18a9a9fd48 CHANGES: Restructure Pubsub category
Kim Alvefur <zash@zash.se>
parents: 8855
diff changeset
14 - PubSub features
ab18a9a9fd48 CHANGES: Restructure Pubsub category
Kim Alvefur <zash@zash.se>
parents: 8855
diff changeset
15 - Persistence
ab18a9a9fd48 CHANGES: Restructure Pubsub category
Kim Alvefur <zash@zash.se>
parents: 8855
diff changeset
16 - Affiliations
9134
4aa786a180f5 CHANGES: Add new pubsub items and note about PEP
Matthew Wild <mwild1@gmail.com>
parents: 9015
diff changeset
17 - Access models
4aa786a180f5 CHANGES: Add new pubsub items and note about PEP
Matthew Wild <mwild1@gmail.com>
parents: 9015
diff changeset
18 - "publish-options"
4aa786a180f5 CHANGES: Add new pubsub items and note about PEP
Matthew Wild <mwild1@gmail.com>
parents: 9015
diff changeset
19 - PEP now uses our pubsub code and now shares the above features
7307
6bbe47e30af4 CHANGES: Move async to trunk, it was dropped from 0.10
Kim Alvefur <zash@zash.se>
parents: 7288
diff changeset
20 - Asynchronous operations
8498
85f60424a8b1 CHANGES: Mention move to Busted for tests
Kim Alvefur <zash@zash.se>
parents: 8290
diff changeset
21 - Busted for tests
8722
7ee93b3fa160 mod_muc_mam: Import mod_mam_muc from prosody-modules ba6466fa6823
Kim Alvefur <zash@zash.se>
parents: 8709
diff changeset
22 - mod\_muc\_mam (XEP-0313 in groupchats)
9260
0fc6ffc57dc0 mod_vcard_legacy: Announce feature on bare JID per XEP
Kim Alvefur <zash@zash.se>
parents: 9249
diff changeset
23 - mod\_vcard\_legacy (XEP-0398)
9261
9db9e37610b7 mod_vcard4: Allow access to the vcard4 PEP node via iq syntax
Kim Alvefur <zash@zash.se>
parents: 9260
diff changeset
24 - mod\_vcard4 (XEP-0292)
9589
aeb054ee88c5 mod_csi_simple: Import modified version of mod_csi_pump from prosody-modules
Kim Alvefur <zash@zash.se>
parents: 9588
diff changeset
25 - mod\_csi, mod\_csi\_simple (XEP-0352)
9519
e6e5ff64d1c2 CHANGES: Mention server_epoll
Kim Alvefur <zash@zash.se>
parents: 9261
diff changeset
26 - New experimental network backend "epoll"
7111
43328166dcf1 CHANGES: Add some things trunk has over 0.10 (probably lots missing)
Kim Alvefur <zash@zash.se>
parents: 7109
diff changeset
27
8286
39966cbc29f4 CHANGES: Update for release
Matthew Wild <mwild1@gmail.com>
parents: 7853
diff changeset
28 0.10.0
8708
c53e9e27acc6 CHANGES: Normalize syntax
Kim Alvefur <zash@zash.se>
parents: 8289
diff changeset
29 ======
7109
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30
8289
bd6b189b354c CHANGES: Correct date using the power hindsight
Kim Alvefur <zash@zash.se>
parents: 8286
diff changeset
31 **2017-10-02**
7109
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 New features
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 ------------
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36 - Rewritten SQL storage module with Archive support
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
37 - SCRAM-SHA-1-PLUS
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
38 - `prosodyctl check`
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 - Statistics
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 - Improved TLS configuration
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 - Lua 5.2 support
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
42 - mod\_blocklist (XEP-0191)
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
43 - mod\_carbons (XEP-0280)
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
44 - Pluggable connection timeout handling
7112
bd29742fa1ba CHANGES: Add websockets too (thanks av6)
Kim Alvefur <zash@zash.se>
parents: 7109
diff changeset
45 - mod\_websocket (RFC 7395)
7853
8c3de36568dd CHANGES: Add mod_mam
Kim Alvefur <zash@zash.se>
parents: 7821
diff changeset
46 - mod\_mam (XEP-0313)
7109
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
47
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
48 Removed
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
49 -------
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
50
f3b172874922 Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff changeset
51 - mod\_privacy (XEP-0016)
7821
0dea440bdd46 CHANGES: Mention removal of mod_compression
Kim Alvefur <zash@zash.se>
parents: 7287
diff changeset
52 - mod\_compression (XEP-0138)