From nobody Tue Jan 21 21:14:52 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 4Yd0NC19Flz5lc9C for ; Tue, 21 Jan 2025 21:15:07 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (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 4Yd0NB6Dhpz3pmw for ; Tue, 21 Jan 2025 21:15:06 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-e549b0f8d57so10164016276.3 for ; Tue, 21 Jan 2025 13:15:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1737494106; x=1738098906; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=poqtmq6oMcSUEs/ubVbs81sWa+YATbcXSlcRt749D5s=; b=gJJAkuicQTwiBknFZFR8hFF2YXzPnGzPhHBlTiTcpBbKGJ1OFJMcbyRNWFolYy41DZ F1WSIBG79DpeHRxWc49Cx3vRmrIazqn0h+fIC6nafMN26QanyxOVbFW9U8DnT26EaDeL pp29/yE8z9D0cWJ/AhIFX7g3Tejo9OI5RYkBOTwWcH+DFahgLoUE8erT4SY3FgMp7icl zvTKFlPEb/YBwlJdLI5VAJgx01VLZZ6EcgpuXcl0CgxviZ/vh01P8QyAEKVHbJhJZYRH GvRCgACmoUt5Hp9Y/Ad9YbheaEI1RMw6vS7h0AQClZIvy1IBBtwEh6NabwvyctBdnhus rCFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737494106; x=1738098906; 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=poqtmq6oMcSUEs/ubVbs81sWa+YATbcXSlcRt749D5s=; b=dVcf1kLKWBehi7ryR7TGL774VtCfImuD8CavSpRbiaKSrLI3wDAG5qqexIYP/LZkTW MBRI9n7zqRHvZyJ9xo6JiXfrT6InuJLkp9zZtqjNVte1nZ0pffP5dQuMjPl0J5halEaP PPEr5zZnGY31y21NDyG3iLiirD+NGVZvQhs7MvgGEezeJoFBZ1IANIHA7f8Pm1eav5bz D2t+oNUUjnP6U6r4rXN8JskrdLFcAEvZCtEIzwJ4/XXhB78bXxO8XTpsD5MgnNqD585R sxvRqK+XR51NBUehNUuGoD3eO4QWwhc4T2Dz98MkVwYEPubSzdVw+rGMlgvMMXD/kMkK rpmg== X-Forwarded-Encrypted: i=1; AJvYcCVDyM2jDYWQn4VN4nZW/o4/N05Bf3C7x5dE8gih+THhDYpCg0AE44GWaRH4hdWcYjSuDwP5FoE32unBF8ZQ5Ls=@freebsd.org X-Gm-Message-State: AOJu0YxLizK3IsCu3M3YeX005QKxywJvB/Cu8Q8ngrjngubwGQ5DAu00 fAhZ9ubnXOAuK2/L0cr4AiszjclyYq9UDiDqHLVtaGp+qjEe8UvU2jHkUQwHcg== X-Gm-Gg: ASbGncscDPYo7huFc1n/BRE4rmHVCklV7npV5nE/wBbEWZPHT67D+c07H6WV/rzlPo1 aJhW/O69GVVVUozlH0WwTRBFhvbjAccVA6LtLQnpDgzcayorErMiZABynyJafvbpewm16rgW4fW 6bHdWkUUY1C/F8GRe4PoWyMNEFwYPIHy4Clx2nj+KKOCO0Ma6OWJUCMv0k8t6JZ5uIC86FfH0k+ uEJumpyHwCJBtZgBNs4m6Msuw9eU7snmmF6085GA1N6fQC4/jwmuV7BR1jMu2U6eLtTNPjRQaqE 9H7CrnzQzMPfw4IwVFkYBaAyIiwFEFs= X-Google-Smtp-Source: AGHT+IGr5zoR6TpkIb77t5Rtic2gRpHPlR11wxTYtnpChcetUQkE0ltvjMRpoBCEZfSBoO3YG8ZNTg== X-Received: by 2002:a05:690c:6a0f:b0:6ef:79d8:c908 with SMTP id 00721157ae682-6f6eb67cbd7mr142117067b3.14.1737494105852; Tue, 21 Jan 2025 13:15:05 -0800 (PST) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6f6e63ab341sm18479727b3.13.2025.01.21.13.15.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jan 2025 13:15:05 -0800 (PST) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-e5447fae695so10412821276.2; Tue, 21 Jan 2025 13:15:04 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXKHclO03Zm/W6JkuEbfo8GVyjwUFBMtA3q/5sxCXIsDR7p3Q/lslhXaFATq5F4I1Mgf4hFbmVV5KIEw+BlZH4=@freebsd.org X-Received: by 2002:a05:690c:c94:b0:6ef:6035:828e with SMTP id 00721157ae682-6f6eb9414ebmr144101597b3.35.1737494104262; Tue, 21 Jan 2025 13:15:04 -0800 (PST) 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: In-Reply-To: From: Tomek CEDRO Date: Tue, 21 Jan 2025 22:14:52 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: AbW1kvZZ5Iyt3oe9MI72rlkMozBFZjjPcvJ4d442Z-Ti6WpHRd91NIY-zv9Pf08 Message-ID: Subject: Re: /usr/src and /usr/ports not git directories ? To: Gleb Smirnoff Cc: bob prohaska , freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Yd0NB6Dhpz3pmw X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Tue, Jan 21, 2025 at 9:09=E2=80=AFPM Gleb Smirnoff wrote: > On Sat, Jan 18, 2025 at 09:29:03AM -0800, bob prohaska wrote: > b> (..) > b> The most visible problem is lack of a /usr/src/.git directory. Can > b> the existing src and ports directories be salvaged? > (..) > I think that /usr/src and /usr/ports as part of FreeBSD release > distribution should just go away. But we should provide a one liner > command to get them in a proper way (shallow git checkout). I fully disagree with removing src and ports snapshots from the release images :-) There are minimal images that does not have them too. Installer gives you option not to install src and ports. So what is the problem? src and ports are the integral part of the release so you don't have to use it but for sure there will be an occasion where you really need to have the offline version :-) I build lots of packages and tools and project mostly from sources so this part is really important for me and probably for many more people that use FreeBSD as development workstation. But, its is true that I use git repo clones in /usr/src and /usr/ports. So the installer may ask user if they want to use packaged snapshots of src and ports or if they want so clone them from git or at least setup the git clone to be fetched at later times. Maybe a dedicated command for this purpose is a good idea too! But its good to have choice. Some situations may require offline snapshot. Some situations prefer git clone :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info