Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 2026 00:43:15 -0800
From:      Yuri <yuri@freebsd.com>
To:        Mathieu Arnold <mat@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 073694902a75 - main - www/py-yt-dlp-ejs: mark as IGNORE
Message-ID:  <c6ee03c2-6e25-4356-97a2-9542560dfe1b@freebsd.com>
In-Reply-To: <69a5c70e.3fb91.39db4454@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

Hi Mathieu,


On 3/2/26 09:21, Mathieu Arnold wrote:
> You cannot repack your distfile in do-fetch. If you need to extract 
> things and move things around, do it in post-extract. 


This do-fetch target fetches in 2 places:
1. in ${FETCH_CMD}
2. in 'npm ci'



It first fetches the initial tarball, extracts it and then 'npm ci' 
fetches and adds more files in there, and do-fetch packages it again.


There is no re-packaging. It is rather a complex packaging.

Therefore your suggestion to do this in post-extract wouldn't work.

Unfortunately NodeJS works in such a way that it usually fetches a lot 
of dependencies while building the project, and this 'npm ci' separates 
these fetches into the do-fetch target.



Regards,
Yuri



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c6ee03c2-6e25-4356-97a2-9542560dfe1b>