You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -23,7 +23,7 @@ QA for Bugzilla: document the FreeBSD version and arch you tested (e.g. FreeBSD
23
23
24
24
1.**Bump version** in `contrib/freebsd/Makefile`:
25
25
```bash
26
-
# Edit PORTVERSION= 0.5.10 → new version
26
+
# Edit PORTVERSION= 1.0.0 → new version
27
27
```
28
28
29
29
2.**Commit and release** pgwd (tag, `make release`). The GitHub release must include **`pgwd_vX.Y.Z_freebsd_amd64.tar.gz`** and **`pgwd_vX.Y.Z_freebsd_arm64.tar.gz`** (see **Supported architectures**). Goreleaser does not publish **freebsd/riscv64** today.
@@ -41,7 +41,7 @@ QA for Bugzilla: document the FreeBSD version and arch you tested (e.g. FreeBSD
41
41
1.**Create/checkout branch:**
42
42
```bash
43
43
cd~/ports
44
-
git checkout -b add-pgwd-port # or update-pgwd-0.5.11 for updates
44
+
git checkout -b add-pgwd-port # or update-pgwd-1.0.0 for updates
45
45
```
46
46
47
47
2.**Update files** (if not already copied):
@@ -77,7 +77,7 @@ QA for Bugzilla: document the FreeBSD version and arch you tested (e.g. FreeBSD
77
77
7.**Commit:**
78
78
```bash
79
79
git add sysutils/pgwd/
80
-
git commit -m "New port: sysutils/pgwd - Postgres Watch Dog"# or "Update sysutils/pgwd to 0.5.11"
80
+
git commit -m "New port: sysutils/pgwd - Postgres Watch Dog"# or "Update sysutils/pgwd to 1.0.0"
81
81
```
82
82
83
83
8.**Submit to Bugzilla:**
@@ -100,7 +100,7 @@ QA for Bugzilla: document the FreeBSD version and arch you tested (e.g. FreeBSD
Copy file name to clipboardExpand all lines: contrib/freebsd/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ After `make install` (or `make reinstall`), verify the installed binary:
42
42
pgwd -version
43
43
```
44
44
45
-
If `make install` reports that an older package is already installed (for example `pgwd-0.5.10`), use:
45
+
If `make install` reports that an older package is already installed (for example `pgwd-0.6.8`), use:
46
46
47
47
```bash
48
48
make reinstall
@@ -54,15 +54,15 @@ This deinstalls the previous package and registers the new one cleanly.
54
54
55
55
The port normally fetches **DISTFILES** from **MASTER_SITES** (GitHub releases). To build or test **install** / **plist** against a tarball you built locally (no matching release on GitHub yet):
56
56
57
-
1.**Match the filename** in **DISTFILES** for your architecture (e.g. `pgwd_v0.6.4_freebsd_amd64.tar.gz` when **PORTVERSION** is `0.6.4`). From the pgwd repo root, **`make port-freebsd-sync`** updates **PORTVERSION** in this **Makefile** from the **`VERSION`** file.
57
+
1.**Match the filename** in **DISTFILES** for your architecture (e.g. `pgwd_v1.0.0_freebsd_amd64.tar.gz` when **PORTVERSION** is `1.0.0`). From the pgwd repo root, **`make port-freebsd-sync`** updates **PORTVERSION** in this **Makefile** from the **`VERSION`** file.
58
58
59
59
To generate that exact tarball layout/name locally (without running the full snapshot matrix), run from repo root:
60
60
61
61
```bash
62
62
make dist-freebsd
63
63
```
64
64
65
-
Output goes to `dist/pgwd_v<version>_freebsd_<arch>.tar.gz` using `VERSION` (for example `dist/pgwd_v0.6.4_freebsd_amd64.tar.gz`).
65
+
Output goes to `dist/pgwd_v<version>_freebsd_<arch>.tar.gz` using `VERSION` (for example `dist/pgwd_v1.0.0_freebsd_amd64.tar.gz`).
66
66
67
67
2.**Option A — copy into DISTDIR:** From the port directory:
68
68
@@ -79,7 +79,7 @@ The port normally fetches **DISTFILES** from **MASTER_SITES** (GitHub releases).
vi /etc/pgwd/pgwd.conf #db.url, client, notifications, etc.
237
+
vi /etc/pgwd/pgwd.conf #databases[].url, client, notifications, etc.
238
238
239
239
rcctl start pgwd
240
240
rcctl check pgwd # expect pgwd(ok)
@@ -256,7 +256,7 @@ make test-platforms-ping PLATFORM=pgwd-openbsd
256
256
make test-platforms PLATFORM=pgwd-openbsd
257
257
```
258
258
259
-
Set **`pgwd_version`** in **`testing/platforms/inventory/hosts.yml`** to match the release (e.g. **`0.6.7`**) or use **`pgwd_local_package`** pointing at **`dist/pgwd_v...tar.gz`**.
259
+
Set **`pgwd_version`** in **`testing/platforms/inventory/hosts.yml`** to match the release (e.g. **`1.0.0`**) or use **`pgwd_local_package`** pointing at **`dist/pgwd_v...tar.gz`**.
260
260
261
261
### B8. Port vs tarball (rc.d location)
262
262
@@ -268,7 +268,7 @@ Set **`pgwd_version`** in **`testing/platforms/inventory/hosts.yml`** to match t
268
268
### B9. Lab shortcut (no full ports tree)
269
269
270
270
```sh
271
-
doas sh /tmp/pgwd-port/test-install-from-dist.sh /tmp/pgwd_v0.6.7_openbsd_amd64.tar.gz /tmp/pgwd-port
271
+
doas sh /tmp/pgwd-port/test-install-from-dist.sh /tmp/pgwd_v1.0.0_openbsd_amd64.tar.gz /tmp/pgwd-port
272
272
```
273
273
274
274
Useful for debugging **do-install** layout; **not** a substitute for **B5** before submitting the port.
context: "my-context"# Use context name from kubeconfig, not cluster name
@@ -105,7 +105,7 @@ notifications:
105
105
106
106
**Grafana:** Loki logs include a `client` label. Filter by `{app="pgwd", client="pgwd-vps-01"}` to see logs from this instance.
107
107
108
-
**Troubleshooting:** If you see "context X does not exist", use the **context** name from `kubectl config get-contexts`, not the cluster name. The `db.url` host must be `localhost` and the port must match `kube.local_port`.
108
+
**Troubleshooting:** If you see "context X does not exist", use the **context** name from `kubectl config get-contexts`, not the cluster name. The database URL host must be `localhost` and the port must match `kube.local_port`.
0 commit comments