Skip to content

Commit 196d10b

Browse files
committed
Merge branch 'develop' into feat/ellipj
2 parents eb9e58f + 0160d55 commit 196d10b

File tree

5,812 files changed

+511376
-64957
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,812 files changed

+511376
-64957
lines changed

.github/workflows/generate_pr_commit_message.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
# Generate commit message:
6666
- name: 'Generate commit message'
6767
id: commit_message
68+
shell: bash {0} # Omit -e to avoid triggering a failure if the script returns a non-zero exit code
6869
run: |
6970
COMMIT_MESSAGE=$($GITHUB_WORKSPACE/.github/workflows/scripts/generate_pr_commit_message $PR_NUMBER)
7071
EXIT_CODE=$?

.github/workflows/markdown_equations.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,16 @@ jobs:
118118
run: |
119119
make markdown-svg-equations-files FILES="${{ steps.changed.outputs.files }}"
120120
121-
if [[ -z "$(git status --porcelain)" ]]; then
122-
# If no files were changed, exit with a success status code:
121+
# Stage *all* tracked and untracked changes first...
122+
git add -A
123+
124+
if git diff --cached --quiet; then
123125
echo "changed=false" >> $GITHUB_OUTPUT
126+
127+
# Exit with a success status code:
124128
exit 0
125129
else
126-
# Otherwise, add changed files to the staging area and commit:
127-
git add -A && git commit -m "docs: update Markdown equation SVGs"
130+
git commit -m "docs: update Markdown equation SVGs"
128131
echo "changed=true" >> $GITHUB_OUTPUT
129132
fi
130133
timeout-minutes: 15
@@ -136,13 +139,16 @@ jobs:
136139
make markdown-img-equations-files FILES="${{ steps.changed.outputs.files }}"
137140
make markdown-img-equations-src-urls-files FILES="${{ steps.changed.outputs.files }}"
138141
139-
if [[ -z "$(git status --porcelain)" ]]; then
140-
# If no files were changed, exit with a success status code:
142+
# Stage *all* tracked and untracked changes first...
143+
git add -A
144+
145+
if git diff --cached --quiet; then
141146
echo "changed=false" >> $GITHUB_OUTPUT
147+
148+
# Exit with a success status code:
142149
exit 0
143150
else
144-
# Otherwise, add changed files to the staging area and commit:
145-
git add -A && git commit -m "docs: update Markdown equation elements"
151+
git commit -m "docs: update Markdown equation elements"
146152
echo "changed=true" >> $GITHUB_OUTPUT
147153
fi
148154
timeout-minutes: 15

.github/workflows/markdown_pkg_urls.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,16 @@ jobs:
124124
run: |
125125
make markdown-pkg-urls MARKDOWN_FILTER='.*/lib/node_modules/@stdlib/.*'
126126
127-
if [[ -z "$(git status --porcelain)" ]]; then
128-
# If no files were changed, exit with a success status code:
127+
# Stage *all* tracked and untracked changes first...
128+
git add -A
129+
130+
if git diff --cached --quiet; then
129131
echo "changed=false" >> $GITHUB_OUTPUT
132+
133+
# Exit with a success status code:
130134
exit 0
131135
else
132-
# Otherwise, add changed files to the staging area and commit:
133-
git add -A && git commit -m "docs: update package URLs"
136+
git commit -m "docs: update package URLs"
134137
echo "changed=true" >> $GITHUB_OUTPUT
135138
fi
136139
timeout-minutes: 10

.github/workflows/markdown_related_packages.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,17 @@ jobs:
135135
make markdown-related-files FILES="${files}"
136136
make markdown-pkg-urls-files FILES="${files}"
137137
138-
if [[ -z "$(git status --porcelain)" ]]; then
139-
# If no files were changed, exit with a success status code:
138+
# Stage *all* tracked and untracked changes first...
139+
git add -A
140+
141+
# If the index is identical to HEAD, nothing really changed:
142+
if git diff --cached --quiet; then
140143
echo "changed=false" >> $GITHUB_OUTPUT
144+
145+
# Exit with a success status code:
141146
exit 0
142147
else
143-
# Otherwise, add changed files to the staging area and commit:
144-
git add -A && git commit -m "docs: update related packages sections"
148+
git commit -m "docs: update related packages sections"
145149
echo "changed=true" >> $GITHUB_OUTPUT
146150
fi
147151
timeout-minutes: 10

.github/workflows/ossf_scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
- name: "Run analysis"
7171
# Pin action to full length commit SHA
72-
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
72+
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
7373
with:
7474
results_file: results.sarif
7575
results_format: sarif

.github/workflows/scripts/run_tests_coverage

