Conversation
|
Mentioned code path. It seems to be specific for Debian/Ubuntu. |
'PROJECT_VERSION' seems to be hardcoded in a header file. Why it appears to have 'dev' suffix? |
It might be misleading wording from me. Currently there is a dev version on the upstream. And as you can see, we have a regular version. Seems like the 'dev' suffix is set when a version is still in development, and there is no stable releases for it yet. |
which one?
which command?
Please provide specific details regarding it. |
It is basically a description of this logic, and there was a link to it somewhere above. When building package for Debian/Ubuntu, this file is fetched and then used inside |
Regarding the first link, yes, seems like we should change it. It is used when running The second one is more complicated. The short answer: because it works either way. This command belongs to the regression test suite, and as you can see from here, it is not affected. It is not the azurite-blob that is failing, but a subsequent command during documentation build (and don't get confused that they appear in the opposite order, as their blocks are actually evaluated here and here). The patch works because It matters because the regression test suite doesn't use the aforementioned It is not 'the root case', as it would be great to actually see which particular api has changed, but it doesn't seem that the api reference that the code is relied on has any changes (there are links to it in As a side note, it also seems that we ignore the azurite response most of the time. |
And almost forgot to mention, regular doc builds are not |
The az tool used to create the bucket now requires an API version greater than what Azurite supports. This may be a mistake on their part (but has not resolved after a day) or may indicate that Azurite is no longer actively supported. Either way, for now it is easiest to suppress the version check so CI builds can proceed. Other corrective action can be taken later as needed. (cherry picked from commit b52ebe1) Changes compared to the original commit: - Our branch got a cache mismatch issue. It wasn't observed on the upstream because results of the build-package test depend on the project version specified in the src/version.h. If the version has the 'dev' suffix, a special code path will be chosen, modifying the test file. It doesn't seem that we can easily change the version though, as there is other logic bound to it. Instead, just update the cache.
|
Well, rh8 build is broken again. And not as a result of our changes, as the draft branch fails too. |
|
perhaps we need to understand the reason for a failure. It might be unrelated, in this case it will be another task and PR. |
Looks like yum has moved PostgreSQL 12 to archive repo https://yum.postgresql.org/news/pg12-end-of-life/ |
New commit is added to fix it. PostgreSQL 12 is already fetched from archive repos, so get 13 from them too. Test branch also passes all tests after this change. |
The az tool used to create the bucket now requires an API version greater than what Azurite supports. This may be a mistake on their part (but has not resolved after a day) or may indicate that Azurite is no longer actively supported.
Either way, for now it is easiest to suppress the version check so CI builds can proceed. Other corrective action can be taken later as needed.
(cherry picked from commit b52ebe1)
Changes compared to the original commit:
Our branch got a cache mismatch issue. It wasn't observed on the
upstream because results of the build-package test depend on the project
version specified in the src/version.h. If the version has the
'dev' suffix, a special code path will be chosen, modifying the test file.
It doesn't seem that we can easily change the version though,
as there is other logic bound to it. Instead, just update the cache.
Use archive yum repos to get PostgreSQL 13.