-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into finite-field-alg…
…ebraic-closure-copy
- Loading branch information
Showing
886 changed files
with
14,925 additions
and
13,857 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
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,23 @@ | ||
name: Trigger Changelog Generation | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
trigger-website-repo-workflow: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger Generate Changelog Workflow in website repo | ||
if: "!github.event.release.prerelease" | ||
env: | ||
GITHUB_PAT: ${{ secrets.WEBSITE_ACCESS_TOKEN }} | ||
RELEASE_TAG: ${{ github.event.release.tag_name }} | ||
run: | | ||
curl -L \ | ||
-X POST \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: Bearer $GITHUB_PAT" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
https://api.github.com/repos/sagemath/website/actions/workflows/generate_changelog.yml/dispatches \ | ||
-d '{"ref":"master","inputs":{"release_tag":"'"$RELEASE_TAG"'"}}' |
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 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 |
---|---|---|
|
@@ -154,6 +154,7 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Build documentation workflow" | ||
unzip doc.zip | ||
rm doc.zip | ||
PR_NUMBER="" | ||
if [[ "$GITHUB_REF" =~ refs/pull/([0-9]+)/merge ]]; then | ||
PR_NUMBER="${BASH_REMATCH[1]}" | ||
|
@@ -202,6 +203,10 @@ jobs: | |
if: steps.docbuild.outcome == 'success' | ||
run: | | ||
set -ex | ||
# Remove any existing html directory before copying a new one | ||
if [ -d "doc/html" ]; then | ||
rm -rf doc/html | ||
fi | ||
# Simpler "docker cp --follow-link ... doc" does not work | ||
mkdir -p doc | ||
mkdir -p temp | ||
|
@@ -217,7 +222,7 @@ jobs: | |
fi | ||
# If so, then create CHANGES.html | ||
if [[ -n "$PR_NUMBER" ]]; then | ||
(cd doc && git commit -a -m 'new') | ||
(cd doc && git add -A && git commit --quiet -m 'new') | ||
# Wipe out chronic diffs of new doc against old doc before creating CHANGES.html | ||
(cd doc && \ | ||
find . -name "*.html" | xargs sed -i -e '/This is documentation/ s/ built with GitHub PR .* for development/ for development/' \ | ||
|
@@ -229,7 +234,7 @@ jobs: | |
# Since HEAD is at commit 'wipe-out', HEAD~1 is commit 'new' (new doc), HEAD~2 is commit 'old' (old doc) | ||
(cd doc && git diff $(git rev-parse HEAD~2) -- "*.html") > diff.txt | ||
# Restore the new doc dropping changes by "wipe out" | ||
(cd doc && git checkout -q -f HEAD~1) | ||
(cd doc && git checkout --quiet -f HEAD~1) | ||
.ci/create-changes-html.sh diff.txt doc | ||
# Sometimes rm -rf .git errors out because of some diehard hidden files | ||
# So we simply move it out of the doc directory | ||
|
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,5 +1,5 @@ | ||
# Upstream packages as uploaded as GitHub release assets. | ||
# This file is automatically updated by the sage-update-version script. | ||
https://github.com/sagemath/sage/releases/download/10.6/ | ||
https://github.com/sagemath/sage/releases/download/10.5/ | ||
https://github.com/sagemath/sage/releases/download/10.4/ | ||
https://github.com/sagemath/sage/releases/download/10.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
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
Oops, something went wrong.