Re: When are the git servers available to obtain the ports tree?
- In reply to: Chris : "When are the git servers available to obtain the ports tree?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 May 2022 02:54:28 UTC
On Mon, May 02, 2022 at 10:27:39AM -0700, Chris wrote: > I'm a maintainer for well over 100 ports. But more often than > not, I am not permitted to obtain the ports tree from any of > the FreeBSD git servers: > > # git clone -o freebsd --config > remote.freebsd.fetch='+refs/notes/*:refs/notes/*' > https://git.freebsd.org/ports.git PORTS-20220502 > > returns: > error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 > fatal: error reading section header 'shallow-info' > > What is the charge for obtaining a current ports tree? Can I purchase an > annual subscription? > > What else do I need to obtain the tree? > ..... FWIW, I maintain (what are referred to later in the thread as) "personal mirrors" (as I had with SVN, and CVS before that). And after having done so with git for a couple of years (? or so), I suddenly started getting some errors -- I don't recall whether they were what you report or not (I'm just back home after a couple of weeks 9 hours east of home, so my brain is less functional than ususal), but I had received a recommendation to run git maintenance run and git gc on my repos. Doing that appeared to prevent a recurrence of the issue, so I set up a cron task to do that on each repo every week. (Since the most critical time for me is the weekend, I do this in the "wee small hours" of Thursday morning -- which should allow me time to take evasive action (e.g., on Thursday or Friday) should something Go Wrong.) Looks as if I set this up back near the end of January; no issues with it so far since then. I scribbled some notes on how I do that at https://www.catwhisker.org/~david/FreeBSD/repo-sync.html -- in case that might be of interest or use. Peace, david -- David H. Wolfskill david@catwhisker.org V. Putin does not need "negotiations" to stop his own senseless war. See https://www.catwhisker.org/~david/publickey.gpg for my public key.