Skip to content

Commit 968fb75

Browse files
committed
Hyperkitty staging sync steps
1 parent 1191ca6 commit 968fb75

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

docs/cheatsheet.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,44 @@ Example:
7373
# sudo mailman-wrapper version
7474
```
7575

76+
## Staging Hyperkitty sync
77+
78+
On lists.boost.org modify `/var/lib/mailman3/web/project/settings.py`:
79+
80+
```
81+
HYPERKITTY_MBOX_EXPORT = True
82+
```
83+
84+
Restart the web server:
85+
86+
```
87+
systemctl stop mailman3-web
88+
```
89+
90+
In the web-ui https://lists.boost.org visit each archive and "Download" the mbox. Modify the URL manually.
91+
92+
```
93+
https://lists.boost.org/archives/list/boost@lists.boost.org/export/boost@lists.boost.org-2025-04-07-2026-01-08.mbox.gz?start=2025-04-07&end=2026-01-08
94+
https://lists.boost.org/archives/list/boost-users@lists.boost.org/export/boost-users@lists.boost.org-2025-04-07-2026-01-08.mbox.gz?start=2025-04-07&end=2026-01-08
95+
https://lists.boost.org/archives/list/boost-announce@lists.boost.org/export/boost-announce@lists.boost.org-2025-04-07-2026-01-08.mbox.gz?start=2025-04-07&end=2026-01-08
96+
```
97+
98+
Copy the files to lists.stage.boost.cppalliance.org
99+
100+
```
101+
mailman-web-wrapper hyperkitty_import -l boost@lists.stage.boost.cppalliance.org /tmp/test/boost@lists.boost.org-2025-04-07-2026-01-08.mbox
102+
mailman-web-wrapper hyperkitty_import -l boost-users@lists.stage.boost.cppalliance.org /tmp/test/boost-users@lists.boost.org-2025-04-07-2026-01-08.mbox
103+
mailman-web-wrapper hyperkitty_import -l boost-announce@lists.stage.boost.cppalliance.org /tmp/test/boost-announce@lists.boost.org-2025-04-07-2026-01-08.mbox
104+
```
105+
106+
On lists.boost.org modify `/var/lib/mailman3/web/project/settings.py`:
107+
108+
```
109+
HYPERKITTY_MBOX_EXPORT = False
110+
```
111+
112+
Restart the web server:
113+
114+
```
115+
systemctl stop mailman3-web
116+
```

0 commit comments

Comments
 (0)