From nobody Wed Aug 20 11:03:13 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4c6NqQ6bwVz64mTh; Wed, 20 Aug 2025 11:03:46 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c6NqQ4bdxz46v6; Wed, 20 Aug 2025 11:03:46 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-71d605c6501so54108757b3.3; Wed, 20 Aug 2025 04:03:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755687826; x=1756292626; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U488bAo+zMDOTmIS/WFU8cO3PkKxyDrYlurW2uba8U0=; b=thGA+lNldbsenyz8BiHI+FZRapNPe9BfTQqv2XyAmRbTNMixdRLgGcDeUwzTM+eagX Z4WHbLkNMEBIBo5TGo+RJDoPBtL6e/K/olKGymBFQpXqaZhLZwdUYspWxj06dNo/No2C lNS8fw9oG+HRQxppHOP8aIvu9KO2MK3WjTmuAccSMs4uYXf3YUEvzEZnUAoE5+/WNQew U6a2qVq0wJmdIN79zxiUHbPYojxRts0eijWKnNYYhpHx8TBAwsr6Qphkf0dx1FlyLRge Wzxza1lc1w/d+PXR9H7cUgba5iWdXeoSVMHjzgQbl126SmPkN03jPKMH8DBVbCdcEwHP Gawg== X-Forwarded-Encrypted: i=1; AJvYcCVMt4n60bIot2Scw794ZWlsSnyipOx70uqre7V5d0AQvRu/VnKHPKAXSisC+jG40BWoHp63cIx9JSk4ArKr@freebsd.org X-Gm-Message-State: AOJu0YxgykojWLHhAlutUMfiyuVT8cSX4hHuz8NJNg0BcFv125f3rYsY OX7qvB3Ts9qUfw+2cHT9jFVuZ/p033+2JlAaYT+s39fYmCffWXYCtZ+ypLJapAuP X-Gm-Gg: ASbGncv0r4G18Kg2HGmVPbYIGG2fdhjARxYBgZBQbrcCbRnjSQE1OmhzgFZ/iaIcR5c hj98qtbvYyKMcgXs+H561zyQCN05LnZFKd0ea39sLqBo3s91I4TIqZALZ16D0dI9pzoI7CbPWKT c+kLRlQsRB+oF0UyP4wLbAugxSYE2cVLDQnVkwO22uGNMahQRNZlWMaaOJGQ5dlhAyYqGuymk21 NZbSaI9/TdvAvfIztilxPQG+kUj47AK7bgoPmGZTzjnoLFFqbsAW75TBAQD7xGUDPMttMl8yfBk egvbmKeXMeI4DYrflAftStQKcBZ23yfIJqXBWLPvHRJ1Gh8GBLSB2wsP7klcGucwAQ/Yyj7v/mh RpPJuGG4XSSj3jUJNQ6UhzE/PoorxpV1xD0qKg6xvvXyMjs0yEhXhkq/Nr/oa/54H0PqFy5xw X-Google-Smtp-Source: AGHT+IG9iBF9mkAUBbWGEC6g/OU6/jzY6o4NaDh7TN7L93rKuhDXL/R/hJ9hF/Jjlg0zO7TFqrOqoQ== X-Received: by 2002:a05:690c:d8d:b0:71a:154:f2aa with SMTP id 00721157ae682-71fb30f0f65mr31769617b3.11.1755687823004; Wed, 20 Aug 2025 04:03:43 -0700 (PDT) Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com. [209.85.128.172]) by smtp.gmail.com with ESMTPSA id 00721157ae682-71e6de95a08sm35806037b3.3.2025.08.20.04.03.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Aug 2025 04:03:42 -0700 (PDT) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-71d60528734so50872627b3.2; Wed, 20 Aug 2025 04:03:42 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUcYlK7OAQbBGLu7vIl/V6/vHOo2zLwpyFE2CWU7lUGsLxHtFC/Fb6Zby1+eu+hKxu6daICzcA4QMnC4omU@freebsd.org X-Received: by 2002:a05:690c:b10:b0:71c:1de5:5da5 with SMTP id 00721157ae682-71fb3240149mr26016147b3.38.1755687822337; Wed, 20 Aug 2025 04:03:42 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <05CD2AAD-31EA-471B-8028-A3902D7A4192.ref@yahoo.com> <05CD2AAD-31EA-471B-8028-A3902D7A4192@yahoo.com> <5bece4af-0bec-457e-847f-7ca1cb031f86@freebsd.org> <590B86F2-6F9F-46BF-9569-03F72EA93B5D@FreeBSD.org> <91cccdac-406c-46dc-bdbe-c1c016cdee99@freebsd.org> <864iu2jq1a.fsf@ltc.des.dev> <051BA4A9-E45B-4CF5-95C5-B6F53948DB58@FreeBSD.org> <5C65983C-2D75-4250-AADD-12699A4CE252@FreeBSD.org> In-Reply-To: <5C65983C-2D75-4250-AADD-12699A4CE252@FreeBSD.org> From: Gleb Popov Date: Wed, 20 Aug 2025 14:03:13 +0300 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXx8HTckTunuLNLZGYgsaMAdW_Wuu6QAi7Zl3VKVEE6VbesG2ljQL6LU78M Message-ID: Subject: Re: RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to "FreeBSD-ports" To: Matteo Riondato Cc: FreeBSD Current , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4c6NqQ4bdxz46v6 On Wed, Aug 20, 2025 at 1:20=E2=80=AFPM Matteo Riondato wrote: > > > > > On Aug 20, 2025, at 6:15 AM, Gleb Popov wrote: > > > > On Wed, Aug 20, 2025 at 12:48=E2=80=AFPM Matteo Riondato wrote: > >> > >> It=E2=80=99s unclear (to me) whether that=E2=80=99s the *correct* way,= or the *recommended* way (pkg(8) calls it =E2=80=9Ca common idiom=E2=80=9D= ), and in either case *why* is that the recommended/correct way: what break= s if one modifies /etc/FreeBSD.conf ? Why does it break? > > > > The /etc/pkg/FreeBSD.conf file comes from base (some pkgbase package > > or as a result of make installworld or something like that). This > > means that system upgrades must handle edits to this file somehow - > > either by overwriting your changes with vanilla version or by merging > > them, which can't be done 100% automatically. > > This is true for so many files under /etc, and we have a solution with et= cupdate (indeed, not 100% automatically, but widely accepted). There is no etcupdate involved with binary package upgrades. But there is still a 3-way merge, yes, but like you said, it is not 100% automatic. So why not avoid the possibility of a merge conflict if we can do that?