mirrorz-org / mirrorz-help

https://help.mirrorz.org
MIT License
57 stars 38 forks source link

ci(contents): ping affected mirror sites #58

Open ZenithalHourlyRate opened 1 year ago

ZenithalHourlyRate commented 1 year ago

When there is a PR changing the content of one mdx, affected mirror site admins should be notified, and we should set up approving mechanisms (e.g. at least 2 approvals) (thanks to @RalXYZ)

We should maintain two map

The first part is a CI commenting in the PR that what mirror sites are affected.

After we set up the admin map, the CI should mention them.

ZenithalHourlyRate commented 1 year ago

There should be a third metadata about what helps a mirror site is using. E.g. SDU uses ubuntu and rocky from mirrorz-help but uses its own debian and archlinux help

SDU: ["ubuntu", "rocky"]

If a site has such metadata, then even if it is mentioned in mirrorz.json, it wont be pinged

More generally, there should be an opt-in and opt-out mechanism for each mirror item.