Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2023 15:41:53 +0000
From:      Antoine Brodin <antoine@freebsd.org>
To:        Po-Chuan Hsieh <sunpoet@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: fa93fdc383c1 - main - Framework: Rewrite nodejs.mk and reorganize www/{node,npm,yarn}
Message-ID:  <CAALwa8mDZGmHx5b=MA%2BiOV2-81dxYV5%2BH0dGV3VeOaOCiBqApA@mail.gmail.com>
In-Reply-To: <202301301425.30UEPoQ9089521@gitrepo.freebsd.org>
References:  <202301301425.30UEPoQ9089521@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 30, 2023 at 2:25 PM Po-Chuan Hsieh <sunpoet@freebsd.org> wrote:
>
> The branch main has been updated by sunpoet:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=fa93fdc383c190569821ae224413c848c19d9a7c
>
> commit fa93fdc383c190569821ae224413c848c19d9a7c
> Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> AuthorDate: 2023-01-30 14:20:38 +0000
> Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> CommitDate: 2023-01-30 14:20:38 +0000
>
>     Framework: Rewrite nodejs.mk and reorganize www/{node,npm,yarn}
>
>     The current USES=nodejs has the following issues:
>     - www/node is not the default version while www/node16 is.
>     - It also means inconsistent naming of node ports.
>     - www/npm duplicates with www/npm-node16.
>     - www/yarn duplicates with www/yarn-node16.
>
>     The notable changes are introduced to fix the above issues:
>     - Rewrite Mk/Uses/nodejs.mk.
>     - Add new LTS version of nodejs (www/noe18).
>     - Add new current version of nodejs (www/node19).
>     - Change default nodejs version from 16 to 18 (latest LTS).
>     - Use consistent naming for all supported node versions.
>     - Convert www/node, www/npm and www/yarn to meta ports.
>
>     After this commit:
>     - All supported node versions are named as node{14,16,18,19}
>     - www/node is a meta port which depends on the default version (e.g. www/node18)
>     - www/npm is a meta port which depends on the default version (e.g. www/npm-node18)
>     - www/yarn is a meta port which depends on the default version (e.g. www/yarn-node18)
>     - Bump PORTREVISION of dependent ports for dependency change (from www/node16 to www/node18)
>
>     Discussed with: jrm, otis, pizzamig

Hi,

How was this tested?  a lot of ports are not hooked to the build.

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8mDZGmHx5b=MA%2BiOV2-81dxYV5%2BH0dGV3VeOaOCiBqApA>