Page MenuHomePhabricator

Implement more consistent publishing rules for repositories
ClosedPublic

Authored by epriestley on Feb 19 2015, 5:18 PM.
Tags
None
Referenced Files
F18815506: D11826.id28509.diff
Tue, Oct 21, 2:30 AM
F18751008: D11826.id28500.diff
Sat, Oct 4, 9:32 AM
F18750591: D11826.id.diff
Sat, Oct 4, 8:18 AM
F18741251: D11826.id28509.diff
Thu, Oct 2, 9:32 AM
F18712441: D11826.id.diff
Mon, Sep 29, 5:24 AM
F18658828: D11826.id.diff
Sep 23 2025, 8:38 AM
F18657770: D11826.id28500.diff
Sep 23 2025, 3:20 AM
F18657262: D11826.id28500.diff
Sep 23 2025, 1:08 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