All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	Sebastian Fricke <sebastian.fricke@collabora.com>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Daniel Almeida <daniel.almeida@collabora.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Martin Hecht <martin.hecht@avnet.eu>,
	Tommaso Merciai <tomm.merciai@gmail.com>,
	Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
	Benjamin Mugnier <benjamin.mugnier@foss.st.com>,
	Ricardo Ribalda <ribalda@chromium.org>,
	Michael Tretter <m.tretter@pengutronix.de>,
	Alain Volmat <alain.volmat@foss.st.com>,
	Sean Young <sean@mess.org>, Steve Cho <stevecho@chromium.org>,
	Tomasz Figa <tfiga@chromium.org>,
	Hidenori Kobayashi <hidenorik@chromium.org>,
	"Hu, Jerry W" <jerry.w.hu@intel.com>,
	Suresh Vankadara <svankada@qti.qualcomm.com>,
	Devarsh Thakkar <devarsht@ti.com>,
	r-donadkar@ti.com,
	Dave Stevenson <dave.stevenson@raspberrypi.com>,
	Mehdi Djait <mehdi.djait@linux.intel.com>,
	Nicolas Dufresne <nicolas@ndufresne.ca>,
	Salahaldeen Altous <salahaldeen.altous@leica-camera.com>
Subject: Re: [ANN] Media Summit September 16th: Final Agenda (v7)
Date: Thu, 26 Sep 2024 13:40:22 +0300	[thread overview]
Message-ID: <20240926104022.GD21788@pendragon.ideasonboard.com> (raw)
In-Reply-To: <ZvU49mrccFlKDhD0@kekkonen.localdomain>

On Thu, Sep 26, 2024 at 10:35:34AM +0000, Sakari Ailus wrote:
> Hi Laurent,
> 
> On Thu, Sep 26, 2024 at 01:24:48PM +0300, Laurent Pinchart wrote:
> > On Thu, Sep 26, 2024 at 12:19:14PM +0200, Mauro Carvalho Chehab wrote:
> > > Em Thu, 26 Sep 2024 09:30:34 +0000
> > > Sakari Ailus <sakari.ailus@linux.intel.com> escreveu:
> > > 
> > > > > >>> Can you refresh my memory which processes need more work?  
> > > > > >>
> > > > > >> I have the same doubt. As discussed during the summit, Hans and I had some
> > > > > >> discussions yesterday, to address a few details. For both of us the process
> > > > > >> sounds well defined.
> > > > > >>
> > > > > >> From my personal notes, this will be the new process:
> > > > > >>
> > > > > >> - committers will merge patches at media-committers.git tree at fdo,
> > > > > >>   provided that they'll follow the rules defined on a committers agreement
> > > > > >>   and (partially?) enforced by media-ci checks;
> > > > > >> - core committers follow the same rules, with a broader privilege of
> > > > > >>   changing kernel API/ABI;
> > > > > >> - committers will ensure that patchwork will reflect the review process of
> > > > > >>   the patches;
> > > > > >> - maintainers will double-check if everything is ok and, if ok, merge the
> > > > > >>   changes at linuxtv.org. We intend to rename the tree there to "media.git",
> > > > > >>   being the main tree to be used for development;
> > > > > >> - pull requests will keep using the same process as currently. The only
> > > > > >>   change is that the media-stage.git tree will be renamed to "media.git";
> > > > > >> - maintainers will periodically send patches upstream.
> > > > > >>
> > > > > >> The media-commiters.git tree at fdo might be rebased if needed; the 
> > > > > >> media.git tree at linuxtv.org is stable. A large effort will be taken to
> > > > > >> avoid rebasing it.
> > > > > >>
> > > > > >> We may need some helper scripts and/or use pwclient to keep patchwork
> > > > > >> updated after committers reviews.  
> > > > > > 
> > > > > > What will happen if we update the status of patches in patchwork when
> > > > > > merging them to the fdo tree, and the tree is later rebased to drop
> > > > > > commits ? Will the person rebasing handle updating patchwork to move the
> > > > > > patches back from accepted to a different status ?  
> > > > > 
> > > > > That should be the responsibility of the person doing the rebase. I think
> > > > > that's what is done today as well in the rare cases we rebase.  
> > > > 
> > > > Sounds reasonable. I'd also like to avoid rebases as much as possible.
> > > > 
> > > > Do we have a list of cases where a rebase would be needed? A license issue
> > > > or a missing Sob line, perhaps?
> > > 
> > > No, and I don't think we can write a rule to cover such cases. The only rule
> > > is that it is up to maintainers to decide to do a rebase or not, and this
> > > will be done case by case.
> > > 
> > > With regards to the cases you mentioned, it is almost surely that license 
> > > issues will call for a rebase. The same may apply up to some point for 
> > > missing/refused SoBs from authors, co-developers and from the committers.
> > > 
> > > Yet, I would expect that a more common case is if someone touches the code
> > > and another committer/developer/author nacks with such changes.
> > > 
> > > So, for instance, suppose you maintain driver A. Some other committer
> > > may end merging a patch for driver A without your ack. Depending on the
> > > patch that could be OK (trivial/doc changes, bugs with bug fixes that
> > > are available for some time, etc).
> > > 
> > > Yet, even if the committer did an honest handling of the patch, you may 
> > > still disagree or want some changes at the original patch. On such cases, 
> > > the maintainers may decide to drop the changes and do a normal review
> > > process. They may otherwise request a patch on the top of the applied
> > > one to address the pointed issues.
> > 
> > Let's do a revert in that case, and keep rebases for cases where having
> > content in the git history causes issues other than bisection problems.
> 
> I'd very much prefer this as well: revert or fix, if at all reasonable,
> instead of rebasing should be a rule.
> 
> > I'd argue that even a missing SoB may not be a cause for rebase if it's
> > an accident, but that's not worth debating because CI will make sure
> > this never happens.
> 
> Does it?
>
> checkpatch.pl checks should just be warnings. And that should probably
> stay. Sob: and From: being different isn't necessarily that far-fetched as
> having an address in .mailmap may change From: field but not Sob:,
> resulting in a checkpatch.pl warning.
> 
> I wonder if checkpatch.pl should know about .mailmap actually, currently it
> doesn't. I could send a patch.

