Re: Release 13 of the PostgreSQL BuildFarm client
От | Andrew Dunstan |
---|---|
Тема | Re: Release 13 of the PostgreSQL BuildFarm client |
Дата | |
Msg-id | 0234f0ff-221a-e6a4-39c7-137ed4edb74e@dunslane.net обсуждение исходный текст |
Ответ на | Re: Release 13 of the PostgreSQL BuildFarm client (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: Release 13 of the PostgreSQL BuildFarm client
|
Список | buildfarm-members |
On 8/3/21 8:47 AM, Andrew Dunstan wrote: > On 8/2/21 7:11 PM, Tom Lane wrote: >> Andrew Dunstan <andrew@dunslane.net> writes: >>> I have pushed Release 13 of the PostgreSQL BuildFarm client. >> FYI, this seems to have broken compatibility with ancient versions >> of git. prairiedog and gaur/pademelon are both using >> git version 1.7.9.6, and they both choked on the --prune-tags >> option. I tried removing that, as it seemed possibly unnecessary, >> but it didn't improve matters. >> >> I suppose I'm overdue to update git on these machines, but anyone >> else running dinosaur versions may want to be cautious. > > Not so much dinosaurs either. I just tried on Centos 7 which isn't that > old, and got a failure. Not just from the prune-tags but from 'git > ls-remote' not supporting symref. I will come up with a solution in a > couple of days, but for now please don't deploy unless you have a fairly > modern git. If you do deploy, be prepared to roll back. > > OK, I have come up with this fix. Essentially the code detects if the git version can run `git ls-remote --symref` and refuses to run branch name checking code if it fails. It also outputs a warning message unless the config setting skip_git_default_check has been explicitly set. In either case the owner will have to update their git installation or face a flag day event when the default branch name changes. I have tested this on Centos 7 which has a git that's plenty old enough to exhibit the problems Tom encountered. I'm planning on issuing a 12.1 release fairly soon with this patch, but as I developed it fairly quickly and through the fog of some painkillers I'd appreciate more eyes on it first :-) cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
Вложения
В списке buildfarm-members по дате отправления: