Console: Unify console commands with path argument#724
Merged
Conversation
Member
|
Thanks, much cleaner now. |
mergify Bot
added a commit
that referenced
this pull request
Feb 3, 2025
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.6.0 to 4.7.0. Release notes *Sourced from [actions/setup-java's releases](https://github.com/actions/setup-java/releases).* > v4.7.0 > ------ > > What's Changed > -------------- > > * Configure Dependabot settings by [`@HarithaVattikuti`](https://github.com/HarithaVattikuti) in [actions/setup-java#722](https://redirect.github.com/actions/setup-java/pull/722) > * README Update: Added a permissions section by [`@benwells`](https://github.com/benwells) in [actions/setup-java#723](https://redirect.github.com/actions/setup-java/pull/723) > * Upgrade `cache` from version 3.2.4 to 4.0.0 by [`@aparnajyothi-y`](https://github.com/aparnajyothi-y) in [actions/setup-java#724](https://redirect.github.com/actions/setup-java/pull/724) > * Upgrade `@actions/http-client` from 2.2.1 to 2.2.3 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-java#728](https://redirect.github.com/actions/setup-java/pull/728) > * Upgrade `actions/publish-immutable-action` from 0.0.3 to 0.0.4 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-java#727](https://redirect.github.com/actions/setup-java/pull/727) > * Upgrade `@types/jest` from 29.5.12 to 29.5.14 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-java#729](https://redirect.github.com/actions/setup-java/pull/729) > > New Contributors > ---------------- > > * [`@benwells`](https://github.com/benwells) made their first contribution in [actions/setup-java#723](https://redirect.github.com/actions/setup-java/pull/723) > > **Full Changelog**: <actions/setup-java@v4...v4.7.0> Commits * [`3a4f6e1`](actions/setup-java@3a4f6e1) Bump `@types/jest` from 29.5.12 to 29.5.14 ([#729](https://redirect.github.com/actions/setup-java/issues/729)) * [`25f376e`](actions/setup-java@25f376e) Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 ([#727](https://redirect.github.com/actions/setup-java/issues/727)) * [`d4e4b6b`](actions/setup-java@d4e4b6b) Bump `@actions/http-client` from 2.2.1 to 2.2.3 ([#728](https://redirect.github.com/actions/setup-java/issues/728)) * [`28b532b`](actions/setup-java@28b532b) Create dependabot.yml ([#722](https://redirect.github.com/actions/setup-java/issues/722)) * [`51ab6d2`](actions/setup-java@51ab6d2) Update cache from 3.2.4 to 4.0.0 ([#724](https://redirect.github.com/actions/setup-java/issues/724)) * [`99d3141`](actions/setup-java@99d3141) Update README.md ([#723](https://redirect.github.com/actions/setup-java/issues/723)) * See full diff in [compare view](actions/setup-java@7a6d8a8...3a4f6e1) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
tae898
pushed a commit
to humemai/arcadedb-embedded-python
that referenced
this pull request
Jun 28, 2026
* Add list command to console * Update list console command * Add lock detection and kill release of databases to console * Unify console commands with path argument
tae898
pushed a commit
to humemai/arcadedb-embedded-python
that referenced
this pull request
Jun 28, 2026
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.6.0 to 4.7.0. Release notes *Sourced from [actions/setup-java's releases](https://github.com/actions/setup-java/releases).* > v4.7.0 > ------ > > What's Changed > -------------- > > * Configure Dependabot settings by [`@HarithaVattikuti`](https://github.com/HarithaVattikuti) in [actions/setup-java#722](https://redirect.github.com/actions/setup-java/pull/722) > * README Update: Added a permissions section by [`@benwells`](https://github.com/benwells) in [actions/setup-java#723](https://redirect.github.com/actions/setup-java/pull/723) > * Upgrade `cache` from version 3.2.4 to 4.0.0 by [`@aparnajyothi-y`](https://github.com/aparnajyothi-y) in [actions/setup-java#724](https://redirect.github.com/actions/setup-java/pull/724) > * Upgrade `@actions/http-client` from 2.2.1 to 2.2.3 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-java#728](https://redirect.github.com/actions/setup-java/pull/728) > * Upgrade `actions/publish-immutable-action` from 0.0.3 to 0.0.4 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-java#727](https://redirect.github.com/actions/setup-java/pull/727) > * Upgrade `@types/jest` from 29.5.12 to 29.5.14 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-java#729](https://redirect.github.com/actions/setup-java/pull/729) > > New Contributors > ---------------- > > * [`@benwells`](https://github.com/benwells) made their first contribution in [actions/setup-java#723](https://redirect.github.com/actions/setup-java/pull/723) > > **Full Changelog**: <actions/setup-java@v4...v4.7.0> Commits * [`3a4f6e1`](actions/setup-java@3a4f6e1) Bump `@types/jest` from 29.5.12 to 29.5.14 ([ArcadeData#729](https://redirect.github.com/actions/setup-java/issues/729)) * [`25f376e`](actions/setup-java@25f376e) Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 ([ArcadeData#727](https://redirect.github.com/actions/setup-java/issues/727)) * [`d4e4b6b`](actions/setup-java@d4e4b6b) Bump `@actions/http-client` from 2.2.1 to 2.2.3 ([ArcadeData#728](https://redirect.github.com/actions/setup-java/issues/728)) * [`28b532b`](actions/setup-java@28b532b) Create dependabot.yml ([ArcadeData#722](https://redirect.github.com/actions/setup-java/issues/722)) * [`51ab6d2`](actions/setup-java@51ab6d2) Update cache from 3.2.4 to 4.0.0 ([ArcadeData#724](https://redirect.github.com/actions/setup-java/issues/724)) * [`99d3141`](actions/setup-java@99d3141) Update README.md ([ArcadeData#723](https://redirect.github.com/actions/setup-java/issues/723)) * See full diff in [compare view](actions/setup-java@7a6d8a8...3a4f6e1) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
mergify Bot
added a commit
that referenced
this pull request
Jun 29, 2026
…0 in /e2e-python [skip ci] Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version. Release notes *Sourced from [pytest-asyncio's releases](https://github.com/pytest-dev/pytest-asyncio/releases).* > pytest-asyncio v1.4.0 > --------------------- > > [1.4.0](https://github.com/pytest-dev/pytest-asyncio/tree/1.4.0) - 2026-05-26 > ============================================================================= > > Deprecated > ---------- > > * Overriding the *event\_loop\_policy* fixture is deprecated. Use the `pytest_asyncio_loop_factories` hook instead. ([#1419](https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1419)) > > Added > ----- > > * Added the `pytest_asyncio_loop_factories` hook to parametrize asyncio tests with custom event loop factories. > > The hook returns a mapping of factory names to loop factories, and `pytest.mark.asyncio(loop_factories=[...])` selects a subset of configured factories per test. When a single factory is configured, test names are unchanged. > > Synchronous `@pytest_asyncio.fixture` functions now see the correct event loop when custom loop factories are configured, even when test code disrupts the current event loop (e.g., via `asyncio.run()` or `asyncio.set_event_loop(None)`). ([#1164](https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1164)) > > Changed > ------- > > * Improved the readability of the warning message that is displayed when `asyncio_default_fixture_loop_scope` is unset ([#1298](https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1298)) > * Only import `asyncio.AbstractEventLoopPolicy` for type checking to avoid raising > a DeprecationWarning. ([#1394](https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1394)) > * Updated minimum supported pytest version to v8.4.0. ([#1397](https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1397)) > > Fixed > ----- > > * Fixed a `ResourceWarning: unclosed event loop` warning that could occur when a synchronous test called `asyncio.run()` or otherwise unset the current event loop after pytest-asyncio had run an async test or fixture. ([#724](https://redirect.github.com/pytest-dev/pytest-asyncio/issues/724)) > > Notes for Downstream Packagers > ------------------------------ > > * Added dependency on `sphinx-tabs >= 3.5` to organize documentation examples into tabs. ([#1395](https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1395)) Commits * [`6e14cd2`](pytest-dev/pytest-asyncio@6e14cd2) chore: Prepare release of v1.4.0. * [`4b900fb`](pytest-dev/pytest-asyncio@4b900fb) Build(deps): Bump codecov/codecov-action from 6.0.0 to 6.0.1 * [`ab9f632`](pytest-dev/pytest-asyncio@ab9f632) Build(deps): Bump zipp from 3.23.1 to 4.1.0 * [`a56fc77`](pytest-dev/pytest-asyncio@a56fc77) Build(deps): Bump hypothesis from 6.152.6 to 6.152.8 * [`e8bae9b`](pytest-dev/pytest-asyncio@e8bae9b) Build(deps): Bump requests from 2.34.0 to 2.34.2 * [`fc43340`](pytest-dev/pytest-asyncio@fc43340) Build(deps): Bump idna from 3.14 to 3.15 * [`762eaf5`](pytest-dev/pytest-asyncio@762eaf5) Build(deps): Bump jaraco-functools from 4.4.0 to 4.5.0 * [`b62e222`](pytest-dev/pytest-asyncio@b62e222) Build(deps): Bump click from 8.3.3 to 8.4.0 * [`9190447`](pytest-dev/pytest-asyncio@9190447) Build(deps): Bump pydantic from 2.13.3 to 2.13.4 * [`82a393c`](pytest-dev/pytest-asyncio@82a393c) ci: Remove unnecessary debug output. * Additional commits viewable in [compare view](pytest-dev/pytest-asyncio@v1.2.0...v1.4.0) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
mergify Bot
added a commit
that referenced
this pull request
Jul 5, 2026
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.5.0 to 6.5.0. Release notes *Sourced from [actions/setup-go's releases](https://github.com/actions/setup-go/releases).* > v6.5.0 > ------ > > What's Changed > -------------- > > ### Dependency update > > * Upgrade actions dependencies by [`@priyagupta108`](https://github.com/priyagupta108) with [`@Copilot`](https://github.com/Copilot) in [actions/setup-go#744](https://redirect.github.com/actions/setup-go/pull/744) > * Upgrade `@types/node` and typescript-eslint dependencies to resolve npm audit findings by [`@HarithaVattikuti`](https://github.com/HarithaVattikuti) in [actions/setup-go#755](https://redirect.github.com/actions/setup-go/pull/755) > * Upgrade `@actions/cache` to 5.1.0, log cache write denied by [`@jasongin`](https://github.com/jasongin) in [actions/setup-go#758](https://redirect.github.com/actions/setup-go/pull/758) > * Upgrade version to 6.5.0 in package.json and package-lock.json by [`@HarithaVattikuti`](https://github.com/HarithaVattikuti) in [actions/setup-go#762](https://redirect.github.com/actions/setup-go/pull/762) > > New Contributors > ---------------- > > * [`@priyagupta108`](https://github.com/priyagupta108) with [`@Copilot`](https://github.com/Copilot) made their first contribution in [actions/setup-go#744](https://redirect.github.com/actions/setup-go/pull/744) > * [`@jasongin`](https://github.com/jasongin) made their first contribution in [actions/setup-go#758](https://redirect.github.com/actions/setup-go/pull/758) > > **Full Changelog**: <actions/setup-go@v6...v6.5.0> > > v6.4.0 > ------ > > What's Changed > -------------- > > ### Enhancement > > * Add go-download-base-url input for custom Go distributions by [`@gdams`](https://github.com/gdams) in [actions/setup-go#721](https://redirect.github.com/actions/setup-go/pull/721) > > ### Dependency update > > * Upgrade minimatch from 3.1.2 to 3.1.5 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-go#727](https://redirect.github.com/actions/setup-go/pull/727) > > ### Documentation update > > * Rearrange README.md, add advanced-usage.md by [`@priyagupta108`](https://github.com/priyagupta108) in [actions/setup-go#724](https://redirect.github.com/actions/setup-go/pull/724) > * Fix Microsoft build of Go link by [`@gdams`](https://github.com/gdams) in [actions/setup-go#734](https://redirect.github.com/actions/setup-go/pull/734) > > New Contributors > ---------------- > > * [`@gdams`](https://github.com/gdams) made their first contribution in [actions/setup-go#721](https://redirect.github.com/actions/setup-go/pull/721) > > **Full Changelog**: <actions/setup-go@v6...v6.4.0> > > v6.3.0 > ------ > > What's Changed > -------------- > > * Update default Go module caching to use go.mod by [`@priyagupta108`](https://github.com/priyagupta108) in [actions/setup-go#705](https://redirect.github.com/actions/setup-go/pull/705) > * Fix golang download url to go.dev by [`@178inaba`](https://github.com/178inaba) in [actions/setup-go#469](https://redirect.github.com/actions/setup-go/pull/469) > > **Full Changelog**: <actions/setup-go@v6...v6.3.0> > > v6.2.0 > ------ > > What's Changed > -------------- > > ### Enhancements > > * Example for restore-only cache in documentation by [`@aparnajyothi-y`](https://github.com/aparnajyothi-y) in [actions/setup-go#696](https://redirect.github.com/actions/setup-go/pull/696) > * Update Node.js version in action.yml by [`@ccoVeille`](https://github.com/ccoVeille) in [actions/setup-go#691](https://redirect.github.com/actions/setup-go/pull/691) > * Documentation update of actions/checkout by [`@deining`](https://github.com/deining) in [actions/setup-go#683](https://redirect.github.com/actions/setup-go/pull/683) > > ### Dependency updates > > * Upgrade js-yaml from 3.14.1 to 3.14.2 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-go#682](https://redirect.github.com/actions/setup-go/pull/682) > * Upgrade `@actions/cache` to v5 by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/setup-go#695](https://redirect.github.com/actions/setup-go/pull/695) > * Upgrade actions/checkout from 5 to 6 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-go#686](https://redirect.github.com/actions/setup-go/pull/686) > * Upgrade qs from 6.14.0 to 6.14.1 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-go#703](https://redirect.github.com/actions/setup-go/pull/703) ... (truncated) Commits * [`924ae3a`](actions/setup-go@924ae3a) chore: bump version to 6.5.0 in package.json and package-lock.json ([#762](https://redirect.github.com/actions/setup-go/issues/762)) * [`e91cc3b`](actions/setup-go@e91cc3b) Bump `@actions/cache` to 5.1.0, log cache write denied ([#758](https://redirect.github.com/actions/setup-go/issues/758)) * [`4a2405e`](actions/setup-go@4a2405e) chore: update `@types/node` and [`@typescript-eslint`](https://github.com/typescript-eslint) dependencies to latest versi... * [`78961f6`](actions/setup-go@78961f6) chore: update [`@actions`](https://github.com/actions) dependencies and refresh license cache ([#744](https://redirect.github.com/actions/setup-go/issues/744)) * [`4a36011`](actions/setup-go@4a36011) docs: fix Microsoft build of Go link ([#734](https://redirect.github.com/actions/setup-go/issues/734)) * [`8f19afc`](actions/setup-go@8f19afc) feat: add go-download-base-url input for custom Go distributions ([#721](https://redirect.github.com/actions/setup-go/issues/721)) * [`27fdb26`](actions/setup-go@27fdb26) Bump minimatch from 3.1.2 to 3.1.5 ([#727](https://redirect.github.com/actions/setup-go/issues/727)) * [`def8c39`](actions/setup-go@def8c39) Rearrange README.md, add advanced-usage.md ([#724](https://redirect.github.com/actions/setup-go/issues/724)) * [`4b73464`](actions/setup-go@4b73464) Fix golang download url to go.dev ([#469](https://redirect.github.com/actions/setup-go/issues/469)) * [`a5f9b05`](actions/setup-go@a5f9b05) Update default Go module caching to use go.mod ([#705](https://redirect.github.com/actions/setup-go/issues/705)) * Additional commits viewable in [compare view](actions/setup-go@d35c59a...924ae3a) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
These changes mainly affect the methods:
executeConnectexecuteCreateDatabaseexecuteDropDatabaseand unify the tests for "already connected database", "empty url", and "locked database" by refactoring these tests to private methods called:
checkDatabaseIsConnectedcheckDatabaseIsLockedcheckUrlIsEmptywhere each is throwing a
ConsoleExceptionif triggered.This not only makes the code cleaner and has less duplication, but I think it uncovered a problem with testing (see changes in tests): Some tests seemed to pass because no exception is thrown but just a message was printed.
Furthermore, a helper method preprocessing the local database URL,
parseLocalUrlis added to unify handling of this string.Motivation
The commands above react differently to certain states while they should be similar if not same.
Related issues
#579
#599
Additional Notes
executeListDatabasesclosecommand as it currently disconnects and not closes a database in the sense of the endpoint.checkDatabaseIsOpenfromArcadeDBExceptiontoConsoleExceptionto match others.Checklist
mvn clean packagecommand