We have an explicit check in the CI to ensure that both the author and the
committer have a SoB line. It's not base on checkpatch.pl. Ricardo,
could you confirm this ?

> > > There is also worse case scenarios, like a committer violating the
> > > committer's agreement.
> > 
> > I'm fine with rebases if someone gets rogue and merges malicious code,
> > or commits with insults in the commit message. I don't foresee that
> > happening regularly, if ever.
> 
> I'm more concerned of a malicious actor getting access to the committer's
> credentials rather than the committer him-/herself going crazy. And if this
> happens, changes are it won't be noticed immediately.

That's not much different than someone impersonating me or you when
sending pull requests. Signing tags helps, but if someone steals
credentials, it's also game over. With the new workflow the malicious
changes will need to pass CI, so there may be more scrutiny :-)

> Reminding of
> <URL:https://github.com/lfit/itpol/blob/master/linux-workstation-security.md>
> in the instructions might not be a bad idea.

Agreed.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2024-09-26 10:40 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-11  9:03 [ANN] Media Summit September 16th: Final Agenda (v7) Hans Verkuil
2024-09-14 20:07 ` Sakari Ailus
     [not found] ` <87a594e0-7f3e-495f-af49-d8816870bac9@xs4all.nl>
     [not found]   ` <FR4P281MB3434D01975FAC00E49F70CEAFD672@FR4P281MB3434.DEUP281.PROD.OUTLOOK.COM>
2024-09-16  5:27     ` AW: " Hans Verkuil
2024-09-16  5:42       ` Hans Verkuil
2024-09-17  9:17 ` Sebastian Fricke
     [not found]   ` <CAN0yncErs6T9MTp+QxrmbRgSWp79_YvoS_ekVOZB5N1mQ2wdLw@mail.gmail.com>
2024-09-17 10:34     ` Sakari Ailus
2024-09-17 10:35       ` Laurent Pinchart
2024-09-17 12:52   ` Hans Verkuil
2024-09-18  7:24     ` Mauro Carvalho Chehab
2024-09-18  9:30       ` Sebastian Fricke
2024-09-18 11:23         ` Mauro Carvalho Chehab
2024-09-25 19:56           ` Laurent Pinchart
2024-09-25 22:38             ` Mauro Carvalho Chehab
2024-09-26 10:30               ` Laurent Pinchart
2024-09-26 10:38                 ` Sakari Ailus
2024-09-26 10:41                   ` Laurent Pinchart
2024-09-26 10:48                     ` Sakari Ailus
2024-09-26 13:56                   ` Mauro Carvalho Chehab
2024-09-26 11:06                 ` Mauro Carvalho Chehab
2024-09-26 11:13                   ` Laurent Pinchart
2024-09-26 11:35                     ` Mauro Carvalho Chehab
2024-09-26 11:43                       ` Hans Verkuil
2024-09-26 12:02                         ` Laurent Pinchart
2024-09-26 13:49                           ` Mauro Carvalho Chehab
2024-09-26 11:40                   ` Sakari Ailus
2024-09-20 12:16         ` AW: " Hecht, Martin (Avnet Silica)
2024-09-25 19:53           ` Laurent Pinchart
2024-09-26 14:14           ` Kernel CI media test - Was: " Mauro Carvalho Chehab
2024-10-05 14:15             ` Gustavo Padovan
2024-11-09  8:04           ` Sebastian Fricke
2024-11-09 12:01             ` Laurent Pinchart
2024-11-11  8:23             ` Hecht, Martin (Avnet Silica)
2024-09-25 19:58       ` Laurent Pinchart
2024-09-26  7:27         ` Hans Verkuil
2024-09-26  9:30           ` Sakari Ailus
2024-09-26 10:19             ` Mauro Carvalho Chehab
2024-09-26 10:24               ` Laurent Pinchart
2024-09-26 10:35                 ` Sakari Ailus
2024-09-26 10:40                   ` Laurent Pinchart [this message]
2024-09-26 10:46                     ` Ricardo Ribalda
2024-09-26 10:54                       ` Sakari Ailus
2024-09-26 10:59                         ` Ricardo Ribalda
2024-09-26 11:48                           ` Sakari Ailus
2024-09-26 10:52                     ` Sakari Ailus
2024-09-26 11:13                   ` Mauro Carvalho Chehab
2024-09-26 10:53                 ` Mauro Carvalho Chehab
2024-09-26 11:07                   ` Laurent Pinchart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240926104022.GD21788@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=alain.volmat@foss.st.com \
    --cc=benjamin.mugnier@foss.st.com \
    --cc=daniel.almeida@collabora.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=devarsht@ti.com \
    --cc=hidenorik@chromium.org \
    --cc=hverkuil@xs4all.nl \
    --cc=jacopo.mondi@ideasonboard.com \
    --cc=jerry.w.hu@intel.com \
    --cc=linux-media@vger.kernel.org \
    --cc=m.tretter@pengutronix.de \
    --cc=martin.hecht@avnet.eu \
    --cc=mchehab+huawei@kernel.org \
    --cc=mchehab@kernel.org \
    --cc=mehdi.djait@linux.intel.com \
    --cc=nicolas@ndufresne.ca \
    --cc=r-donadkar@ti.com \
    --cc=ribalda@chromium.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=salahaldeen.altous@leica-camera.com \
    --cc=sean@mess.org \
    --cc=sebastian.fricke@collabora.com \
    --cc=stevecho@chromium.org \
    --cc=svankada@qti.qualcomm.com \
    --cc=tfiga@chromium.org \
    --cc=tomm.merciai@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.