Re: /usr/src and /usr/ports not git directories ?
- Reply: Sulev-Madis Silber : "Re: /usr/src and /usr/ports not git directories ?"
- Reply: Tomek CEDRO : "Re: /usr/src and /usr/ports not git directories ?"
- Reply: Florian Walpen : "Re: /usr/src and /usr/ports not git directories ?"
- In reply to: bob prohaska : "/usr/src and /usr/ports not git directories ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jan 2025 20:09:43 UTC
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