From nobody Tue Jan 21 20:09:43 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 4Ycywp4bzbz5lX0Q for ; Tue, 21 Jan 2025 20:09:46 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ycywp3qBwz3fvv; Tue, 21 Jan 2025 20:09:46 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737490186; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UjH3G/CvbPlCSp+6mKA90gzAFMpGy6NelV0bTTG6lLw=; b=Qj0HPa44qCL89OMqQhcURAeng8WY4btBmFk+/1aVQ3xdTBqGcgCigLpau5gVljsi/RL7w4 FvLaxeJ0ycu5XE9mB5voHVgkJ59JOhuWY98HKZiOkHOT3jNH1haI8llfUOHr1OmDZr5zen hAmWOkEubr6+Mznez9Obn7z/rzD7ONmjfEbH9h+FfUlTK6RyWsaJky7ys8WdCj4s3fgByR O3W0f8qyEUuhEdIQVl/ljsoaUB2l7+KvXXOmpGeBJWCRj1VFpChfa1T4O2db5mGgzhsIDZ N13vI46oAFGiMB0g5dd2SRK8Zb41d3kh/EKDIOBVCST2cjOfin9Aa7zXkFBDjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737490186; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UjH3G/CvbPlCSp+6mKA90gzAFMpGy6NelV0bTTG6lLw=; b=gre7nQw0fezqBgWoyR5WV/jSy62eW148mwaBpqb4G8ZCFZaR3BblDFspmqmRldBBQ4WmRL L3l20jTyrpeffI03sCYPh1JH+MZAW4+30CzgrRJV50m+QdaDoc51kbyjfdt3EfeHhBAcCs 1/b/f+nZsrlcuo/M1OXIDHF6TrYDLsjjSOoy2lU9I5hEyWaKv6gFIcFIBcX++q95D1XKuB DI30uq39HxpP9y4gav6ISS6uOZGOJSSRBOUem/fnXR0wWszTW+90AU8kPLQxYpitUJpq9h rgCw2jDSWLyBBMS+KqDmN2Ct0qvJsJQ/8eaR1nQ8rqgIfi0tZjaF/l4AtA6bXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737490186; a=rsa-sha256; cv=none; b=Opd7q16UvFDZTkEmSdNSt7jtcsufq6sPX032xrAUHZCIRNNmHUKCdS1DvKAg7v1/4yFoO6 oKln9HNpIYwURm+99Pv+VQetr+wAHEpyFZOLkqL0ygfLOzxTuYZQa4fVnez+G2pISMLBSf JtMeINtNS36XUF0PfG2T3ohecKX39kzpza1EV/DPEhsqSoVnmQTR7Zaf/uS7pEhJ7VcKJ5 dTyiZKmW6zjt/B3urchJT5Q0e4OvfDA/ZG6sGANcqZWEnD+J+h9PIwM+c7FlRXilxivQkM Sovh/h4XvkaIu+jvB0J3yDGm5GfIHIy9T2D/XtI9mmY8BDUZx24hY2/kJSNTfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Ycywn70Y5zNQ1; Tue, 21 Jan 2025 20:09:45 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Tue, 21 Jan 2025 12:09:43 -0800 From: Gleb Smirnoff To: bob prohaska Cc: freebsd-current@freebsd.org Subject: Re: /usr/src and /usr/ports not git directories ? Message-ID: References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Bob, On Sat, Jan 18, 2025 at 09:29:03AM -0800, bob prohaska wrote: b> A fresh install of b> FreeBSD-15.0-CURRENT-amd64-20250102-3d0a0dda3a7d-274510-memstick.img b> set up without much difficulty and Xorg seems to work out of the box b> on my Lenovo t400s. Both src and ports directories were installed by b> bsdinstall, but an attempt to run git pull in the src directory failed b> with "not a git repository", even though .git entries are present. b> b> The most visible problem is lack of a /usr/src/.git directory. Can b> the existing src and ports directories be salvaged? Thanks a lot for bringing up this topic. I have same observations: /usr/src and /usr/ports as is is an atavism. I have already once tried this statement at a smaller audience - a Russian-speaking telegram channel. One meaningful feedback I got is that people may occasionally build stuff from ports and also some ports (e.g. drm-kmod, lsof) need /usr/src. So in my opinion these sources as is are useful for a very minor group of people, those who aren't really developers/hackers, but for some reason are not fully satisfied with binary packages. 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). -- Gleb Smirnoff