Page MenuHomePhabricator

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

Authored by epriestley on Mar 28 2017, 4:51 PM.
Tags
None
Referenced Files
F18284151: D17569.diff
Sat, Aug 23, 3:53 AM
F18160243: D17569.id42273.diff
Fri, Aug 15, 1:45 AM
F18108665: D17569.id42266.diff
Mon, Aug 11, 8:22 AM
F17967958: D17569.id.diff
Fri, Aug 1, 12:50 PM
F17948376: D17569.diff
Thu, Jul 31, 8:55 PM
F17878666: D17569.id.diff
Mon, Jul 28, 8:27 PM
Unknown Object (File)
Jun 29 2025, 7:19 AM
Unknown Object (File)
May 29 2025, 9:12 AM
Subscribers
None

Details

Summary

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
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.