All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>
Subject: Re: [PATCH 0/3] RFC: test: Bring in the test hooks
Date: Fri, 2 May 2025 09:06:41 -0600	[thread overview]
Message-ID: <20250502150641.GW1261075@bill-the-cat> (raw)
In-Reply-To: <CAFLszTha1wWDCpi=HR4sE-rKjoPQp+Twvyrsb-fCcF=vPW4d8Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2578 bytes --]

On Fri, May 02, 2025 at 08:49:12AM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On Fri, 2 May 2025 at 08:34, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Thu, May 01, 2025 at 08:50:16PM -0600, Simon Glass wrote:
> >
> > > During a recent discussion with Heinrich we discussed why the hooks are
> > > kept in a separate repo.
> > >
> > > The amount of code is small, a tenth of the size of the recently added
> > > lwip, just by way of example. Testing is a critical part of U-Boot and
> > > one of the things that distinguishes it from firmware projects that have
> > > not kept up in this area. By having the tests somewhere else, we are
> > > signalling that it is unusual, or difficult, or optional.
> > >
> > > The hooks mechanism also needs something of an update to take account of
> > > real boards in 2025. That will be much easier to undertake if the code
> > > that test/py talks to is in the same repo.
> > >
> > > This series brings the hook files in as first-class citizens of U-Boot.
> > >
> > > If we do go ahead with this, I will send a different series which has
> > > separate commits (with correct author) in the u-boot-test-hooks repo.
> >
> > I think bringing more projects directly in to the repository is a bad
> > idea. Your example of lwip isn't applicable because it's a read-only
> > subtree that's maintained outside of the project (same as the dts
> > subtree). But sure, lets "Say Yes". That said, we still need to:
> > - Remove needless examples from the tree.
> > - Not include personal labs directly in the tree.
> >
> > That last one is why I really think this is a bad idea. The point of
> > having the hooks standalone is so that any given lab can easily add
> > support for their lab and manage it, without worrying about disclosing
> > internal layout. There's going to be hard coded default passwords there.
> > There's going to be repository secrets there. That kind of information
> > really should not be in a public repository. Integrating the hooks with
> > mainline will make lab management harder, not easier. The point of the
> > existing labs in u-boot-test-hooks is to provide samples.
> >
> > I think this is all why no, we should not go down this path.
> 
> Is it worth discussing this, or is your mind made up? I have some
> thoughts on the last one.

I think it's a terrible idea that I already said:
> But sure, lets "Say Yes".

But please do spend time explaining your thoughts and perhaps others
will also agree with you and I'll feel less bad taking this in?

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2025-05-02 15:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-02  2:50 [PATCH 0/3] RFC: test: Bring in the test hooks Simon Glass
2025-05-02  2:50 ` [PATCH 1/3] " Simon Glass
2025-05-02  2:50 ` [PATCH 2/3] doc: Tidy up the hooks documentation Simon Glass
2025-05-02  2:50 ` [PATCH 3/3] CI: Update to use the hooks in the U-Boot repo Simon Glass
2025-05-02  4:18   ` Heinrich Schuchardt
2025-05-02 14:33 ` [PATCH 0/3] RFC: test: Bring in the test hooks Tom Rini
2025-05-02 14:49   ` Simon Glass
2025-05-02 15:06     ` Tom Rini [this message]
2025-05-02 17:19       ` Heinrich Schuchardt
2025-05-02 19:30         ` Tom Rini
2025-05-02 19:42           ` Heinrich Schuchardt
2025-05-02 20:04             ` Tom Rini
2025-05-03 14:29               ` Simon Glass
2025-05-05 18:18                 ` Tom Rini
2025-05-06 13:23                   ` Simon Glass
2025-05-06 16:25                     ` Tom Rini
2025-05-06 18:10                       ` Simon Glass
2025-05-06 19:27                         ` Tom Rini
2025-05-09 13:52                           ` Simon Glass
2025-05-09 14:41                             ` Tom Rini
2025-05-05  7:00 ` neil.armstrong
2025-05-05 12:58   ` Simon Glass
2025-05-05 13:45     ` Tom Rini
2025-05-05 15:34       ` Simon Glass
2025-05-05 16:22         ` Tom Rini

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=20250502150641.GW1261075@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /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.