42 lines
1001 B
Bash
Executable File
42 lines
1001 B
Bash
Executable File
#! /bin/sh
|
|
|
|
URL_BASE_PR="https://github.com/sagemath/sage/pull/"
|
|
URL_BASE_COMPARE="https://github.com/sagemath/sage/compare/9.8..."
|
|
|
|
case "$1" in
|
|
-n) DO=echo ;;
|
|
esac
|
|
|
|
# get_pr <PR number> <description> [ext]
|
|
get_pr() {
|
|
pr=$1
|
|
desc=$(echo "$2" | sed -e 's/ /_/g')
|
|
ext=${3-diff}
|
|
$DO wget "$URL_BASE_PR$pr.$ext" -O "$pr-$desc.patch"
|
|
}
|
|
|
|
get_trac() {
|
|
ticket=$1
|
|
desc=$(echo "$2" | sed -e 's/ /_/g')
|
|
commit=$3
|
|
$DO wget "$URL_BASE_COMPARE$commit.diff" -O "trac-$ticket-$desc-$commit.patch"
|
|
}
|
|
|
|
# run from patches dir
|
|
cd $(dirname "$0")
|
|
|
|
# merged in 10.0.beta0
|
|
get_trac 34851 "support singular 4.3.1.p3" 5e5737a0c
|
|
get_pr 35068 "fix tests giac 1.9.0.35" patch
|
|
|
|
# positive review
|
|
get_pr 34994 "fix tests numpy 1.24"
|
|
get_pr 34997 "fix edge case of integer_check"
|
|
get_pr 35058 "skip unstable tests klyachko"
|
|
get_pr 35094 "support gap 4.12" # includes PR 35093
|
|
|
|
# needs review
|
|
get_pr 34995 "support tachyon 0.99.2"
|
|
get_pr 34980 "avoid factoring in is_prime"
|
|
get_pr 35127 "fix very slow test stream.py"
|