Date: Tue, 21 Jan 2025 12:09:43 -0800 From: Gleb Smirnoff <glebius@freebsd.org> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-current@freebsd.org Subject: Re: /usr/src and /usr/ports not git directories ? Message-ID: <Z4__B0EQM-ce0qPE@cell.glebi.us> In-Reply-To: <Z4vk3009iSwuzG4K@www.zefox.net> References: <Z4vk3009iSwuzG4K@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z4__B0EQM-ce0qPE>