Re: git: 073694902a75 - main - www/py-yt-dlp-ejs: mark as IGNORE
- In reply to: Mathieu Arnold : "git: 073694902a75 - main - www/py-yt-dlp-ejs: mark as IGNORE"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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