Skip to content

Conversation

@pgj
Copy link
Contributor

@pgj pgj commented Nov 17, 2023

This is a technical PR to trigger Jenkins to see if #4835 works as expected for regular PRs. The original does not work for this purpose as the corresponding branch is not on apache/couchdb.

@pgj pgj force-pushed the build-with-clouseau branch 2 times, most recently from 6d7952d to b35f271 Compare November 17, 2023 21:15
pgj added 2 commits November 18, 2023 00:37
Provide a way to the developers to deploy and launch the Clouseau
search module more easily, therefore making it more accessible.
This can help with running the Search-based Elixir tests as well as
the Mango `text` search tests.  This could allow us to catch more
bugs ahead of time and might even inspire more improvements in the
area.

The extension is designed in a way to make it simple to integrate
with the CI — only the Java environment of the proper version needs
to be deployed, everything else could be managed from this
repository.  Such as bumping the version of Clouseau or fine-tuning
the configuration parameters.

This is an opt-in feature on two levels.  First, one has to tell
`./configure --enable-clouseau` to instantiate Clouseau locally.
This will create the `clouseau` sub-directory that holds the
contents of the Clouseau distribution of the specified version,
which currently defaults to 2.22.0 (the latest).  If an older
version is needed, use the `--clouseau-version` flag.

Then the `mango-test` and `elixir-search` targets will try to use
Clouseau automatically just to make it easy to use in the old way.
However, the `dev/run` script will not do the same.  It requires
the `--with-clouseau` flag to be passed for that.  That is because
the developer may not necessarily want to launch Clouseau ad hoc,
even if it is available.

With this, note that `elixir-search` is added to the `check` target.
In lack of a configured Clouseau instance, it will become a no-op
and a warning is emitted.
@pgj pgj force-pushed the build-with-clouseau branch from b35f271 to 40fbfbe Compare November 18, 2023 00:06
@pgj
Copy link
Contributor Author

pgj commented Nov 18, 2023

This is not needed any more.

@pgj pgj closed this Nov 18, 2023
@pgj pgj deleted the build-with-clouseau branch November 18, 2023 10:49
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