Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(contents): ping affected mirror sites #58

Open
ZenithalHourlyRate opened this issue Mar 13, 2023 · 1 comment
Open

ci(contents): ping affected mirror sites #58

ZenithalHourlyRate opened this issue Mar 13, 2023 · 1 comment

Comments

@ZenithalHourlyRate
Copy link
Collaborator

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

  • contents -> affected mirror sites (from mirrorz.json)
  • mirror site -> mirror admin github account (TODO)
    • There should be doc admins and other admins
       "TUNA": {
           "help": @somebody,
           "chores": @another,
        }
    

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
Copy link
Collaborator Author

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.

  • rsync mirror should be opt-out (in case they excluded some path)
  • script mirror should be opt-in (if it is verified then display)

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

No branches or pull requests

1 participant