Page MenuHomePhabricator

Allow users to "Force accept" package reviews if they own a more general package

Authored by epriestley on Mar 28 2017, 4:51 PM.
Referenced Files
Unknown Object (File)
Mon, Nov 28, 1:28 AM
Unknown Object (File)
Mon, Nov 28, 1:28 AM
Unknown Object (File)
Mon, Nov 28, 1:28 AM
Unknown Object (File)
Mon, Nov 28, 1:28 AM
Unknown Object (File)
Sat, Nov 19, 12:57 AM
Unknown Object (File)
Wed, Nov 16, 7:55 PM
Unknown Object (File)
Tue, Nov 15, 2:52 PM
Unknown Object (File)
Sat, Nov 12, 9:17 AM



Ref T12272. If you own a package which owns "/", this allows you to force-accept package reviews for packages which own sub-paths, like "/src/adventure/".

The default UI looks something like this:

[X] Accept as epriestley
[X] Accept as Root Package
[ ] Force accept as Adventure Package

By default, force-accepts are not selected.

(I may do some UI cleanup and/or annotate "because you own X" in the future and/or mark these accepts specially in some way, particularly if this proves confusing along whatever dimension.)

Test Plan

Screen Shot 2017-03-28 at 9.49.22 AM.png (289×747 px, 38 KB)

Diff Detail

rP Phabricator
Lint Not Applicable
Tests Not Applicable

Event Timeline

  • Fix reject logic so it doesn't auto-force-reject everything you have authority-by-force over.
This revision is now accepted and ready to land.Mar 28 2017, 6:12 PM

me too buddy

I'll think a bit more about how we can, e.g., get test coverage here. All the pieces are kind of unwieldy and inherently interdependent and difficult to split apart. I haven't really come up with anything too promising yet. Maybe easier during/after T10574.

This revision was automatically updated to reflect the committed changes.