Skip to content

refactor: keep the PingMailer name, use OpenGovMail only as the org - #38

Merged
maneesha-xyz merged 1 commit into
mainfrom
rename/pingmailer-under-opengovmail
Aug 12, 2026
Merged

maneesha-xyz merged 1 commit into
mainfrom
rename/pingmailer-under-opengovmail

Conversation

@Aravinda-HWK

Copy link
Copy Markdown
Contributor

Follow-up correction to #37.

That PR renamed the project to opengovmail, but only the organisation moved. The project is still PingMailer. This restores the project name everywhere and keeps OpenGovMail / opengovmail strictly as the org and registry owner.

Silver and LSFLK naming stays retired — no silver or lsflk reference returns.

What changed

Area On main (#37) This PR
Go module github.com/OpenGovMail/opengovmail github.com/OpenGovMail/pingmailer
API image ghcr.io/opengovmail/opengovmail-api-server ghcr.io/opengovmail/pingmailer-api-server
DKIM image ghcr.io/opengovmail/opengovmail-dkim ghcr.io/opengovmail/pingmailer-dkim
SMTP image ghcr.io/opengovmail/opengovmail-smtp ghcr.io/opengovmail/pingmailer-smtp
Certbot image ghcr.io/opengovmail/opengovmail-certbot ghcr.io/opengovmail/pingmailer-certbot
Umbrella chart opengovmail pingmailer
Helm helpers opengovmail-smtp.fullname, … pingmailer-smtp.fullname, …
Config file mail-infra/conf/opengovmail.yaml mail-infra/conf/pingmailer.yaml
Config dir mail-infra/services/opengovmail-config/ mail-infra/services/pingmailer-config/
Image dirs mail-infra/images/opengovmail-{dkim,smtp-rootless}/ mail-infra/images/pingmailer-{dkim,smtp-rootless}/
Scripts {start,stop}-opengovmail.sh {start,stop}-pingmailer.sh
Env vars OPENGOVMAIL_{YAML_FILE,CONFIG} PINGMAILER_{YAML_FILE,CONFIG}
Docs prose "OpenGovMail stack" "PingMailer stack"

Unchanged — these are correctly the org: the registry owner ghcr.io/opengovmail/, chart maintainers (OpenGovMail, https://github.com/OpenGovMail), chart sources, and the repo URL owner. ghcr.io/opengovmail/raven-sasl also keeps its name; only its owner moved, since it is built in a separate repository (see the note in .github/workflows/docker-release.yaml).

Verification

  • go build ./... and go vet ./... clean
  • helm lint + helm template succeed for the umbrella chart and mail-infra/helm/certbot-server
  • bash -n passes on every shell script
  • No case-insensitive match for silver, lsflk or opengovmail- remains in the tree
  • File moves recorded as renames, so history is preserved

⚠️ Follow-up needed outside this PR

  1. Images published under the opengovmail-* names from refactor: rename PingMailer/Silver to OpenGovMail #37 are now orphaned. Cut a release so docker-release.yaml pushes pingmailer-{api-server,dkim,smtp} before anyone deploys from these values, and re-publish pingmailer-certbot and ghcr.io/opengovmail/raven-sasl from their own repos.
  2. Do not rename the GitHub repo. It should stay OpenGovMail/pingmailer, which is what the Go module path and all doc URLs now assume.
  3. Two rewritten links need a sanity check. mail-infra/scripts/cert-manager-bootstrap.sh and the certbot chart originally cited LSFLK/silver#325; refactor: rename PingMailer/Silver to OpenGovMail #37 repointed those at OpenGovMail/pingmailer#325, which is a different PR. Worth correcting or dropping the citation.
  4. Breaking for existing deployments. Helm resource names change again (opengovmail-smtp-*pingmailer-smtp-*), so an in-place helm upgrade recreates objects rather than patching them. On nsw-infra-prod, plan the rollout and re-check PVC bindings for the opendkim keys and the SMTP spool.
  5. Local state outside git: rename any opengovmail-config/ (or leftover silver-config/) directories on dev machines to pingmailer-config/, and update CERT_PATH in .env.

Follow-up correction to #37. That PR renamed the project itself to
`opengovmail`, but only the organisation moved — the project is still
PingMailer. This restores the project name everywhere and keeps OpenGovMail
strictly as the org/registry owner.

- Go module: github.com/OpenGovMail/opengovmail -> github.com/OpenGovMail/pingmailer
- Images: opengovmail-{api-server,dkim,smtp,certbot} ->
  pingmailer-{api-server,dkim,smtp,certbot}; ghcr.io/opengovmail/ owner unchanged
- Helm: umbrella chart `opengovmail` -> `pingmailer`; template helper prefixes
  opengovmail-* -> pingmailer-*; default namespace back to `pingmailer`
- Paths: mail-infra/{conf/opengovmail.yaml,services/opengovmail-config,
  images/opengovmail-*} and scripts/service/{start,stop}-opengovmail.sh renamed
  back to their pingmailer equivalents
- Env vars: OPENGOVMAIL_{YAML_FILE,CONFIG} -> PINGMAILER_{YAML_FILE,CONFIG}
- Docs, NOTES.txt and workflow comments say PingMailer for the project and
  OpenGovMail only for the org (chart maintainers, sources, registry)

No Silver or LSFLK references return; those stay retired.

Verified: `go build ./...` and `go vet ./...` clean; `helm lint` and
`helm template` succeed for the umbrella and certbot charts; `bash -n` passes on
every shell script; no case-insensitive match for silver, lsflk or
`opengovmail-` remains in the tree.
@Aravinda-HWK Aravinda-HWK self-assigned this Aug 12, 2026

@maneesha-xyz maneesha-xyz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@maneesha-xyz
maneesha-xyz merged commit 088e8bc into main Aug 12, 2026
6 checks passed
@Aravinda-HWK
Aravinda-HWK deleted the rename/pingmailer-under-opengovmail branch August 13, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants