Page MenuHomePhabricator

Implement more consistent publishing rules for repositories
ClosedPublic

Authored by epriestley on Feb 19 2015, 5:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 15, 7:06 AM
Unknown Object (File)
Fri, Apr 5, 9:08 AM
Unknown Object (File)
Sat, Mar 23, 7:04 AM
Unknown Object (File)
Mar 18 2024, 6:15 PM
Unknown Object (File)
Mar 18 2024, 3:53 PM
Unknown Object (File)
Feb 8 2024, 2:27 AM
Unknown Object (File)
Feb 3 2024, 2:16 AM
Unknown Object (File)
Jan 31 2024, 3:12 PM
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