aboutsummaryrefslogtreecommitdiff
path: root/src/common-utils/main.sh
Commit message (Collapse)AuthorAgeFilesLines
* Commonutils: chown: cannot access '/home/vscode/.zshrc': No such file or ↵feature_common-utils_2.1.2naturedamends2023-08-261-1/+1
| | | | | | | | | | | | | directory (#662) * Update main.sh * Update devcontainer-feature.json * Test install as non root user. --------- Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* Common-utils: Fixes "No package jq available" errors for CentOS (#644)feature_common-utils_2.1.1Samruddhi Khandale2023-08-151-3/+15
| | | | | | | * add checks for "jq" * install epel-release if necessary * clean up epel-release post installation of "jq"
* Common utils: Add config to remove zsh rc files from (#614)feature_common-utils_2.1.0naturedamends2023-08-121-20/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add config to remove zsh rc files from common-utils. * Bump version and add config to install script. * Checks preventing excess writing to .zshrc. * Change devcontainer feature option name. * Coding standards. * Favour adding feature via config and default to overriding .zshrc with dev-container default template. * Update devcontainer-feature.json * Update devcontainer-feature.json * Update src/common-utils/devcontainer-feature.json Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Update src/common-utils/devcontainer-feature.json Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Testing for using devcontainer .zshrc template file. * Coding standards. * Coding standards. * Update configure_zsh_as_default_shell_no_template.sh * Grammar in configure_zsh_as_default_shell.sh * Testing accounts for marked file cache (#4) * Account for mark file in testing. * Remove some debugging and tests back * Add back tests? * Update configure_zsh_no_template.sh --------- Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* Fix: common-utils configureZshAsDefaultShell option not working on alpine ↵feature_common-utils_2.0.11Krikchai Pongtaveewould2023-08-031-0/+8
| | | | | | | | | | | | | | | linux image (#557) * alpine defaultZsh fix * common-utils: replace pam.d/chsh permission with `sufficient` * common-utils: revert match auth sufficient * common-utils: append auth string instead of replacing a whole file * fix grep 2nd param * fix: line checking condition
* Create .config directory in common-utils (#547)feature_common-utils_2.0.10Stephen A. Imhoff2023-05-101-22/+31
| | | | | | | | | | | | | | | | | * Add test case for mounted subdirectory. * Correct some trailing whitespace. * Correct variable name to better reflect status as user home path. * Add config directory creation. * Remove extra debug line. * Bump feature version. * Mount host user home directory as "subdirectory" * Correct test naming, run test in explicit bash shell.
* [common-utils] Fix nonempty .bashrc being restored (#421)Levin Winter2023-01-261-1/+1
| | | | | | | | | * [common-utils] Fix nonempty .bashrc being restored The user's dotfiles shall only be restored to their defaults if they do not exist or are empty. A missing negation caused the files to be overwritten even when they were nonempty. * [common-utils] Bump patch version after fix Go from 2.0.7 to 2.0.8 because of backwards-compatible fix.
* Fix typos in comments / *.md (#396)Samruddhi Khandale2023-01-171-1/+1
|
* CommonUtils - ensure home directory exists. (#398)Stephen A. Imhoff2023-01-131-0/+4
| | | | | | | | | * CommonUtils - ensure home directory exists. * Only create non-root home directory Root directory will always exist. * Bump version
* Common-utils: Fix build failures for alpine 3.14 & 3.15 (#393)Samruddhi Khandale2023-01-111-0/+2
| | | | | * Common-utils: Fix build failures for alpine 3.14 & 3.15 * version bump
* [common-utils] Fix permission of scripts in containers (#388)eitsupi2023-01-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * fix permission in containers * add test * bump version * more tests * update tests * Update test/common-utils/devcontainer-info/Dockerfile Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Update test/common-utils/scenarios.json Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Update scenarios.json * Update devcontainer-info.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* Install gawk RPM (#380)Mark Phippard2023-01-061-0/+1
| | | | | | | | * Install gawk RPM This script requires awk and it may not be available on a minimal distro like Mariner * Bump version number
* fix testSamruddhi Khandale2022-12-271-1/+6
|
* feat(common-utils): Support the new path of `meta.env` file and the new ↵eitsupi2022-12-271-1/+1
| | | | | | | | | field for saving source revisions (#359) * support the new path of meta.env * support the new field for the image revision * minor formatting
* Add support for mariner (#344)Mark Phippard2022-12-191-1/+1
|
* Multi-distro support for common script, refactor, fixes (#326)Chuck Lantz2022-12-161-0/+496