Policy for handling patches which need further design #72400

Open
opened 2019-12-12 23:54:23 +01:00 by Campbell Barton · 15 comments

Occasionally we run into situations where a patch is submitted which may be useful but has design implications which need further investigation.

Examples:

This complicates review.

  • Rejecting the patch forces us to make the argument against the functionality (which can be disputed), drawing the reviewer into further discussion, defending points... etc.
  • While opening a design task for the patch is an option, it means we need to devote time to evaluate the changes (implications for the future, ensure it's applied consistently, possible alternatives... etc).
  • Leaving the patch open isn't great since it's ignoring the contribution.

Proposal

  • Patches which have merit but may not fit well into the current design are closed (linking to a summary of the notes above).
  • A link to this patch is added to the module page under a section for this purpose.
  • Module teams are responsible for reviewing these item (it may only be a few each release), and either opening a design task when time permits, or closing.

This way contributions are not blocked by individual developers or left open indefinitely. If nobody in the module-team thinks is worth spending time on - we can make the decisions and let the developer know which a short explanation.

Occasionally we run into situations where a patch is submitted which may be useful but has design implications which need further investigation. Examples: - [D6387: View3D: Frame All if Frame Selected is called with no selection](https://archive.blender.org/developer/D6387) - [D6313: Add panning to circle select](https://archive.blender.org/developer/D6313) This complicates review. - Rejecting the patch forces us to make the argument against the functionality (which can be disputed), drawing the reviewer into further discussion, defending points... etc. - While opening a design task for the patch is an option, it means we need to devote time to evaluate the changes *(implications for the future, ensure it's applied consistently, possible alternatives... etc)*. - Leaving the patch open isn't great since it's ignoring the contribution. ---- Proposal -------- - Patches which have merit but may not fit well into the current design are closed *(linking to a summary of the notes above).* - A link to this patch is added to the module page under a section for this purpose. - Module teams are responsible for reviewing these item (it may only be a few each release), and either opening a design task when time permits, or closing. This way contributions are not blocked by individual developers or left open indefinitely. If nobody in the module-team thinks is worth spending time on - we can make the decisions and let the developer know which a short explanation.
Author
Owner

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Added subscriber: @kioku

Added subscriber: @kioku
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Module teams are responsible for reviewing these item (it may only be a few each release), and either opening a design task when time permits, or closing.

Can "plan changes" (and not abandoning) be used when a design task is present ? A downside is that reviewer/moderator cannot take this action, so it requires reminding the contributor.

>Module teams are responsible for reviewing these item (it may only be a few each release), and either opening a design task when time permits, or closing. Can "plan changes" (and not abandoning) be used when a design task is present ? A downside is that reviewer/moderator cannot take this action, so it requires reminding the contributor.

Added subscriber: @Sergey

Added subscriber: @Sergey

Plan Changes indeed seems the striaghtforward communication. The issue is: I think it is restricted to the author to this state, so either need a policy to request author to plan changes, or to allow non-authors to move patch to this state.

`Plan Changes` indeed seems the striaghtforward communication. The issue is: I think it is restricted to the author to this state, so either need a policy to request author to plan changes, or to allow non-authors to move patch to this state.

Added subscriber: @dfelinto

Added subscriber: @dfelinto

I agree with the sentiment, but for the solution I would like to propose:

  • A new phabricator tag Needs Approved Design. (or a patch subtype)
  • All queries ignore patches that have this tag.
  • Once a design task (submitted by someone willing to implement the feature) is submitted and approved the reviewer manually lift the tag of the associated patch.
  • Periodically we can manually close patches that have no associated design task.
  • If the design associated with the patch is rejected, the patch is closed.
I agree with the sentiment, but for the solution I would like to propose: * A new phabricator tag `Needs Approved Design`. (or a patch subtype) * All queries ignore patches that have this tag. * Once a design task (submitted by someone willing to implement the feature) is submitted and approved the reviewer manually lift the tag of the associated patch. * Periodically we can manually close patches that have no associated design task. * If the design associated with the patch is rejected, the patch is closed.

Added subscriber: @mont29

Added subscriber: @mont29

Agree with the general idea here, do not care really about how this is practically implemented in phabricator (@dfelinto's proposal sounds good though)

Agree with the general idea here, do not care really about how this is practically implemented in phabricator (@dfelinto's proposal sounds good though)
Member

Added subscriber: @Imaginer

Added subscriber: @Imaginer
Member

All queries ignore patches that have this tag.
Once a design task (submitted by someone willing to implement the feature) is submitted and approved the reviewer manually lift the tag of the associated patch.

If all queries ignore it, how will anyone know to create a design task for it?

> All queries ignore patches that have this tag. > Once a design task (submitted by someone willing to implement the feature) is submitted and approved the reviewer manually lift the tag of the associated patch. If all queries ignore it, how will anyone know to create a design task for it?

While doing "Periodically we can manually close patches that have no associated design task" the tasks that got a design task can have that flip. But I was mainly talking about the existing module queries. The triaging team can help looking at new queries specifically for that. Besides whoever tagged it will receive an email/notification once the patch is updated with the associated design task.

While doing "Periodically we can manually close patches that have no associated design task" the tasks that got a design task can have that flip. But I was mainly talking about the existing module queries. The triaging team can help looking at new queries specifically for that. Besides whoever tagged it will receive an email/notification once the patch is updated with the associated design task.
Member

Perhaps I'm not understanding you correctly. It sounded in your proposal like random devs were supposed to find these and, if interested, create design tasks so that the patches could move forward; however, having queries ignore patches would seem to impede random devs finding them.

Perhaps I'm not understanding you correctly. It sounded in your proposal like random devs were supposed to find these and, if interested, create design tasks so that the patches could move forward; however, having queries ignore patches would seem to impede random devs finding them.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#72400
No description provided.