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

Add data_dir option to command using a client #9263

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

FirelightFlagboy
Copy link
Contributor

This was done by creating a group client_opts in clap_parser_with_shared_opts_builder macro and generating a ClientConfig using the provided value.

Other changes

  • load_client_with_config remove config_dir arg that is already present in config arg.
  • Remove the short option name for options defined by clap_parser_with_shared_opts_builder.
  • Remove start_client.

vxgmichel and others added 8 commits December 26, 2024 17:14
…d (PR #9089)

- Force a shutdown after 10 seconds
- Close the registered client connections when should_exit is registered
- Handle ClientDisconnect error while reading the request body
- Add a comment about the patching of the uvicorn server
- Add newsfragment
…g a file using the CLI command `workspace import` (#9116)

Closes #8941
* Update sign-latest-release.py

Increase `per_page` parameter from 30 to 100 in the sign-latest-release script

* Update signtool options to match the new SCILLE certificate

* Add signtool to cspell custom words
…9175)

This is a parcially cherry-pick of commit `100152ac72a262790468ceac444256ac25399c93`

Closes #9176
This was done by creating a group `client_opts` in
`clap_parser_with_shared_opts_builder` macro and generating a
`ClientConfig` using the provided value.

## Other changes

- `load_client_with_config` remove `config_dir` arg that is already
  present in `config` arg.
- Remove the short option name for options defined by
  `clap_parser_with_shared_opts_builder`.
- Remove `start_client`.
@FirelightFlagboy
Copy link
Contributor Author

TODOs

  • Add news fragment about supporting --data-dir in all commands that uses a client.
  • Add test for --data-dir for all commands that uses a client.
  • Add news fragment about the removal of short option for options defined by the macro clap_[..]_shared_opts_builder.

Base automatically changed from acknowledges/3.2.2 to master January 8, 2025 09:15
@FirelightFlagboy
Copy link
Contributor Author

This PR will first target master since it improve the base option provided in the cli to prevent forgetting updating some commands.
Then it will be backported

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.

[🚀 | Feature request]: CLI PARSEC_DATA_DIR & PARSEC_CACHE_DIR config var
2 participants