Colleagues, from the explanations, I realized that portsnap(8) will no longer work and I need to switch to git.
I already had git, so I installed gitup and removed the /usr/ports hierarchy as recommended.
Then it turned out that the default gitup.conf file was somehow wrong and I found another one.
After that, using the
Then, with the
As they say in the novels, "nothing foreshadowed trouble". All I had to do was say
But of course not! This is what the git said in reverse translation into English:
Where have I not paid respect to this crocodile? What is he not happy with?
Maybe there is some kind of instruction or FAQ?
Ogogon.
I already had git, so I installed gitup and removed the /usr/ports hierarchy as recommended.
Then it turned out that the default gitup.conf file was somehow wrong and I found another one.
Code:
{
"defaults" : {
"host" : "git.freebsd.org",
"port" : 443,
"verbosity" : 1,
"work_directory" : "/var/db/gitup",
},
"ports" : {
"host" : "git.freebsd.org",
"repository" : "/ports.git",
"branch" : "main",
"target" : "/usr/ports",
"ignores" : [
"distfiles",
"packages",
],
},
"quarterly" : {
"repository_path" : "/ports.git",
"branch" : "quarterly",
"target_directory" : "/usr/ports",
"ignores" : [
"distfiles",
"packages",
]
},
"release" : {
"repository_path" : "/src.git",
"branch" : "releng/11.4",
"target_directory" : "/usr/src",
"ignores" : [
"sys/amd64/conf",
]
},
}
gitup ports
command, I got the /usr/ports hierarchy without any problems.Then, with the
cd /usr/ports/ && make index
command, I built the index.As they say in the novels, "nothing foreshadowed trouble". All I had to do was say
git pull
and see how git brings in the last changes that have taken place over a long enough time when to build the index.But of course not! This is what the git said in reverse translation into English:
Code:
ogogon@ot:/usr/ports# git pull
fatal: git repository not found (or one of its directories up to /usr mount point)
I stop searching at the file system boundary (since GIT_DISCOVERY_ACROSS_FILESYSTEM is not installed).
ogogon@ot:/usr/ports#
Where have I not paid respect to this crocodile? What is he not happy with?
Maybe there is some kind of instruction or FAQ?
Ogogon.