Skip to content

Commit 9773108

Browse files
author
Release Manager
committed
gh-pr-35015: Trac role to GitHub
### 📚 Description Changes the `:trac:` role to point to github instead, and changes deprecation and stopgap warnings. Changes all the resulting urls that are printed in doctests, as well as various comments in code. Does not update the developer documentation to explain how to use github. URL: #35015 Reported by: roed314 Reviewer(s): Kwankyu Lee, Matthias Köppe, roed314
2 parents fbb4127 + 12493ab commit 9773108

File tree

375 files changed

+755
-753
lines changed

Some content is hidden

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

375 files changed

+755
-753
lines changed

.devcontainer/portability-updateContent.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
# The script assumes that it is run from SAGE_ROOT.
66
#
77
# If "config.log" or "logs" are symlinks (for example, created by 'tox -e local-...',
8-
# or after https://trac.sagemath.org/ticket/33262), they might point outside of
8+
# or after https://github.com/sagemath/sage/issues/33262), they might point outside of
99
# the dev container, so remove them. Likewise for upstream.
1010
for f in config.log logs upstream; do
1111
if [ -L $f ]; then
1212
rm -f $f
1313
fi
1414
done
15-
# If possible (ensured after https://trac.sagemath.org/ticket/33262), keep the
15+
# If possible (ensured after https://github.com/sagemath/sage/issues/33262), keep the
1616
# logs in the container.
1717
if [ ! -d logs ]; then
1818
ln -s /sage/logs logs

.github/workflows/ci-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
matrix:
3939
stage: ["1", "2", "2-optional-0-o", "2-optional-p-z", "2-experimental-0-o", "2-experimental-p-z"]
4040
# python3_xcode is only accepted if enough packages are available from the system
41-
# --> to test "minimal", we would need https://trac.sagemath.org/ticket/30949
41+
# --> to test "minimal", we would need https://github.com/sagemath/sage/issues/30949
4242
tox_env: [homebrew-macos-usrlocal-minimal, homebrew-macos-usrlocal-standard, homebrew-macos-usrlocal-maximal, homebrew-macos-usrlocal-python3_xcode-standard, conda-forge-macos-minimal, conda-forge-macos-standard, conda-forge-macos-maximal]
4343
xcode_version_factor: [default]
4444
os: [ macos-11, macos-12 ]

.github/workflows/ci-wsl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
windows:
1414
runs-on: windows-latest
1515
name: Ubuntu 20.04
16-
# Following https://trac.sagemath.org/ticket/25206#comment:63
16+
# Following https://github.com/sagemath/sage/issues/25206#comment:63
1717
steps:
1818
- name: Configure git
1919
run: git config --global core.symlinks true

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ build/bin/sage-build-env-config
187187
/pkgs/sagemath-repl/requirements.txt
188188
/pkgs/sagemath-categories/MANIFEST.in
189189

