Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Floris Bos <bos@je-eigen-domein.nl>,
	Heiko Thiery <heiko.thiery@gmail.com>,
	Vincent Fazio <vfazio@xes-inc.com>,
	Vincent Fazio <vfazio@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/2] package/ipmitool: backport fixes for registry issues
Date: Sun, 15 Jan 2023 11:52:14 +0100	[thread overview]
Message-ID: <20230115105214.GG199036@scaer> (raw)
In-Reply-To: <20230114225821.4edc5530@windsurf>

Thomas, All,

On 2023-01-14 22:58 +0100, Thomas Petazzoni via buildroot spake thusly:
> On Sat, 14 Jan 2023 15:33:06 -0600
> Vincent Fazio <vfazio@gmail.com> wrote:
> > replies below (i hope, i haven't tried responding to ML emails in gmail)
> It's almost good, except that gmail adds one extra > on the first line
> of each paragraph of your replies.

Still, I haven't seen Vincent's reply on the list...

> > > So in the current Buildroot situation (before this patch), the registry
> > > is always installed, correct?
> > >
> > > Correct, but with a caveat... as of the version bump to 1.8.19, the file  
> > being installed is broken and the tool actually won't work.
> 
> So the current ipmitool in Buildroot is broken. Could perhaps separate
> a "fix" that could be backported from a large improvement that allows
> to not used the registry?

It was I who asked Vincent to add all the patches from upstream with a
single commit in Buildroot.

Indeed, my reasonning was that they all pertain to a single issue: the
package is broken because 1) the registry URL is now incorrect (it
downloads an HTML blob instead of a plain-text description) and 2) the
build is not reproducible (as the registry can change on a whim).

Furthermore, even though the registry is currently installed, it is of
no use because the file is not in the format expected by the tools, so
I think it is accetable that we make installing the registry optional,
and that the option does not default to y (although I would not mind
if it did).

> > All upstream patches have been accepted into mainline. The commit hashes  
> > in the patches are the mainline commits
> 
> Thing is we don't which are "upstream patches". If the patches are
> upstream, you can do:
> 
> Signed-off-by: John Doe <john.doe@foobar.com>
> Upstream: https://github.com/some/where/commit/12456abc

I usually am content with just a git-formatted patch, with the actual
history in proper reasing order:

    From <HASH> <date>
    From: author....
    Date: date...
    Subject: subject...

    Commit log...

    upsteam-sob...
    [john.doe@foobar.com: backport from upstream]
    Signed-off-by: John Doe <john.doe@foobar.com>
    ---
    diff...

thus we can indeed check the commit hash at the beginning of the patch
and check whether it is part of a new upstream release.

If the patch had to be tweaked, then;

    From <LOCAL_HASH> <date>
    From: author....
    Date: date...
    Subject: subject...

    Commit log...

    upsteam-sob...
    [john.doe@foobar.com: backport from upstream HASH]
    Signed-off-by: John Doe <john.doe@foobar.com>
    ---
    diff...

> This makes it very clear that it has been accepted upstream, and will
> help someone who will do the next ipmitool version bump.

But yes, as long as the information is there, that's still OK.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2023-01-15 10:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-13 22:54 [Buildroot] [PATCH 1/2] package/ipmitool: backport fixes for registry issues Vincent Fazio
2023-01-13 22:54 ` [Buildroot] [PATCH 2/2] package/ipmitool: use the standard github helper Vincent Fazio
2023-01-14 21:14   ` Thomas Petazzoni via buildroot
2023-01-14 21:17 ` [Buildroot] [PATCH 1/2] package/ipmitool: backport fixes for registry issues Thomas Petazzoni via buildroot
     [not found]   ` <CAOrEah5_BQzsLnHYkMGvpSR=MxeqTeDkmbKNAQOOJ6eRXreg-g@mail.gmail.com>
2023-01-14 21:58     ` Thomas Petazzoni via buildroot
2023-01-15 10:52       ` Yann E. MORIN [this message]

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=20230115105214.GG199036@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=bos@je-eigen-domein.nl \
    --cc=buildroot@buildroot.org \
    --cc=heiko.thiery@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vfazio@gmail.com \
    --cc=vfazio@xes-inc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox