Обсуждение: Support for listing the beta versions

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

Support for listing the beta versions

От
Jonathan Abdiel Gonzalez Valdebenito
Дата:
Hello,

Sometime ago I find out about this beautiful URL https://www.postgresql.org/versions.json which turns out to be really useful to get the latest available versions of PostgreSQL for automation process(building and testing mostly) but I sadly find out that the beta versions aren't listed.

To show first how we use it first we parse and transform the content[1] into a compatible format that is useful for us (HCL), this is then updated[2] to make the build process easy and transparent for testing[3] in other projects.

Does the site provide a way to get the active beta versions or is there a plan to publish those active beta versions?

I know that most people will ask themself "why is this useful?" but testing beta versions is really useful to detect bugs and also, having that automated it's something really useful so people can focus on the bugs not on remembering to update some configuration file.

Regards!

Re: Support for listing the beta versions

От
Jonathan Abdiel Gonzalez Valdebenito
Дата:
Hello,

To complement my previous email, since people may be using the file in different ways, and probably will affect to add a new version
I propose to add an argument "beta=true" to the URL, which by default will be false, keeping the same behavior, but if is added, will also
list the beta versions on the json file, allowing backward compatibility and an easy way to include the beta versions without adding a
new file or entry in the json file.

Regards!

Re: Support for listing the beta versions

От
Magnus Hagander
Дата:


On Mon, 18 Aug 2025 at 15:16, Jonathan Abdiel Gonzalez Valdebenito <jonathan.abdiel@gmail.com> wrote:
Hello,

To complement my previous email, since people may be using the file in different ways, and probably will affect to add a new version
I propose to add an argument "beta=true" to the URL, which by default will be false, keeping the same behavior, but if is added, will also
list the beta versions on the json file, allowing backward compatibility and an easy way to include the beta versions without adding a
new file or entry in the json file.

Regards!

Hi!

Sorry for a very late feedback on this.

I think this is the way it has to be done, more or less. I was trying to think of a better way back when you sent it, and then didn't but forgot to reply :)

Now, beta isn't enough. We technically have alpha, beta and rc. Should we make it something like "?include=beta,rc" and a chance to list them? Or should we have "testing=beta" and have it basically do "if you say alpha you get all, if you say beta you get beta and rc and if you say rc you get rc"? Which would make more sense?

--

Re: Support for listing the beta versions

От
"Jonathan Gonzalez V."
Дата:
Hello!

>
> Sorry for a very late feedback on this.
Thank you for taking the time! :D


> Now, beta isn't enough. We technically have alpha, beta and rc.
> Should we make it something like "?include=beta,rc" and a chance to
> list them? Or should we have "testing=beta" and have it basically do
> "if you say alpha you get all, if you say beta you get beta and rc
> and if you say rc you get rc"? Which would make more sense?

Well, I was being a bit conservative since I didn't know if people
would like the idea, but yes, indeed! if we can have the beta alpha and
rc versions too, that will be amazing! Specially because that will
allow people to start testing early versions in their automated system.

My python it's a bit rusty but I can help testing if you need!

Regards,

--
Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>