On Fri, 23 May 2025 10:30:43 -0700
"Dan Mahoney (Ports)" <free...@gushi.org> wrote:

> > On May 23, 2025, at 06:22, Tomoaki AOKI <junch...@dec.sakura.ne.jp> wrote:
> > 
> > On Fri, 23 May 2025 04:25:45 -0700
> > "Dan Mahoney (Ports)" <free...@gushi.org> wrote:
> > 
> >> All,
> >> 
> >> pkg has a feature, pkg updating, which basically requires you to have a 
> >> checked out ports tree.
> >> 
> >> Are there any plans to make this function possible without having a ports 
> >> tree checked out, by baking the “UPDATING” data into the repo file somehow?
> >> 
> >> -Dan
> > 
> > You can read and download via:
> > 
> >  https://cgit.freebsd.org/ports/tree/UPDATING
> 
> Right now, that url gives me a 4251-line empty file.  (For debugging, it says 
> blob: blob: 3d4a6146cc436631d07cf69b780ea05e8f3fdbb4).  I’ve tried refreshing 
> multiple times.  Maybe it’s related to the Anubis thing?  I grabbed a 
> screenshot of the top of the page just in case someone wants to contact me 
> off-list.

It is known issue when the mirror you're invited is under abnormal
heavy loads (the cluster admin I've discussed before mentioned that
it seems to be an abnormal load by AI crawlers that are nearly DDoS).

In these cases, using temporarily GitHub mirror or other mirrors like
gitlab, codeberg can be used.
They limits around 1000 entries per directory by default, insufficient
for large category like devel, but sufficient for UPDATING and/or
INDEX-*.


> Anyway, yes, I know how to find the file, but that wasn’t my point.
> 
> When dealing with postgres version issues earlier, people kept telling me 
> “this is why you should read UPDATING” and it seems that a more useful way to 
> encourage people to do that, is to make it so pkg can display it to you 
> without needing you to run external commands.  Perhaps pkg could even notice 
> (similar to how freebsd-update notices a major version change) that you’ve 
> jumped a quarterly branch and offer to display it.

I've not tried (as I've mentioned before, I'm reading it while local
`make index` is ongoing), but pkg may use manually downloaded
(into /usr/ports) UPDATING and INDEX-* for you, isn't it?

It's my "actual" point for you. You can download by displaying "plain"
version and downoad the page with the functionalities of the browser
you're using.


> -Dan


-- 
Tomoaki AOKI    <junch...@dec.sakura.ne.jp>

Reply via email to