Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor last bits of old-style build scripting #882

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

theory
Copy link
Collaborator

@theory theory commented Jan 3, 2025

The exceptions are parquet_s3_fdw and postgresml, which I cannot get to build. The updated extensions are:

  • clickhouse_fdw
  • rdkit (which never built before?)

Also simplified the use of cmake in these extensions:

  • mobilitydb
  • pgrouting

And upgraded these extensions to:

  • rdkit 4.6.1
  • pgrouting 3.7.1

Next, make sure that pljava properly depends on openjdk-11-jdk.

Upgrade the build scripting in tests:

  • cli/tests/test_builders/Dockerfile.auto_explain
  • cli/tests/test_builders/Dockerfile.http
  • cli/tests/test_builders/Dockerfile.pg_stat_statements
  • cli/tests/test_pljava
  • cli/tests/test_postgresql_unit
  • cli/tests/test_postgresql_unit
  • cli/tests/test_trunk_toml_dirs/pg_cron
  • cli/tests/test_trunk_toml_dirs/postgis

The pljava test revealed that the pattern adopted in the last month to use make install rather than to mv files broke extensions configured with a directory in their control files, doubling the directory prefix. Update prepare_sharedir_file to notice when files already start with the directory prefix, but keep the old behavior of stripping out extensions for any lingering mv use cases.

Finally, update the README with the cleaner output and add some notes for running tests in Docker Desktop.

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-882.d2qgksbj4k37j8.amplifyapp.com

theory added a commit that referenced this pull request Jan 4, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Finally, make sure that pljava properly depends on `openjdk-11-jdk`.
theory added a commit that referenced this pull request Jan 6, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Finally, make sure that pljava properly depends on `openjdk-11-jdk`.
theory added a commit that referenced this pull request Jan 6, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Finally, make sure that pljava properly depends on `openjdk-11-jdk`.
theory added a commit that referenced this pull request Jan 6, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Finally, make sure that pljava properly depends on `openjdk-11-jdk`.
theory added a commit that referenced this pull request Jan 6, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Finally, make sure that pljava properly depends on `openjdk-11-jdk`.
theory added a commit that referenced this pull request Jan 6, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Finally, make sure that pljava properly depends on `openjdk-11-jdk`.
theory added a commit that referenced this pull request Jan 6, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

Finally, update the README with the cleaner output.
theory added a commit that referenced this pull request Jan 7, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

Finally, update the README with the cleaner output and add some notes
for running tests in Docker Desktop.
theory added a commit that referenced this pull request Jan 7, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

Finally, update the README with the cleaner output and add some notes
for running tests in Docker Desktop.
theory added a commit that referenced this pull request Jan 7, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

Finally, update the README with the cleaner output and add some notes
for running tests in Docker Desktop.
theory added a commit that referenced this pull request Jan 7, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

Finally, update the README with the cleaner output and add some notes
for running tests in Docker Desktop.
theory added a commit that referenced this pull request Jan 7, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

Finally, update the README with the cleaner output and add some notes
for running tests in Docker Desktop.
theory added a commit that referenced this pull request Jan 7, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

Finally, update the README with the cleaner output and add some notes
for running tests in Docker Desktop.
theory added a commit that referenced this pull request Jan 7, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

Finally, update the README with the cleaner output and add some notes
for running tests in Docker Desktop.
theory added a commit that referenced this pull request Jan 8, 2025
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

The `pljava` test revealed that the pattern adopted in  the last month
to use `make install` rather than to `mv` files broke extensions
configured with a `directory` in their control files, doubling the
directory prefix. Update `prepare_sharedir_file` to notice when files
already start with the `directory` prefix, but keep the old behavior of
stripping out `extensions` for any lingering `mv` use cases.

Finally, update the README with the cleaner output and add some notes
for running tests in Docker Desktop.
The exceptions are `parquet_s3_fdw` and `postgresml`, which I cannot get
to build. The updated extensions are:

*   clickhouse_fdw
*   rdkit (which never built before?)

Also simplified the use of `cmake` in these extensions:

*   mobilitydb
*   pgrouting

And upgraded these extensions to:

*   rdkit 4.6.1
*   pgrouting 3.7.1

Next, make sure that pljava properly depends on `openjdk-11-jdk`.

Upgrade the build scripting in tests:

*   cli/tests/test_builders/Dockerfile.auto_explain
*   cli/tests/test_builders/Dockerfile.http
*   cli/tests/test_builders/Dockerfile.pg_stat_statements
*   cli/tests/test_pljava
*   cli/tests/test_postgresql_unit
*   cli/tests/test_postgresql_unit
*   cli/tests/test_trunk_toml_dirs/pg_cron
*   cli/tests/test_trunk_toml_dirs/postgis

The `pljava` test revealed that the pattern adopted in  the last month
to use `make install` rather than to `mv` files broke extensions
configured with a `directory` in their control files, doubling the
directory prefix. Update `prepare_sharedir_file` to notice when files
already start with the `directory` prefix, but keep the old behavior of
stripping out `extensions` for any lingering `mv` use cases.

Finally, update the README with the cleaner output and add some notes
for running tests in Docker Desktop.
theory added a commit that referenced this pull request Jan 8, 2025
Also manually set the list of extensions to build. These extensions all
have `directory` configurations that need to be rebuilt to benefit from
the fix in 76a0694 (#882). Will revert in the next commit.
theory added a commit that referenced this pull request Jan 8, 2025
So as to get the directory fix committed in 76a0694 (#882).
@theory theory mentioned this pull request Jan 8, 2025
theory added a commit that referenced this pull request Jan 8, 2025
So as to get the directory fix committed in 76a0694 (#882).
theory added a commit that referenced this pull request Jan 8, 2025
So as to get the directory fix committed in 76a0694 (#882).
theory added a commit that referenced this pull request Jan 8, 2025
Also manually set the list of extensions to build. These extensions all
have `directory` configurations that need to be rebuilt to benefit from
the fix in 76a0694 (#882) and deployed in 9a9ef1b (#887). Will revert in
the next commit.
@theory theory merged commit 76a0694 into main Jan 8, 2025
30 checks passed
@theory theory deleted the final-cleanup branch January 8, 2025 16:08
theory added a commit that referenced this pull request Jan 8, 2025
So as to get the directory fix committed in 76a0694 (#882).
theory added a commit that referenced this pull request Jan 8, 2025
So as to get the directory fix committed in 76a0694 (#882).
theory added a commit that referenced this pull request Jan 8, 2025
Also upgrade trunk-test-tembo and manually set the list of extensions to
build. These extensions all have `directory` configurations that need to
be rebuilt to benefit from the fix in 76a0694 (#882) and deployed in
1d073a4 (#887). Will revert in the next commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants