-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify code by using "gh api" instead of curl to fetch file lists
Also: - Rename DSRA_REPOSITORY to DSRA_REPO - Rename DSRA_BRANCH to DSRA_REPO_REF - Create the PSRA_REPO and PSRA_REPO_REF too - Replace ?ref=${DSRA_REPO_REF} with ${DSRA_REPO_REF:+?ref=$DSRA_REPO_REF} (Bash’s Parameter Expansion “Use Alternatve Value”) so that ?ref= is printed only when $DSRA_REPO_REF is not empty. - Replace "mapfile" with its synomym "readarray" to make it easier for me to understand. - Use Bash’s Parameter Expansion “Assign Default Values” to simplify code near the beginning of python/add_data.sh - Adjust sample.env accordingly
- Loading branch information
1 parent
98f6394
commit 9942217
Showing
2 changed files
with
62 additions
and
56 deletions.
There are no files selected for viewing
This file contains 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 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