When moving from gitup to git, will already installed ports be affected?

I have used net/gitup for updating the ports tree and now want to move to devel/git instead.

Is it completely safe to delete the /usr/ports directory before running # git clone https://git.freebsd.org/ports.git /usr/ports?

E.g what will happen to all the already installed ports, and will only the "make configs" be lost?

Thanks,
 
..and to just prove my point

Code:
git -v
git version 2.54.0

/usr/bin/time -h git clone https://github.com/freebsd/freebsd-ports.git
Cloning into 'freebsd-ports'...
remote: Enumerating objects: 6930879, done.
remote: Counting objects: 100% (701/701), done.
remote: Compressing objects: 100% (470/470), done.
remote: Total 6930879 (delta 321), reused 283 (delta 231), pack-reused 6930178 (from 4)
Receiving objects: 100% (6930879/6930879), 2.47 GiB | 30.65 MiB/s, done.
Resolving deltas: 100% (4030013/4030013), done.
Updating files: 100% (172577/172577), done.
        3m44.70s real           6m18.36s user           1m11.07s sys

gix -V
gix 0.53.0

/usr/bin/time -h gix clone https://github.com/freebsd/freebsd-ports.git
 10:09:47 indexing done 6.9M objects in 86.86s (79.8k objects/s)
 10:09:47 decompressing done 5.9GB in 86.86s (68.3MB/s)
 10:10:16     Resolving done 6.9M objects in 28.64s (242.0k objects/s)
 10:10:16      Decoding done 104.9GB in 28.64s (3.7GB/s)
 10:10:17 writing index file done 216.2MB in 0.55s (391.2MB/s)
 10:10:17  create index file done 6.9M objects in 117.01s (59.2k objects/s)
 10:10:17          read pack done 2.7GB in 117.77s (22.6MB/s)
 10:10:20           checkout done 172.6k files in 3.00s (57.6k files/s)
 10:10:20            writing done 565.8MB in 3.00s (188.8MB/s)
...
        2m1.93s real            4m3.59s user            17.02s sys
 
Thank you guys, everything went smooth 👍

This is the result, since last portmaster -a -x FreeBSD run:

Code:
===>>> The following actions were performed:
        Upgrade of pkgconf-2.4.3,1 to pkgconf-2.4.3_1,1
        Upgrade of portmaster-3.33 to portmaster-3.34
        Upgrade of javavmwrapper-2.7.10_1 to javavmwrapper-2.7.10_2
        Upgrade of nspr-4.38.2 to nspr-4.39
        Upgrade of apache24-2.4.67 to apache24-2.4.67_1
        Upgrade of lcms2-2.19 to lcms2-2.19.1
        Upgrade of libgpg-error-1.60 to libgpg-error-1.61
        Upgrade of bash-completion-2.17.0_1,2 to bash-completion-2.17.0_2,2

root@srv07:/usr/ports #
 
Back
Top