Skip to content

Commit bd16bc9

Browse files
author
Release Manager
committed
sagemathgh-41077: Cleanup gitignore file Now that we use meson with a full out-of-tree build, we no longer need to gitignore generated files in the src folder. In fact, it's strongly recommended that those older files should be deleted so that they don't get accidentally picked-up by Python at runtime. <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41077 Reported by: Tobias Diez Reviewer(s): Dima Pasechnik, Tobias Diez
2 parents 45e206c + 38d96eb commit bd16bc9

File tree

1 file changed

+6
-80
lines changed

1 file changed

+6
-80
lines changed

.gitignore

Lines changed: 6 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,9 @@
2525
/m4/sage_spkg_configures.m4
2626
/m4/sage_spkg_versions*.m4
2727

28-
# no longer generated, but may still be in user worktrees
29-
/src/lib/pkgconfig
30-
3128
# Conda environment files (auto-generated)
3229
/environment-3.[0-9].yml
3330
/environment-3.[0-9][0-9].yml
34-
# The following files are no longer generated but may still be in users' directories
35-
/environment.yml
36-
/environment-dev-3.9.yml
37-
/environment-dev-3.10.yml
38-
/environment-dev-3.11.yml
39-
/environment-optional.yml
40-
/environment-optional-3.9.yml
41-
/environment-optional-3.10.yml
42-
/environment-optional-3.11.yml
43-
/src/environment.yml
44-
/src/environment-3.9.yml
45-
/src/environment-3.10.yml
46-
/src/environment-3.11.yml
47-
/src/environment-dev.yml
48-
/src/environment-dev-3.9.yml
49-
/src/environment-dev-3.10.yml
50-
/src/environment-dev-3.11.yml
51-
/src/environment-optional.yml
52-
/src/environment-optional-3.9.yml
53-
/src/environment-optional-3.10.yml
54-
/src/environment-optional-3.11.yml
55-
5631

5732
# Various editors
5833
*~
@@ -140,45 +115,6 @@ __pycache__/
140115
**/*.py[cod]
141116
*$py.class
142117

143-
# Generated by sage_setup.autogen
144-
/src/sage/ext/interpreters
145-
!/src/sage/ext/interpreters/meson.build
146-
!/src/sage/ext/interpreters/README
147-
148-
# Generated Cython files
149-
*.so
150-
**/*.so
151-
**/*.so.old
152-
/src/cython_debug
153-
# Most C and C++ files are generated by Cython and should not
154-
# be included in the sdist.
155-
/src/sage/**/*.c
156-
/src/sage/**/*.cpp
157-
# C header generated by Cython
158-
/src/sage/modular/arithgroup/farey_symbol.h
159-
# List of C and C++ files that are actual source files,
160-
# NOT generated by Cython
161-
!/src/sage/graphs/base/boost_interface.cpp
162-
!/src/sage/graphs/cliquer/cl.c
163-
!/src/sage/graphs/graph_decompositions/sage_tdlib.cpp
164-
!/src/sage/libs/eclib/wrap.cpp
165-
!/src/sage/libs/linkages/padics/relaxed/flint_helper.c
166-
!/src/sage/misc/inherit_comparison_impl.c
167-
!/src/sage/modular/arithgroup/farey.cpp
168-
!/src/sage/modular/arithgroup/sl2z.cpp
169-
!/src/sage/rings/bernmm/bern_modp.cpp
170-
!/src/sage/rings/bernmm/bern_modp_util.cpp
171-
!/src/sage/rings/bernmm/bern_rat.cpp
172-
!/src/sage/rings/bernmm/bernmm-test.cpp
173-
!/src/sage/rings/padics/transcendental.c
174-
!/src/sage/rings/polynomial/weil/power_sums.c
175-
!/src/sage/schemes/hyperelliptic_curves/hypellfrob/hypellfrob.cpp
176-
!/src/sage/schemes/hyperelliptic_curves/hypellfrob/recurrences_ntl.cpp
177-
!/src/sage/stats/distributions/dgs_bern.c
178-
!/src/sage/stats/distributions/dgs_gauss_dp.c
179-
!/src/sage/stats/distributions/dgs_gauss_mp.c
180-
!/src/sage/symbolic/ginac/*.cpp
181-
182118
# Temporary build files
183119
build/temp.*/
184120
build/bin/sage-build-env-config
@@ -244,16 +180,6 @@ build/pkgs/wheel/version_requirements.txt
244180
/build/pkgs/*/src/*.egg-info
245181
/build/pkgs/*/src/.tox
246182

247-
# Generated by docbuild
248-
/src/doc/en/reference/*/sage
249-
/src/doc/en/reference/*/sage_docbuild
250-
/src/doc/en/reference/sage
251-
/src/doc/en/reference/spkg/*.rst
252-
!/src/doc/en/reference/spkg/index.rst
253-
/src/doc/output
254-
/src/doc/en/installation/*.txt
255-
/src/doc/en/reference/repl/*.txt
256-
257183
# Distribution / packaging
258184
src/*.egg-info/
259185
/src/.cython_version
@@ -288,12 +214,6 @@ src/.coverage/
288214
worktree*
289215
**/worktree*
290216

291-
# Meson build directory
292-
builddir
293-
builddir-*
294-
build-install
295-
build/cp*
296-
297217
# Meson subprojects
298218
/subprojects/*
299219
!/subprojects/*.wrap
@@ -313,6 +233,7 @@ src/sage/dynamics/cellular_automata/__init__.py
313233
src/sage/dynamics/arithmetic_dynamics/__init__.py
314234
src/sage/dynamics/__init__.py
315235
src/sage/dynamics/complex_dynamics/__init__.py
236+
src/sage/ext/interpreters/__init__.py
316237
src/sage/knots/__init__.py
317238
src/sage/topology/__init__.py
318239
src/sage/functions/__init__.py
@@ -470,3 +391,8 @@ src/sage/calculus/__init__.py
470391
# ci-meson.yml runs a `./tools/test-git-no-uncommitted-changes` step)
471392
/.ccache
472393
/setup-miniconda-patched-environment-*.yml
394+
395+
# bootstrap-time generated docs
396+
/src/doc/en/installation/*.txt
397+
/src/doc/en/reference/spkg/*.rst
398+
!/src/doc/en/reference/spkg/index.rst

0 commit comments

Comments
 (0)