public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH v2] verify-sig.eclass: avoid calling unpack on sig files
Date: Wed, 22 May 2024 10:59:39 -0400	[thread overview]
Message-ID: <CAJ0EP40+sMWWW50cS-_dhVQ6m6edQ8g7=LcK=emHhi=Y1eSY0g@mail.gmail.com> (raw)
In-Reply-To: <246638361b9afd85bcb42aad0f710a29e1b773a2.camel@gentoo.org>

On Tue, May 21, 2024 at 11:38 PM Michał Górny <mgorny@gentoo.org> wrote:
>
> On Tue, 2024-05-21 at 22:05 -0400, Mike Gilbert wrote:
> > Signed-off-by: Mike Gilbert <floppym@gentoo.org>
> > ---
> >  eclass/verify-sig.eclass | 10 +++++++---
> >  1 file changed, 7 insertions(+), 3 deletions(-)
> >
> > diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass
> > index b74ed78290aa..4d48c9ed8503 100644
> > --- a/eclass/verify-sig.eclass
> > +++ b/eclass/verify-sig.eclass
> > @@ -426,10 +426,14 @@ verify-sig_src_unpack() {
> >                       verify-sig_verify_detached \
> >                               "${DISTDIR}/${f%.*}" "${DISTDIR}/${f}"
> >               done
> > -     fi
> >
> > -     # finally, unpack the distfiles
> > -     default_src_unpack
> > +             # finally, unpack the distfiles
> > +             if [[ ${#distfiles[@]} -gt 0 ]]; then
> > +                     unpack "${distfiles[@]}"
> > +             fi
> > +     else
> > +             default_src_unpack
> > +     fi
> >  }
> >
> >  fi
>
> Please make a pull request or send a patch with more context.
> As submitted, this patch is completely unreadable.

Sure, I updated the commit message per ulm's comments, and opened a PR.

https://github.com/gentoo/gentoo/pull/36776


  reply	other threads:[~2024-05-22 15:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22  1:58 [gentoo-dev] [PATCH] verify-sig.eclass: avoid calling unpack on sig files Mike Gilbert
2024-05-22  2:05 ` [gentoo-dev] [PATCH v2] " Mike Gilbert
2024-05-22  3:38   ` Michał Górny
2024-05-22 14:59     ` Mike Gilbert [this message]
2024-05-22  5:53   ` Ulrich Mueller
2024-05-22 14:55     ` Mike Gilbert

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='CAJ0EP40+sMWWW50cS-_dhVQ6m6edQ8g7=LcK=emHhi=Y1eSY0g@mail.gmail.com' \
    --to=floppym@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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