public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] cargo.eclass: Optimize crate unpacking
Date: Mon, 13 May 2024 16:02:38 +0200	[thread overview]
Message-ID: <2b970ab19a96daff31a34b5a1f9f468349bd362a.camel@gentoo.org> (raw)
In-Reply-To: <f35584f5-7c0a-4466-b8f7-f76a345178fb@gentoo.org>

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

On Mon, 2024-05-13 at 16:00 +0200, Florian Schmaus wrote:
> On 12/05/2024 20.21, Michał Górny wrote:
> > On Sun, 2024-05-12 at 19:22 +0200, Florian Schmaus wrote:
> > > On 12/05/2024 04.26, Michał Górny wrote:
> > > > +	if [[ ${PKGBUMPING} != ${PVR} ]]; then
> > > > +		pushd "${DISTDIR}" >/dev/null || die
> > > > +
> > > > +		ebegin "Unpacking crates"
> > > > +		printf '%s\0' "${crates[@]}" |
> > > > +			xargs -0 -P "$(makeopts_jobs)" -n 1 -- \
> > > 
> > > Consider using get_makeopts_jobs instead of makeopts_jobs, as it
> > > searches more variables for --jobs.
> > 
> > Whose bright idea was to add a second similarly named function that does
> > roughly the same thing but apparently differently?  It can hardly get
> > more confusing.
> 
> You are absolutely right, it sucks that we have two very similar methods.
> 
> You are invited to suggest how the situation can be improved. However, 
> rambling without presenting alternatives is not helpful in any way.
> 

My suggestion would be for the person who introduced new methods
and implicitly claimed the old methods to be "legacy" to put an actual
effort to migrate consumers.

-- 
Best regards,
Michał Górny


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

  reply	other threads:[~2024-05-13 14:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-12  2:26 [gentoo-dev] [PATCH] cargo.eclass: Optimize crate unpacking Michał Górny
2024-05-12  2:44 ` Sam James
2024-05-12 17:22 ` Florian Schmaus
2024-05-12 18:21   ` Michał Górny
2024-05-13 14:00     ` Florian Schmaus
2024-05-13 14:02       ` Michał Górny [this message]
2024-05-16  6:55     ` [gentoo-dev] Obtaining values for --jobs and --load-average Florian Schmaus

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=2b970ab19a96daff31a34b5a1f9f468349bd362a.camel@gentoo.org \
    --to=mgorny@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