Skip to content

Add CLI options for history file and pager#16151

Merged
kokosing merged 1 commit intotrinodb:masterfrom
nineinchnick:cli-pager-histfile
Feb 23, 2023
Merged

Add CLI options for history file and pager#16151
kokosing merged 1 commit intotrinodb:masterfrom
nineinchnick:cli-pager-histfile

Conversation

@nineinchnick
Copy link
Copy Markdown
Member

@nineinchnick nineinchnick commented Feb 17, 2023

Description

Add CLI options for pager and history file, which previously could only be set using environmental variables. Having them available as options allows setting them in the configuration file.

Extracted from #12208

Additional context and related issues

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# CLI
* Added `--pager` and `--history-file` options to match existing `TRINO_PAGER` and `TRINO_HISTORY_FILE` environmental variables and to allow setting these options in a configuration file. ({issue}`issuenumber`)

@nineinchnick
Copy link
Copy Markdown
Member Author

@kokosing this is ready to go, PTAL.

Copy link
Copy Markdown
Member

@kokosing kokosing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

% comment

@kokosing
Copy link
Copy Markdown
Member

The CI is failing. Is it related?

@nineinchnick
Copy link
Copy Markdown
Member Author

The CI is failing. Is it related?

No, the issues in web ui job should be already fixed on master, I rebased.

@kokosing
Copy link
Copy Markdown
Member

This is not user-visible or docs only and no release notes are required.

I think it is user-visible change and docs are release notes are required. @nineinchnick Please provide content.

@kokosing kokosing merged commit 5b8320b into trinodb:master Feb 23, 2023
@kokosing
Copy link
Copy Markdown
Member

Thanks, merged

@nineinchnick nineinchnick deleted the cli-pager-histfile branch February 23, 2023 13:17
@nineinchnick
Copy link
Copy Markdown
Member Author

I updated the PR description with suggested release notes.

@github-actions github-actions bot added this to the 408 milestone Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants