Skip to content

Improved installation script to run in a Windows Git Bash terminal#282

Merged
nfx merged 4 commits intomainfrom
feature/issue_281_install_sh
Sep 27, 2023
Merged

Improved installation script to run in a Windows Git Bash terminal#282
nfx merged 4 commits intomainfrom
feature/issue_281_install_sh

Conversation

@larsgeorge-db
Copy link
Copy Markdown
Contributor

How is this to handle both?

Fixes #281

@larsgeorge-db larsgeorge-db requested a review from nfx as a code owner September 23, 2023 08:46
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 23, 2023

Codecov Report

Merging #282 (ccebe32) into main (d1b18a7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #282   +/-   ##
=======================================
  Coverage   83.27%   83.27%           
=======================================
  Files          30       30           
  Lines        2146     2146           
  Branches      366      366           
=======================================
  Hits         1787     1787           
  Misses        279      279           
  Partials       80       80           

install.sh Outdated
python_versions=()
for python_binary in "${python3_binaries[@]}"; do
for python_binary in "${python_binaries[@]}"; do
python_version=$("$python_binary" --version | awk '{print $2}')
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you also check for "python_version" to have the output of two words?.. in the bug report this command didn't return a version

@larsgeorge-db larsgeorge-db changed the title Encountering an error when running ./install.sh (#281) Encountering an error when running ./install.sh Sep 26, 2023
@larsgeorge-db
Copy link
Copy Markdown
Contributor Author

I have it working for when Python is available. Still need to fix the issue when the App Execution Alias is in place.

@larsgeorge-db larsgeorge-db self-assigned this Sep 27, 2023
@larsgeorge-db larsgeorge-db added the pr/do-not-merge this pull request is not ready to merge label Sep 27, 2023
@larsgeorge-db
Copy link
Copy Markdown
Contributor Author

OK, fixes the App Exec Alias issue. Should be good now. Testing on Windows and MacOS.

@larsgeorge-db
Copy link
Copy Markdown
Contributor Author

@nfx I am unclear what codecov is bickering about :(

@larsgeorge-db larsgeorge-db removed the pr/do-not-merge this pull request is not ready to merge label Sep 27, 2023
Copy link
Copy Markdown
Collaborator

@nfx nfx left a comment

Choose a reason for hiding this comment

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

lgtm. i think we're printing python2 into stderr for some reason, but it's for another time:
image

@nfx nfx added this pull request to the merge queue Sep 27, 2023
@nfx nfx removed this pull request from the merge queue due to a manual request Sep 27, 2023
@larsgeorge-db larsgeorge-db changed the title Encountering an error when running ./install.sh Improved installation script to run in a Windows Git Bash terminal Sep 27, 2023
@nfx nfx added this pull request to the merge queue Sep 27, 2023
Merged via the queue into main with commit b6fc0ab Sep 27, 2023
nfx added a commit that referenced this pull request Sep 29, 2023
# Version changelog

## 0.2.0

* Added retrieving for all account-level groups with matching names to workspace-level groups in case no explicit configuration ([#277](#277)).
* Added crawler for Azure Service principals used for direct storage access ([#305](#305)).
* Added more SQL queries to the assessment step dashboard ([#269](#269)).
* Added filtering out for job clusters in the clusters crawler ([#298](#298)).
* Added recording errors from `crawl_tables` step in `$inventory.table_failures` table and display counter on the dashboard ([#300](#300)).
* Added comprehensive introduction user manual ([#273](#273)).
* Added interactive tutorial for local group migration readme ([#291](#291)).
* Added tutorial links to the landing page of documentation ([#290](#290)).
* Added (internal) support for account-level configuration and multi-cloud workspace list ([#264](#264)).
* Improved order of tasks in the README notebook ([#286](#286)).
* Improved installation script to run in a Windows Git Bash terminal ([#282](#282)).
* Improved installation script by setting log level to uppercase by default ([#271](#271)).
* Improved installation finish messages within installer script ([#267](#267)).
* Improved automation for `MANAGED` table migration and continued building tables migration component ([#295](#295)).
* Fixed debug notebook code with refactored package structure ([#250](#250)) ([#265](#265)).
* Fixed replacement of custom configured database to replicate in the report for external locations ([#296](#296)).
* Removed redundant `notebooks` top-level folder ([#263](#263)).
* Split checking for test failures and linting errors into independent GitHub Actions checks ([#287](#287)).
* Verify query metadata for assessment dashboards during unit tests ([#294](#294)).
@nfx nfx mentioned this pull request Sep 29, 2023
nfx added a commit that referenced this pull request Sep 29, 2023
# Version changelog

## 0.2.0

* Added retrieving for all account-level groups with matching names to
workspace-level groups in case no explicit configuration
([#277](#277)).
* Added crawler for Azure Service principals used for direct storage
access ([#305](#305)).
* Added more SQL queries to the assessment step dashboard
([#269](#269)).
* Added filtering out for job clusters in the clusters crawler
([#298](#298)).
* Added recording errors from `crawl_tables` step in
`$inventory.table_failures` table and display counter on the dashboard
([#300](#300)).
* Added comprehensive introduction user manual
([#273](#273)).
* Added interactive tutorial for local group migration readme
([#291](#291)).
* Added tutorial links to the landing page of documentation
([#290](#290)).
* Added (internal) support for account-level configuration and
multi-cloud workspace list
([#264](#264)).
* Improved order of tasks in the README notebook
([#286](#286)).
* Improved installation script to run in a Windows Git Bash terminal
([#282](#282)).
* Improved installation script by setting log level to uppercase by
default ([#271](#271)).
* Improved installation finish messages within installer script
([#267](#267)).
* Improved automation for `MANAGED` table migration and continued
building tables migration component
([#295](#295)).
* Fixed debug notebook code with refactored package structure
([#250](#250))
([#265](#265)).
* Fixed replacement of custom configured database to replicate in the
report for external locations
([#296](#296)).
* Removed redundant `notebooks` top-level folder
([#263](#263)).
* Split checking for test failures and linting errors into independent
GitHub Actions checks
([#287](#287)).
* Verify query metadata for assessment dashboards during unit tests
([#294](#294)).
FastLee pushed a commit that referenced this pull request Sep 29, 2023
# Version changelog

## 0.2.0

* Added retrieving for all account-level groups with matching names to
workspace-level groups in case no explicit configuration
([#277](#277)).
* Added crawler for Azure Service principals used for direct storage
access ([#305](#305)).
* Added more SQL queries to the assessment step dashboard
([#269](#269)).
* Added filtering out for job clusters in the clusters crawler
([#298](#298)).
* Added recording errors from `crawl_tables` step in
`$inventory.table_failures` table and display counter on the dashboard
([#300](#300)).
* Added comprehensive introduction user manual
([#273](#273)).
* Added interactive tutorial for local group migration readme
([#291](#291)).
* Added tutorial links to the landing page of documentation
([#290](#290)).
* Added (internal) support for account-level configuration and
multi-cloud workspace list
([#264](#264)).
* Improved order of tasks in the README notebook
([#286](#286)).
* Improved installation script to run in a Windows Git Bash terminal
([#282](#282)).
* Improved installation script by setting log level to uppercase by
default ([#271](#271)).
* Improved installation finish messages within installer script
([#267](#267)).
* Improved automation for `MANAGED` table migration and continued
building tables migration component
([#295](#295)).
* Fixed debug notebook code with refactored package structure
([#250](#250))
([#265](#265)).
* Fixed replacement of custom configured database to replicate in the
report for external locations
([#296](#296)).
* Removed redundant `notebooks` top-level folder
([#263](#263)).
* Split checking for test failures and linting errors into independent
GitHub Actions checks
([#287](#287)).
* Verify query metadata for assessment dashboards during unit tests
([#294](#294)).
@nfx nfx deleted the feature/issue_281_install_sh branch October 2, 2023 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Encountering an error when running ./install.sh

2 participants