Skip to content

Commit 8790442

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into Add-C-implementations-to-base-special-math-functions
2 parents 568595e + 10b28fd commit 8790442

16,485 files changed

Lines changed: 1398039 additions & 75674 deletions

File tree

Some content is hidden

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

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "stdlib - OSS Development",
3-
"image": "mcr.microsoft.com/devcontainers/universal:2",
3+
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm",
44
"features": {
5+
"ghcr.io/devcontainers/features/python:1": {},
56
"ghcr.io/rocker-org/devcontainer-features/r-apt:0": {},
67
"ghcr.io/julialang/devcontainer-features/julia:1": {},
7-
"ghcr.io/marcozac/devcontainer-features/shellcheck:1": {},
8+
"ghcr.io/devcontainers-extra/features/shellcheck:1": {},
89
"ghcr.io/rocker-org/devcontainer-features/pandoc:1": {}
910
},
1011
"postCreateCommand": "./.devcontainer/post-create",

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ contact_links:
2121
url: https://github.com/stdlib-js/stdlib/blob/develop/FAQ.md
2222
about: Consult the FAQ in case we have already answered your question there.
2323
- name: 💬 Question
24-
url: https://gitter.im/stdlib-js/stdlib
25-
about: Got a (non-bug related) question we haven't already answered? Ask us on Gitter! 🤗
24+
url: https://stdlib.zulipchat.com
25+
about: Got a (non-bug related) question we haven't already answered? Ask us on Zulip! 🤗
2626
- name: 👏 Support Us
2727
url: https://github.com/stdlib-js/stdlib/blob/develop/docs/support_the_project.md
2828
about: Want to help support the project? 😍

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ This pull request:
1212

1313
> Does this pull request have any related issues?
1414
15-
This pull request:
15+
This pull request has the following related issues:
1616

17-
- resolves #{{TODO: add issue number}}
17+
- #{{TODO: add related issue number}}
1818

1919
## Questions
2020

@@ -34,6 +34,26 @@ No.
3434
3535
- [ ] Read, understood, and followed the [contributing guidelines][contributing].
3636

37+
### AI Assistance
38+
39+
> When authoring the changes proposed in this PR, did you use any kind of AI assistance?
40+
41+
- [ ] Yes
42+
- [ ] No
43+
44+
If you answered "yes" above, how did you use AI assistance?
45+
46+
- [ ] Code generation (e.g., when writing an implementation or fixing a bug)
47+
- [ ] Test/benchmark generation
48+
- [ ] Documentation (including examples)
49+
- [ ] Research and understanding
50+
51+
#### Disclosure
52+
53+
> If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".
54+
55+
{{TODO: add disclosure if applicable}}
56+
3757
* * *
3858

3959
@stdlib-js/reviewers

.github/workflows/check_commit_metadata.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
# Checkout the repository:
5252
- name: 'Checkout repository'
5353
# Pin action to full length commit SHA
54-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
54+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5555
with:
5656
# Ensure we have access to the scripts directory:
5757
sparse-checkout: |
@@ -72,4 +72,4 @@ jobs:
7272
COMMIT_METADATA: ${{ steps.extract-metadata.outputs.metadata }}
7373
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
7474
run: |
75-
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_commit_metadata" $PR_NUMBER $COMMIT_METADATA
75+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_commit_metadata/run" $PR_NUMBER $COMMIT_METADATA

.github/workflows/check_contributing_guidelines_acceptance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
# Checkout the repository:
7171
- name: 'Checkout repository'
7272
# Pin action to full length commit SHA
73-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
73+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7474
with:
7575
# Ensure we have access to the scripts directory:
7676
sparse-checkout: |
@@ -84,4 +84,4 @@ jobs:
8484
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
8585
PR_NUMBER: ${{ github.event.pull_request.number || inputs.pull_request_number }}
8686
run: |
87-
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_contributing_guidelines_acceptance" $PR_NUMBER
87+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_contributing_guidelines_acceptance/run" $PR_NUMBER

.github/workflows/check_duplicate_prs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
# Checkout the repository:
6363
- name: 'Checkout repository'
6464
# Pin action to full length commit SHA
65-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
65+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6666
with:
6767
# Ensure we have access to the scripts directory:
6868
sparse-checkout: |
@@ -76,5 +76,5 @@ jobs:
7676
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
7777
DEBUG: ${{ inputs.debug || 'false' }}
7878
run: |
79-
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_duplicate_prs"
79+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_duplicate_prs/run"
8080
timeout-minutes: 15

