-
Notifications
You must be signed in to change notification settings - Fork 397
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
[common-utils] - append shell history functionality - #1026 #1157
base: main
Are you sure you want to change the base?
[common-utils] - append shell history functionality - #1026 #1157
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions:
- Wouldn't adding more functionality to common-utils here go against this discussion? Consider splitting up the
common
feature #67 - Why not use lifecycle-scripts? See Use Lifecycle Scripts stuartleeks/dev-container-features#16
…_common-utils_integration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why add this functionality to common-utils instead of relying on another Feature?
Wouldn't common-utils be too heavy a dependency for users who only want to use history?
And I am also convinced that the lifecycle script approach is far superior when implementing such a functionality.
Please check stuartleeks/dev-container-features#16
I agree, I'm also not sure if adding a
This seems to require password-less |
Isn't that irrelevant whether or not lifecycle scripts are used? We don't know the permissions of a mounted volume until it is mounted, do we? |
…_common-utils_integration
Hi @chrmarti , Further changes done to implement a new test case for bash history retention logic. Would you kindly review the changes & provide comments on the same. With Regards, |
One issue with the change is that it unconditionally adds mount points independent of whether preserving the shell history is enabled or not. Given that the
I suggest we put this on hold for now. |
Ref: #1026
Feature
Description
common-utils
feature as a configurable optionchangelog
devcontainer-feature.json
file, added boolean optionallowShellHistory
and mounts as a configurable optionmain.sh
incommon-utils
features srcscenarios
to test this new featureallow_shell_history.sh
fileChecklist