Обсуждение: Unable to browse blobs on gitweb

Поиск
Список
Период
Сортировка

Unable to browse blobs on gitweb

От
Chris Bandy
Дата:
Hello!

I like to link to the Postgres source code and comments in my extension code comments. I use https://git.postgresql.org/gitweb for that, as it seems to be the canonical site for Postgres source code.

Lately, I have encountered HTTP 429 errors when trying to access blobs. For example,

curl -I 'https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=HISTORY'
HTTP/2 429
date: Wed, 13 Aug 2025 04:29:33 GMT
server: Varnish
x-varnish: 1288456
retry-after: 300
content-length: 0

Is this intentional? If so, is there a better domain or site to (roughly) permalink to specific lines of released Postgres code?

Thanks!

-- Chris

Re: Unable to browse blobs on gitweb

От
Tom Lane
Дата:
Chris Bandy <bandy.chris@gmail.com> writes:
> I like to link to the Postgres source code and comments in my extension
> code comments. I use https://git.postgresql.org/gitweb for that, as it
> seems to be the canonical site for Postgres source code.

It is ... but ...

> Lately, I have encountered HTTP 429 errors when trying to access blobs. For
> example,

We had to shut down a lot of that stuff thanks to web-scrapers eating
infinite amounts of bandwidth.  (The AI bot companies will be first
against the wall when the revolution comes ... but I digress.)
You might try linking to the github mirror at
https://github.com/postgres/postgres.
So far they seem able to resist the onslaught of uncivilized jerks.

            regards, tom lane



Re: Unable to browse blobs on gitweb

От
Adrian Klaver
Дата:
On 8/12/25 21:52, Tom Lane wrote:
> Chris Bandy <bandy.chris@gmail.com> writes:
>> I like to link to the Postgres source code and comments in my extension
>> code comments. I use https://git.postgresql.org/gitweb for that, as it
>> seems to be the canonical site for Postgres source code.
> 
> It is ... but ...
> 
>> Lately, I have encountered HTTP 429 errors when trying to access blobs. For
>> example,
> 
> We had to shut down a lot of that stuff thanks to web-scrapers eating
> infinite amounts of bandwidth.  (The AI bot companies will be first
> against the wall when the revolution comes ... but I digress.)
> You might try linking to the github mirror at
> https://github.com/postgres/postgres.
> So far they seem able to resist the onslaught of uncivilized jerks.

My guess, because they are owned by one of them.

> 
>             regards, tom lane
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com