Commit 698b95e
authored
feat(pkg): add compat.hiredis@1.2.0 + compat.redis-plus-plus (1.3.3 & 1.3.13) (#188)
* feat(pkg): add compat.hiredis@1.2.0 and compat.redis-plus-plus@1.3.13
* feat(pkg): redis-plus-plus@1.3.3 — pre-watershed structure via source-list union
One descriptor now serves both sides of the 1.3.6 source-structure watershed:
1.3.13 (17 sync TUs) and 1.3.3 (15 TUs, no redis_uri.cpp/redlock.cpp, no
hiredis_features.h). The union works because 1.3.3's TUs are a strict subset
of 1.3.13's, so exactly two source globs match nothing there (a warning, not
an error — same premise as compat.catch2's disjoint union). New member
tests/examples/redis-plus-plus-v133 pins 1.3.3; both members pass the same
offline RESP round-trip test under mcpp 2026.8.8.2.
* fix(pkg): force-include <cstdint> for redis-plus-plus@1.3.3 — 'uint16_t' under vendored gcc/libstdc++
1.3.3's utils.h declares uint16_t crc16(...) without including <cstdint>
(upstream added it in 1.3.6+). clang's libc++ pulls it in transitively, but
the linux-default (gcc, vendored libstdc++) CI leg does not:
'uint16_t' does not name a type. Package cxxflags -include cstdint fixes the
package build on every leg (harmless for 1.3.13, which includes it itself),
and the v133 member's [build] cxxflags covers its test TU (which includes
<sw/redis++/redis++.h> first). Caught by CI: workspace linux default 0/1.
* fix(pkg): move compat.redis-plus-plus to pkgs/c/ — <x> is the full-name initial, not the short name
The repository rule is pkgs/<x>/<name>.lua with <x> = initial of the FULL
package name (compat.* → c, docs/repository-and-schema.md). compat.redis-plus-plus
was wrongly placed in pkgs/r/ (short-name initial); the compat namespace
belongs in pkgs/c/ next to compat.hiredis. Resolution is path-independent, so
this is purely the directory convention — README links, the member comment and
the design doc updated in lock-step.1 parent 6e452b9 commit 698b95e
10 files changed
Lines changed: 737 additions & 4 deletions
File tree
- .agents/docs
- pkgs/c
- tests/examples
- redis-plus-plus-v133
- tests
- redis-plus-plus
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
0 commit comments