.github/workflows/check_licenses.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
# Checkout the repository:
6060
- name: 'Checkout repository'
6161
# Pin action to full length commit SHA
62-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
62+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6363
with:
6464
# Specify whether to remove untracked files before checking out the repository:
6565
clean: false
@@ -81,7 +81,7 @@ jobs:
8181
# Install Node.js:
8282
- name: 'Install Node.js'
8383
# Pin action to full length commit SHA
84-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
84+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
8585
with:
8686
node-version: '20' # 'lts/*'
8787
timeout-minutes: 5
@@ -114,7 +114,7 @@ jobs:
114114
# Run the build task:
115115
- name: 'Run build task'
116116
run: |
117-
. "$GITHUB_WORKSPACE/.github/workflows/scripts/task_runner" "${{ env.BUILD_TASK }}" "${{ env.LOG_FILE_BUILD_TASK }}"
117+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/common/task_runner" "${{ env.BUILD_TASK }}" "${{ env.LOG_FILE_BUILD_TASK }}"
118118
timeout-minutes: 360
119119

120120
# View the log file if the previous step fails:
@@ -128,7 +128,7 @@ jobs:
128128
# Upload the log file:
129129
- name: 'Upload log file'
130130
# Pin action to full length commit SHA
131-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
131+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
132132
if: always()
133133
with:
134134
# Define a name for the uploaded artifact:
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2026 The Stdlib Authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#/
18+
19+
# Workflow name:
20+
name: check_merge_conflicts_prs
21+
22+
# Workflow triggers:
23+
on:
24+
# Run the workflow daily at 5 AM UTC:
25+
schedule:
26+
- cron: '0 5 * * *'
27+
28+
# Allow the workflow to be manually run:
29+
workflow_dispatch:
30+
inputs:
31+
debug:
32+
description: 'Enable debug output'
33+
required: false
34+
default: 'false'
35+
type: choice
36+
options:
37+
- 'true'
38+
- 'false'
39+
40+
# Global permissions:
41+
permissions:
42+
# Allow read-only access to the repository contents:
43+
contents: read
44+
45+
# Workflow jobs:
46+
jobs:
47+
48+
# Define a job for checking PRs with merge conflicts:
49+
check_merge_conflicts:
50+
51+
# Define a display name:
52+
name: 'Check for PRs with Merge Conflicts'
53+
54+
# Ensure the job does not run on forks:
55+
if: github.repository == 'stdlib-js/stdlib'
56+
57+
# Define the type of virtual host machine:
58+
runs-on: ubuntu-latest
59+
60+
# Define the sequence of job steps...
61+
steps:
62+
# Checkout the repository:
63+
- name: 'Checkout repository'
64+
# Pin action to full length commit SHA
65+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
66+
with:
67+
# Ensure we have access to the scripts directory:
68+
sparse-checkout: |
69+
.github/workflows/scripts
70+
sparse-checkout-cone-mode: false
71+
timeout-minutes: 10
72+
73+
# Check for merge conflicts in PRs:
74+
- name: 'Check for merge conflicts in PRs'
75+
env:
76+
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
77+
DEBUG: ${{ inputs.debug || 'false' }}
78+
run: |
79+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_merge_conflicts_prs/run"
80+
timeout-minutes: 15

.github/workflows/check_required_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ jobs:
197197
# Create a comment on the pull request informing the user whether the pull request is missing required files:
198198
- name: 'Create a comment on the pull request informing the user whether the pull request is missing required files'
199199
# Pin action to full length commit SHA
200-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
200+
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
201201
with:
202202
# Specify the issue or pull request number:
203203
issue-number: ${{ inputs.pull_request_number }}

.github/workflows/check_tracking_issue_closure.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
# Checkout the repository:
5858
- name: 'Checkout repository'
5959
# Pin action to full length commit SHA
60-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
60+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6161
with:
6262
# Ensure we have access to the scripts directory:
6363
sparse-checkout: |
@@ -67,7 +67,7 @@ jobs:
6767
# Run the script to check PRs for tracking issue closure:
6868
- name: 'Check PRs for tracking issue closure'
6969
run: |
70-
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_tracking_issue_closure" 1
70+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_tracking_issue_closure/run" 1
7171
env:
7272
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
7373
DEBUG: ${{ inputs.debug || 'false' }}

0 commit comments

Comments
 (0)