Bug 254856 - base system cannot pull/update official src or ports repos, lacks git client
Summary: base system cannot pull/update official src or ports repos, lacks git client
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-07 15:05 UTC by Michael Büker
Modified: 2021-04-09 16:23 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Büker 2021-04-07 15:05:05 UTC
The base system provides no means of pulling or updating src or the ports tree from the official git repos.

To get a copy of the official src or ports tree, currently a git client must be installed as pre-compiled package (if available on the given arch), or compiled from a (potentially outdated) ports tree obtained by other means (such as portsnap).

Providing a git client in base would obviate the need to either download the pkg database and install a package, or somehow obtain a ports tree copy to compile a git client in order to have an up-to-date src or ports tree.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2021-04-07 16:43:56 UTC
> Version: 	13.0-STABLE 
All versions are affected.

P.S. portsnap is still doesn't work.
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2021-04-08 03:06:40 UTC
(In reply to VVD from comment #1)
Changing portsnap backend to git is WIP: https://reviews.freebsd.org/D29627

But please note that portsnap has been announced to be deprecated because it doesn't support quarterly branch.