Re: git: 073694902a75 - main - www/py-yt-dlp-ejs: mark as IGNORE

From: Yuri <yuri_at_freebsd.com>
Date: Tue, 03 Mar 2026 08:43:15 UTC
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