-
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into disjointset_optimize
- Loading branch information
Showing
3,663 changed files
with
11,469 additions
and
10,520 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This action automatically labels Pull-Requests | ||
# based on files edited and no of lines changed. | ||
name: Size Labeler/Checker | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- ready_for_review | ||
- review_requested | ||
- edited | ||
jobs: | ||
label-changes: | ||
if: vars.SMALL_THRESHOLD && vars.MODERATE_THRESHOLD && vars.LARGE_THRESHOLD && github.event.pull_request.draft == false | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Add labels based on size | ||
run: | | ||
git fetch origin $BASE_SHA | ||
chmod a+x .github/workflows/set_labels_by_changes.sh | ||
.github/workflows/set_labels_by_changes.sh | ||
env: | ||
BASE_SHA: ${{ github.base_ref }} | ||
PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} | ||
PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
REPOSITORY: ${{ github.repository }} | ||
PR_NUMBER: ${{ github.event.pull_request.number}} | ||
SMALL_THRESHOLD: ${{ vars.SMALL_THRESHOLD }} | ||
MODERATE_THRESHOLD: ${{ vars.MODERATE_THRESHOLD }} | ||
LARGE_THRESHOLD: ${{ vars.LARGE_THRESHOLD }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo 'set_labels_by_changes.sh called with environment:' | ||
echo "BASE SHA: $PR_BASE_SHA" | ||
echo "HEAD SHA: $PR_HEAD_SHA" | ||
echo "SMALL THRESHOLD $SMALL_THRESHOLD" | ||
echo "MODERATE THERESHOLD: $MODERATE_THRESHOLD" | ||
echo "LARGE THRESHOLD: $LARGE_THRESHOLD" | ||
|
||
# get all the changes made and changed files | ||
CHANGES=$(git diff --ignore-all-space $PR_BASE_SHA $PR_HEAD_SHA) | ||
|
||
# ignore blank lines | ||
CHANGES=$(echo "$CHANGES" | grep -vE '^[\+\-]\s*$') | ||
|
||
# ignore non necessary lines from git diff | ||
CHANGES=$(echo "$CHANGES" | grep -E '^[+\-]' | grep -vE '^\+\+\+|^\-\-\-') | ||
|
||
# count total no of lines | ||
CHANGES=$(echo "$CHANGES" | wc -l) | ||
|
||
echo "CHANGES MADE: $CHANGES" | ||
|
||
AUTH_HEADER="Authorization: Bearer $GITHUB_TOKEN" | ||
|
||
MINIMAL="v: minimal" | ||
SMALL="v: small" | ||
MODERATE="v: moderate" | ||
LARGE="v: large" | ||
|
||
DELETE_LABELS=("$MINIMAL" "$SMALL" "$MODERATE" "$LARGE") | ||
|
||
if [ "$CHANGES" -gt "$LARGE_THRESHOLD" ]; then | ||
SIZE_LABEL="$LARGE" | ||
elif [ "$CHANGES" -gt "$MODERATE_THRESHOLD" ]; then | ||
SIZE_LABEL="$MODERATE" | ||
elif [ "$CHANGES" -gt "$SMALL_THRESHOLD" ]; then | ||
SIZE_LABEL="$SMALL" | ||
else | ||
SIZE_LABEL="$MINIMAL" | ||
fi | ||
|
||
DELETE_LABELS=("${DELETE_LABELS[@]//${SIZE_LABEL}/}") | ||
|
||
# API for adding labels on the Pull Request | ||
API_URL="https://api.github.com/repos/$REPOSITORY/issues/$PR_NUMBER/labels" | ||
|
||
echo "Adding label: ${SIZE_LABEL[@]}" | ||
for LABEL in "${SIZE_LABEL[@]}"; do | ||
curl -X POST \ | ||
-H "$AUTH_HEADER" \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
-d "{\"labels\":[\"$LABEL\"]}" \ | ||
"$API_URL" >/dev/null | ||
done | ||
|
||
echo "Deleting Labels:" | ||
|
||
for DELETE_LABEL in "${DELETE_LABELS[@]}"; do | ||
ENCODED_LABEL=$(echo "$DELETE_LABEL" | sed 's/ /%20/g') | ||
curl -X DELETE \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "$AUTH_HEADER" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
"$API_URL/$ENCODED_LABEL" >/dev/null | ||
done |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
SageMath version 10.4.beta3, Release Date: 2024-04-12 | ||
SageMath version 10.4.beta4, Release Date: 2024-04-27 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=b9d9a4bb2d949d8f6fffe63c77ff069d59ca6e8c | ||
md5=95f8a1d22f684e3f61019ae82111e639 | ||
cksum=3352815196 | ||
sha1=2d6779beb2e69f0f7bddc2edc44ad275442ffd29 | ||
md5=789344e03a6b57ba1538c0c760449720 | ||
cksum=3806733369 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4dd66116b58babf05bb8e4b30282638e2c0b82c3 | ||
0a7b2513287af1124a358c2494b8bef4668a1882 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
mpfr zlib ncurses xz | $(PYTHON) | ||
mpfr zlib ncurses | $(PYTHON) xz | ||
|
||
---------- | ||
All lines of this file are ignored except the first. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
xz | ||
| xz | ||
|
||
# xz is only needed to unpack the tarball when sage-bootstrap-python is Python < 3.3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
libpng xz | ||
libpng | xz | ||
|
||
# xz needed to unpack tarball when sage-bootstrap-python is Python < 3.3 | ||
---------- | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
tarball=onetbb-VERSION.tar.gz | ||
sha1=b991f5d882aba2182871cfe011614cc43b92aa3c | ||
md5=ba4ecedc4949f673a34b35de738a72fc | ||
cksum=211900655 | ||
sha1=740e86b703f42446ddde392b73a9db3dc0f5f4cd | ||
md5=b301151120b08a17e98dcdda6e4f6011 | ||
cksum=3287903962 | ||
upstream_url=https://github.com/oneapi-src/oneTBB/archive/refs/tags/vVERSION.tar.gz |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2021.9.0 | ||
2021.11.0 |
36 changes: 0 additions & 36 deletions
36
build/pkgs/onetbb/patches/gcc13-154cc73ca4d359621202399cc0c3c91058e56e79.patch
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
tarball=papilo-VERSION.tar.gz | ||
sha1=85d599ac9936aa1ddf687e04273b995522909de5 | ||
md5=c41f5aa615ffc9914f8ca924947aa8cb | ||
cksum=1535425476 | ||
sha1=069f64ff25cfb08c9b2a416d1d215bd5b907c877 | ||
md5=d58b7c991ac1c4a863de92a404409ca8 | ||
cksum=1552180280 | ||
upstream_url=https://github.com/scipopt/papilo/archive/refs/tags/vVERSION.tar.gz |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.1.1 | ||
2.2.0 |
26 changes: 0 additions & 26 deletions
26
build/pkgs/papilo/patches/0001-CMakeLists.txt-Do-not-require-boost-program_options-.patch
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
build/pkgs/papilo/patches/import_memory_multiprecision.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.