190-
# same for old locations - before Trac #31577
190+
# same for old locations - before Issue #31577
191191
/build/pkgs/*/src/build
192192
/build/pkgs/*/src/dist
193193
/build/pkgs/*/src/MANIFEST

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SAGE_ROOT_LOGS = logs
3131

3232
# The --stop flag below is just a random flag to induce graceful
3333
# breakage with non-GNU versions of make.
34-
# See https://trac.sagemath.org/ticket/24617
34+
# See https://github.com/sagemath/sage/issues/24617
3535

3636
# Defer unknown targets to build/make/Makefile
3737
%::
@@ -259,8 +259,8 @@ TEST_FILES = --all
259259
TEST_FLAGS =
260260

261261
# When the documentation is installed, "optional" also includes all tests marked 'sagemath_doc_html',
262-
# see https://trac.sagemath.org/ticket/25345, https://trac.sagemath.org/ticket/26110, and
263-
# https://trac.sagemath.org/ticket/32759
262+
# see https://github.com/sagemath/sage/issues/25345, https://github.com/sagemath/sage/issues/26110, and
263+
# https://github.com/sagemath/sage/issues/32759
264264
TEST_OPTIONAL = sage,optional
265265

266266
# Keep track of the top-level *test* Makefile target for logging.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ in the Installation Guide.
329329
manager.
330330

331331
For a large [list of Sage
332-
packages](https://trac.sagemath.org/ticket/27330), Sage is able to
332+
packages](https://github.com/sagemath/sage/issues/27330), Sage is able to
333333
detect whether an installed system package is suitable for use with
334334
Sage; in that case, Sage will not build another copy from source.
335335

bootstrap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ AS_VAR_SET_IF([SAGE_ENABLE_$pkgname], [], [AS_VAR_SET([SAGE_ENABLE_$pkgname], [y
4747
done
4848
# --enable-SPKG options
4949
for pkgname in $(sage-package list :optional: :experimental: | sort); do
50-
# Trac #29629: Temporary solution for Sage 9.1: Do not provide
50+
# Issue #29629: Temporary solution for Sage 9.1: Do not provide
5151
# --enable-SPKG options for installing pip packages
5252
if [ ! -f build/pkgs/$pkgname/requirements.txt ]; then
5353
pkgtype="$(cat build/pkgs/$pkgname/type)"
54-
# Trac #29124: Do not provide --enable-_recommended and similar
54+
# Issue #29124: Do not provide --enable-_recommended and similar
5555
case "$pkgname" in
5656
_*) ;;
5757
*) spkg_configures="$spkg_configures
5858
AC_SUBST(SAGE_ENABLE_$pkgname, [if_installed])"
5959
if [ -f build/pkgs/$pkgname/spkg-install -o -f build/pkgs/$pkgname/spkg-install.in ]; then
60-
# Trac #31163: Not just an optional dummy package
60+
# Issue #31163: Not just an optional dummy package
6161
spkg_configures="$spkg_configures
6262
SAGE_SPKG_ENABLE([$pkgname], [$pkgtype], [$(grep -v ^= build/pkgs/$pkgname/SPKG.rst | head -n1 2>/dev/null || echo $pkgname)])"
6363
fi

build/bin/sage-bootstrap-python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ SAGE_ORIG_PATH=${NEW_PATH%%':'}
3030
# Also, Trac #20023 removed the vendored argparse library from sage_bootstrap,
3131
# so we test that python is new enough (>= 2.7) to run it.
3232
#
33-
# See https://trac.sagemath.org/ticket/29090
33+
# See https://github.com/sagemath/sage/issues/29090
3434

3535
# Trac #29890: Our first choice is "python", not "python3". This is to avoid
3636
# a defect of sage_bootstrap on macOS regarding SSL URLs.

build/bin/sage-build-num-threads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# 3) The number of CPU cores in the system, as determined by
1111
# multiprocessing.cpu_count()
1212
#
13-
# AUTHOR: Jeroen Demeyer (2011-12-08): Trac ticket #12016
13+
# AUTHOR: Jeroen Demeyer (2011-12-08): Github issue #12016
1414
#
1515

1616
from __future__ import print_function

build/bin/sage-dist-helpers

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
# (Linux only--no-op on other platforms.) Check shared libraries loaded by
9999
# EXECUTABLE (may be a program or another library) for a library starting
100100
# with SONAME, and if found appends SONAME to the LD_PRELOAD environment
101-
# variable. See https://trac.sagemath.org/24885.
101+
# variable. See https://github.com/sagemath/sage/issues/24885.
102102

103103
set -o allexport
104104

@@ -166,7 +166,7 @@ sdh_configure() {
166166
echo "Configuring $PKG_NAME"
167167
# Run all configure scripts with bash to work around bugs with
168168
# non-portable scripts.
169-
# See https://trac.sagemath.org/ticket/24491
169+
# See https://github.com/sagemath/sage/issues/24491
170170
if [ -z "$CONFIG_SHELL" ]; then
171171
export CONFIG_SHELL=`command -v bash`
172172
fi
@@ -290,7 +290,7 @@ sdh_pip_install() {
290290

291291
sdh_pip_editable_install() {
292292
echo "Installing $PKG_NAME (editable mode)"
293-
# Until https://trac.sagemath.org/ticket/34209 switches us to PEP 660 editable wheels
293+
# Until https://github.com/sagemath/sage/issues/34209 switches us to PEP 660 editable wheels
294294
export SETUPTOOLS_ENABLE_FEATURES=legacy-editable
295295
python3 -m pip install --verbose --no-deps --no-index --no-build-isolation --isolated --editable "$@" || \
296296
sdh_die "Error installing $PKG_NAME"

0 commit comments

Comments
 (0)