Page MenuHomePhabricator

Implement more consistent publishing rules for repositories
ClosedPublic

Authored by epriestley on Feb 19 2015, 5:18 PM.
Tags
None
Referenced Files
F19029396: D11826.id.diff
Mon, Nov 24, 5:54 PM
F19018198: D11826.diff
Sun, Nov 23, 10:20 AM
F18866455: D11826.id28509.diff
Nov 3 2025, 5:14 PM
F18833800: D11826.id28500.diff
Oct 26 2025, 5:52 AM
F18815506: D11826.id28509.diff
Oct 21 2025, 2:30 AM
F18751008: D11826.id28500.diff
Oct 4 2025, 9:32 AM
F18750591: D11826.id.diff
Oct 4 2025, 8:18 AM
F18741251: D11826.id28509.diff
Oct 2 2025, 9:32 AM
Subscribers

Details

Summary

Ref T7298. We are currently inconsistent about when we publish feed, email, notifications, audits and Herald rules.

Specifically, there are two settings which impact these things:

  • The "importing" flag, which is set when we're importing old commits.
  • The "herald-disabled" flag, which was expanded in scope some time ago and now actually means "disable publishing".

Various parts of the pipeline were checking only one of these flags. Instead, all of them should check both.

(For example, we should never email users about importing repositories, nor trigger audits on them.)

Test Plan

See next revision.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable