I notice that recently there have been patches committed to the
subversion repository that had *never* been posted to the list, in the
ultimately committed form. Examples:

(1) Patches on the list:

    http://thread.gmane.org/gmane.comp.bios.edk2.devel/4770

    [edk2] [patch 1/3] UefiCpuPkg/PiSmmCpu: Add 2 APIs in SmmCpuFeaturesLib.
    [edk2] [patch 2/3] UefiCpuPkg/PiSmmCpu: Add NULL func for 2 new APIs in 
SmmCpuFeaturesLib.
    [edk2] [patch 3/3] UefiCpuPkg/PiSmmCpu: Update function call for 2 new APIs 
in SmmCpuFeatureLib.

    Committed patch (one patch!):

    http://sourceforge.net/p/edk2/code/18958
    Add 2 APIs in SmmCpuFeaturesLib.

    The series that had been posted to the list, and reviewed there, in
    a nice and structured way, got squashed into a single patch, and
    commited that way.

(2) Patches on the list:

    http://thread.gmane.org/gmane.comp.bios.edk2.devel/4834

    [edk2] [patch 1/2] UefiCpuPkg/PiSmmCpu: Always set RW+P bit for page table 
by default.
    [edk2] [patch 2/2] UefiCpuPkg/PiSmmCpu: Always set WP in CR0.

    Committed patch (one patch!):

    http://sourceforge.net/p/edk2/code/18960
    Always set WP in CR0.

    Exactly same treatment.

This practice abuses the trust of the community and makes patch review
*absolutely pointless*. Patches must be committed to SVN *exactly* the
way they were posted and reviewed, no ifs and buts, *unless* a reviewer
gives explicit license to fix up trivial stuff right before committing.

*Maybe* if a trivial conflict has to be fixed via a rebase -- because
some light changes have crept in, between receiving reviews and
committing -- than can be done, but even in that case, publicizing that
fact on the list is the minimally expected courtesy.

Squashing patches for committing is untolerable. It defeats the original
structuring, prevents bisection and bug hunt, and prevents retroactive
review and analysis.

If I post a 30-50 part series, should I then commit it all in a single
3000-5000 SLOC bomb? That practice is *exactly* what we've been trying
to extinguish!!!

People, I thought we were past this. Jesus I need some time off.

Laszlo
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to