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

Fix subdirectories, tabs in control file (#891) #891

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

theory
Copy link
Collaborator

@theory theory commented Jan 8, 2025

Fix a few issues working with the directory field from control files:

  • emaj failed to work because it has a tab on the directory line of its control file. Fix strip_value to account for any and all blank space on either side of the = in a field config.
  • postgresql_anonymizer failed to build because it specifies extension/anon for the directory field. Update the examination of file prefixes in prepare_sharedir_file to allow subdirectories.

@theory theory self-assigned this Jan 8, 2025
Copy link

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

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

Fix a few issues working with the `directory` field from control files:

*   `emaj` failed to work because it has a tab on the `directory` line
    of its control file. Fix `strip_value` to account for any and all
    blank space on either side of the `=` in a field config.
*   `postgresql_anonymizer` failed to build because it specifies
    `extension/anon` for the `directory` field. Update the examination
    of file prefixes in `prepare_sharedir_file` to allow subdirectories.
@theory theory force-pushed the fix-directory-more branch from 51f44cc to f68df13 Compare January 8, 2025 20:22
@theory theory merged commit f68df13 into main Jan 8, 2025
4 checks passed
@theory theory deleted the fix-directory-more branch January 8, 2025 20:38
theory added a commit that referenced this pull request Jan 8, 2025
Force the extensions workflow to build the extensions known to have
`directory` fields in their control files, so as to fix them. Upgrade
to `trunk-test-tembo:8a3bd64-pg15` to get the fixes, made in c3154c
(#888) and f68df13 (#891), and released in 8a3bd64 (#892).
theory added a commit that referenced this pull request Jan 8, 2025
Force the extensions workflow to build the extensions known to have
`directory` fields in their control files, so as to fix them. Upgrade
to `trunk-test-tembo:8a3bd64-pg15` to get the fixes, made in c3154c
(#888) and f68df13 (#891), and released in 8a3bd64 (#892).

As a result of failures revealed by fixing these issues, also teach
PL/Java where to find `libjvm.so` and the workflow to preload the `anon`
module when testing postgresql_anonymizer.
theory added a commit that referenced this pull request Jan 8, 2025
Force the extensions workflow to build the extensions known to have
`directory` fields in their control files, so as to fix them. Upgrade
to `trunk-test-tembo:8a3bd64-pg15` to get the fixes, made in c3154c
(#888) and f68df13 (#891), and released in 8a3bd64 (#892).

As a result of failures revealed by fixing these issues, also teach
PL/Java where to find `libjvm.so` and the workflow to preload the `anon`
module when testing postgresql_anonymizer.
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.

1 participant