100644100755
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,10 @@ compare_cov() {
144144
main() {
145145
start_heartbeat "${heartbeat_interval}"
146146

147-
# Only keep files which reside in package directories:
148-
changed=$(echo "${changed}" | tr ' ' '\n' | grep '^lib/node_modules/@stdlib') || true
147+
# Only keep files which reside in package directories, but exclude _tools:
148+
changed=$(echo "${changed}" | tr ' ' '\n' | \
149+
grep '^lib/node_modules/@stdlib' | \
150+
grep -v '^lib/node_modules/@stdlib/_tools') || true
149151

150152
# Find unique package directories:
151153
directories=$(echo "${changed}" | tr ' ' '\n' | sed -E 's/\/(benchmark|bin|data|docs|etc|examples|include|lib|scripts|src|test)(\/.*)?\/?$//' | uniq)

.github/workflows/update_contributors.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,15 @@ jobs:
7878
run: |
7979
make update-contributors
8080
81-
if [[ -z "$(git status --porcelain)" ]]; then
81+
# Stage *all* tracked and untracked changes first...
82+
git add -A
83+
84+
# If the index is identical to HEAD, nothing real changed:
85+
if git diff --cached --quiet; then
8286
echo "No changes to commit."
8387
echo "changed=false" >> $GITHUB_OUTPUT
8488
else
89+
echo "Changes detected."
8590
echo "changed=true" >> $GITHUB_OUTPUT
8691
fi
8792
@@ -129,6 +134,7 @@ jobs:
129134

130135
# Create a pull request summary:
131136
- name: 'Create summary'
137+
if: steps.update-contributors.outputs.changed == 'true'
132138
run: |
133139
echo "# :tada: Pull Request created! :tada:" >> $GITHUB_STEP_SUMMARY
134140
echo "" >> $GITHUB_STEP_SUMMARY

CONTRIBUTORS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ AlyAbdelmoneim <[email protected]>
2222
Aman Bhansali <[email protected]>
2323
AmanBhadkariya <[email protected]>
2424
Amit Jimiwal <[email protected]>
25+
Annamalai Prabu <[email protected]>
2526
Anshu Kumar <[email protected]>
2627
Anshu Kumar <[email protected]>
2728
Anudeep Sanapala <[email protected]>
@@ -38,6 +39,7 @@ Daniel Killenberger <[email protected]>
3839
Daniel Yu <[email protected]>
3940
Debashis Maharana <[email protected]>
4041
Deep Trivedi <[email protected]>
42+
Deepak Singh <[email protected]>
4143
Desh Deepak Kant <[email protected]>
4244
4345
Dhanyabad behera <[email protected]>
@@ -53,6 +55,7 @@ Frank Kovacs <[email protected]>
5355
GK Bishnoi <[email protected]>
5456
GURU PRASAD SHARMA <[email protected]>
5557
58+
Gautam Kaushik <[email protected]>
5659
Gautam sharma <[email protected]>
5760
Girish Garg <[email protected]>
5861
Golden Kumar <[email protected]>
@@ -80,6 +83,7 @@ Joris Labie <[email protected]>
8083
Justin Dennison <[email protected]>
8184
Justyn Shelby <[email protected]>
8285
Karan Anand <[email protected]>
86+
Karan Vasudevamurthy <[email protected]>
8387
Karan Yadav <[email protected]>
8488
Karthik Prakash <[email protected]>
8589
Kaushikgtm <[email protected]>
@@ -117,6 +121,7 @@ Ognjen Jevremović <[email protected]>
117121
Oneday12323 <[email protected]>
118122
Ori Miles <[email protected]>
119123
Philipp Burckhardt <[email protected]>
124+
Pierre Forstmann <[email protected]>
120125
Prajjwal Bajpai <[email protected]>
121126
Prajwal Kulkarni <[email protected]>
122127
Pranav Goswami <[email protected]>
@@ -146,6 +151,7 @@ Ryan Seal <[email protected]>
146151
Rylan Yang <[email protected]>
147152
SAHIL KUMAR <[email protected]>
148153
SHIVAM YADAV <[email protected]>
154+
Sachin Raj <[email protected]>
149155
Sahil Goyal <[email protected]>
150156
Sai Avinash <[email protected]>
151157
Sai Srikar Dumpeti <[email protected]>
@@ -166,10 +172,14 @@ Spandan Barve <[email protected]>
166172
Stephannie Jiménez Gacha <[email protected]>
167173
Suhaib Ilahi <[email protected]>
168174
Suraj Kumar <[email protected]>
175+
Swapnil Hajare <[email protected]>
169176
Tanishq Ahuja <[email protected]>
170177
Tirtadwipa Manunggal <[email protected]>
171178
Tudor Pagu <[email protected]>
172179
Tufailahmed Bargir <[email protected]>
180+
Tushar Bhardwaj <[email protected]>
181+
Uday Kakade <[email protected]>
182+
Ujjwal Kirti <[email protected]>
173183
Utkarsh <http://[email protected]>
174184
Utkarsh Raj <[email protected]>
175185
UtkershBasnet <[email protected]>

CORE_CONTRIBUTORS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ For information about the governance of the stdlib project, see [GOVERNANCE.md][
3232
- [headlessNode][muhammad-haris-github] - **Muhammad Haris** &lt;[[email protected]][muhammad-haris-email]&gt; (he/him)
3333
- [aman-095][aman-bhansali-github] - **Aman Bhansali** &lt;[[email protected]][aman-bhansali-email]&gt; (he/him)
3434
- [aayush0325][aayush-khanna-github] - **Aayush Khanna** &lt;[[email protected]][aayush-khanna-email]&gt; (he/him)
35+
- [anandkaranubc][karan-anand-github] - **Karan Anand** &lt;[[email protected]][karan-anand-email]&gt; (he/him)
3536

3637
<details>
3738
<summary>Emeriti</summary>
@@ -72,6 +73,10 @@ For information about the governance of the stdlib project, see [GOVERNANCE.md][
7273

7374
[aayush-khanna-email]: mailto:[email protected]
7475

76+
[karan-anand-github]: https://github.com/anandkaranubc
77+
78+
[karan-anand-email]: mailto:[email protected]
79+
7580
</section>
7681

7782
<!-- /.links -->

docs/contributing/moving_packages.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ BREAKING CHANGE: remove `dmax`
262262
263263
To migrate, users should access the same symbol via the
264264
`@stdlib/stats/strided` namespace.
265+
266+
Ref: https://github.com/stdlib-js/stdlib/issues/4797
265267
```
266268

267269
### 8. Update paths using a global find-and-replace

0 commit comments

Comments
 (0)