public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
To: Uladzimir Bely <ubely@ilbers.de>
Cc: isar-users@googlegroups.com
Subject: Re: [PATCH] dpkg class sbuild allows extra arguments by vars
Date: Wed, 25 Jan 2023 17:12:58 +0100	[thread overview]
Message-ID: <CAJGKYO6i7GPJDNzaudsTwqur1WeHhfy4c-bMR+0vHw2M6bV4jw@mail.gmail.com> (raw)
In-Reply-To: <2176963.hkbZ0PkbqX@hp>

On Wed, 25 Jan 2023 at 13:27, Uladzimir Bely <ubely@ilbers.de> wrote:
>
> In mail from Tuesday, 3 January 2023 22:58:15 +03 user Roberto A. Foglietta
> wrote:
> > Hi all,
> >
> > Sometimes it is necessary to add some extra commands or arguments to sbuild
> > but create a class into an upper layer just for this breaks the updates.
> > So, this patch allows setting extra parameters through two variables.
> >
> > Signed-off-by: Roberto A. Foglietta <roberto.foglietta@gmail.com>
> > ---
> >  meta/classes/dpkg.bbclass | 7 +++++--
> >  1 file changed, 5 insertions(+), 2 deletions(-)
> >
> > https://github.com/ilbers/isar/commit/7e72921747aedf588af492be95fb0b91ad70f4
> > 55
>
> Can't respond on specific line in the patch due to attachment form, but it
> would be better not to modify existing lines but just add new ones, like:
>
>          --no-apt-update \
> +        ${DPKG_SBUILD_EXTRA_ARGS_PRE} \
>          --chroot-setup-commands=...
>
> It's a bit more readable.

Two variables are useless, I realised. One in the middle is the
optimal compromise. Remove the _PRE in append, it does not make sense
anymore.

> You could send v2 or I can modify it on my side while testing / merging.

I am doing, just give me the time to rebase it on the next.

Best, R-

      reply	other threads:[~2023-01-25 16:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-03 19:58 Roberto A. Foglietta
2023-01-03 20:26 ` Henning Schild
2023-01-03 21:39   ` Roberto A. Foglietta
2023-01-04  7:53     ` Henning Schild
2023-01-05 17:43       ` Roberto A. Foglietta
2023-01-05 18:31         ` Henning Schild
2023-01-05 18:43           ` Roberto A. Foglietta
2023-01-25 12:27 ` Uladzimir Bely
2023-01-25 16:12   ` Roberto A. Foglietta [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=CAJGKYO6i7GPJDNzaudsTwqur1WeHhfy4c-bMR+0vHw2M6bV4jw@mail.gmail.com \
    --to=roberto.foglietta@gmail.com \
    --cc=isar-users@googlegroups.com \
    --cc=ubely@ilbers.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox