-
Notifications
You must be signed in to change notification settings - Fork 564
[common-utils] - append shell history functionality - #1026 #1157
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
Open
gauravsaini04
wants to merge
39
commits into
devcontainers:main
Choose a base branch
from
gauravsaini04:features_#1026_shellhistory_in_common-utils_integration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
7cbb7de
[common-utils] - append shell history functionality - #1026
gauravsaini04 412d221
Merge branch 'devcontainers:main' into features_#1026_shellhistory_in…
gauravsaini04 3076345
[common-utils] - added working shell history preserving logic for onl…
gauravsaini04 76d048b
change to mounts formatting
gauravsaini04 192e4f0
changes as suggested
gauravsaini04 930050d
changed path of source for bind mount
gauravsaini04 6970923
changes to path yet again for source of bind mount
gauravsaini04 5c7b513
change
gauravsaini04 753ab15
point to correct source dir
gauravsaini04 d21cc08
small change to path of source file
gauravsaini04 e48c1c0
change
gauravsaini04 10747ff
check root folder
gauravsaini04 581e5eb
change
gauravsaini04 54119e3
misc
gauravsaini04 dd34103
path correction final
gauravsaini04 ba649cf
change
gauravsaini04 c1b37fa
try
gauravsaini04 c227dc8
c
gauravsaini04 1de5f38
s
gauravsaini04 50ff6d2
hi
gauravsaini04 129f6bf
fin
gauravsaini04 c7c5aa8
c
gauravsaini04 3f1e7c9
Update devcontainer-feature.json
gauravsaini04 be92e63
giving due permissions before mounts is called for file move
gauravsaini04 dec0296
few changes
gauravsaini04 261428f
change
gauravsaini04 d6ba404
Merge branch 'devcontainers:main' into features_#1026_shellhistory_in…
Kaniska244 8406068
Updated shell history changes for PR#1157
Kaniska244 f8a5099
Updated shell history test scenarios in allow_shell_history.sh file
Kaniska244 ddcf3ae
Correcting the devcontainer-feature.json file
Kaniska244 f95f1f6
Fixing allow_shell_history issue
Kaniska244 eaa03c2
few changes for check correction
gauravsaini04 6c12229
misc change
gauravsaini04 c081194
misc change
gauravsaini04 da0ae0e
misc change for docker commands to work in test case
gauravsaini04 abac4e4
misc changes
gauravsaini04 aac0274
Merge branch 'main' into features_#1026_shellhistory_in_common-utils_…
gauravsaini04 e2c56d1
Merge branch 'main' into features_#1026_shellhistory_in_common-utils_…
gauravsaini04 6297c84
Merge branch 'main' into features_#1026_shellhistory_in_common-utils_…
sireeshajonnalagadda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -e | ||
|
|
||
| # Optional: Import test library | ||
| source dev-container-features-test-lib | ||
|
|
||
| # Definition specific tests | ||
| check "default-shell-is-zsh" bash -c "getent passwd $(whoami) | awk -F: '{ print $7 }' | grep '/bin/zsh'" | ||
| # check it overrides the ~/.zshrc with default dev containers template | ||
| check "default-zshrc-is-dev-container-template" bash -c "cat ~/.zshrc | grep ZSH_THEME | grep devcontainers" | ||
| check "zsh-path-contains-local-bin" zsh -l -c "echo $PATH | grep '/home/devcontainer/.local/bin'" | ||
|
|
||
| check "Ensure .zprofile is owned by remoteUser" bash -c "stat -c '%U' /home/devcontainer/.zprofile | grep devcontainer" | ||
|
|
||
| # Report result | ||
| reportResults |
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
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.
Uh oh!
There was an error while loading. Please reload this page.