Skip to content

chore: Preserve command history from make develop sessions #234

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

Merged
merged 1 commit into from
Sep 10, 2022

Conversation

ckadner
Copy link
Member

@ckadner ckadner commented Sep 8, 2022

Motivation

When using the containerized development environment (make develop) to test changes to the ModelMesh source code or running FVT tests all command history is lost from session to session -- which negatively impacts productivity.

Modifications

The ModelMesh develop container runs as root and needs the command history file mounted under the /root/ directory, not /workspace/

Result

The develop container command history is preserved from one make develop session to the next.

/cc @njhill @chinhuang007

The ModelMesh develop container runs as root and
needs the command history file mounted under the
/root/ directory, not /workspace/

Signed-off-by: Christian Kadner <[email protected]>
@ckadner ckadner added the bug Something isn't working label Sep 8, 2022
@ckadner
Copy link
Member Author

ckadner commented Sep 9, 2022

/retest

@ckadner ckadner changed the title fix: Keep cmd history from make develop fix: Preserve command history from make develop sessions Sep 9, 2022
Copy link
Contributor

@chinhuang007 chinhuang007 left a comment

Choose a reason for hiding this comment

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

/lgtm

@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: chinhuang007, ckadner
To complete the pull request process, please assign pvaneck after the PR has been reviewed.
You can assign the PR to them by writing /assign @pvaneck in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ckadner
Copy link
Member Author

ckadner commented Sep 9, 2022

Thanks @chinhuang007 for your review!

@ckadner ckadner changed the title fix: Preserve command history from make develop sessions chore: Preserve command history from make develop sessions Sep 9, 2022
@njhill
Copy link
Member

njhill commented Sep 10, 2022

Merging since lgtm bot didn't do it for some reason.

@njhill njhill merged commit f38f1e6 into kserve:main Sep 10, 2022
@ckadner
Copy link
Member Author

ckadner commented Sep 10, 2022

Merging since lgtm bot didn't do it for some reason.

Thanks @njhill -- the kserve-oss-bot was waiting for the /approve from you, Paul or Animesh

hdefazio pushed a commit to hdefazio/modelmesh-serving that referenced this pull request Jul 1, 2025
Signed-off-by: konflux-internal-p02 <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
Co-authored-by: konflux-internal-p02[bot] <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants