[ovirt-devel] patch granularity, extracting patches

Sandro Bonazzola sbonazzo at redhat.com
Fri Jun 30 08:29:54 UTC 2017


On Thu, Jun 29, 2017 at 6:16 PM, Greg Sheremeta <gshereme at redhat.com> wrote:

> Do we have or follow a standard on patch granularity?
>

As a matter of fact, we have.
According to
https://www.ovirt.org/develop/dev-process/devprocess/#sending-a-patch-for-work-in-progress

   1. Each commits contain a single logical change
   2. Keep refactoring separate from bug fixes

More details on above link.




> When I started, I picked up on the culture that we do small, logical
> commits -- as much as possible, each commit should be focused on a specific
> purpose. I've perceived some reviewers prefer to have all orthogonal
> changes (fix a random spelling error, remove a duplicate semicolon)
> extracted to other patches for clarity. Others don't seem to mind. I feel
> like I always want to ask, but I feel bad because it's a hassle.
>
> Also, when you are asked to extract something, do you have a trick to make
> it as easy as possible?
>
> Best wishes,
> Greg
>
> --
> Greg Sheremeta, MBA
> Sr. Software Engineer
> Red Hat, Inc.
> gshereme at redhat.com
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170630/b8e6a95a/attachment.html>


More information about the Devel mailing list