Skip to content

Commit f1a2ce7

Browse files
committed
tests: consolidate .gitignore into single top-level file
Merge 42 scattered .gitignore files into a single root-level file with entries sorted alphabetically within each section. Add a gitignore-lint target to tests/ci/Makefile that verifies sort order and ensures no extra .gitignore files are tracked. Include the new check_gitignore_order.py script in codespell, ruff-check, and ruff-format lint targets, and add gitignore to the GitHub Actions lint matrix. Generated with Claude Code (https://claude.ai/code) Signed-off-by: Adrian Reber <areber@redhat.com>
1 parent 89903fb commit f1a2ce7

47 files changed

Lines changed: 504 additions & 418 deletions

File tree

Some content is hidden

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

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
lint:
3030
strategy:
3131
matrix:
32-
step: [codespell, ruff-check, ruff-format, shellcheck, whitespace, shfmt, clang-format]
32+
step: [codespell, gitignore, ruff-check, ruff-format, shellcheck, whitespace, shfmt, clang-format]
3333
name: Run ${{ matrix.step }} linter
3434
runs-on: ubuntu-latest
3535
container:

.gitignore

Lines changed: 377 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,378 @@
1+
# ==========================================================
2+
# Top-level .gitignore for OpenHPC
3+
# ==========================================================
4+
5+
# ---- Global patterns ----
6+
*~
7+
.ruff_cache/
8+
.vscode/
9+
__pycache__/
10+
11+
# ---- Root-level ----
112
/.claude/
2-
misc/__pycache__/
13+
14+
# ---- Components: RPM build artifacts ----
15+
components/*/*/BUILD
16+
components/*/*/BUILDROOT
17+
components/*/*/RPMS
18+
components/*/*/SOURCES/OHPC_macros
19+
components/*/*/SRPMS
20+
21+
# ---- Components: source tarballs (admin) ----
22+
components/admin/clustershell/SOURCES/v*.tar.gz
23+
components/admin/conman/SOURCES/conman-*.tar.gz
24+
components/admin/conman/SOURCES/conman-*.tar.xz
25+
components/admin/docs/SOURCES/docs-ohpc.tar
26+
components/admin/genders/SOURCES/genders-*.tar.gz
27+
components/admin/hpc-workspace/SOURCES/*.tar.gz
28+
components/admin/lmod/SOURCES/lmod-*.tar.gz
29+
components/admin/losf/SOURCES/losf-*.tar.gz
30+
components/admin/mdtoc/SOURCES/mdtoc-*bz2
31+
components/admin/mdtoc/SOURCES/mdtoc-*gz
32+
components/admin/mrsh/SOURCES/mrsh-*.tar.gz
33+
components/admin/nhc/SOURCES/nhc-*.tar.gz
34+
components/admin/ohpc-release-rcs/RC*/SOURCES/
35+
components/admin/pdsh/SOURCES/pdsh-*.tar.gz
36+
components/admin/powerman/SOURCES/powerman-*.tar.gz
37+
components/admin/test-suite/SOURCES/tests-ohpc.tar
38+
39+
# ---- Components: source tarballs (compiler-families) ----
40+
components/compiler-families/gnu-compilers/SOURCES/gcc-*.tar.xz
41+
components/compiler-families/gnu-compilers/SOURCES/gmp-*.tar.bz2
42+
components/compiler-families/gnu-compilers/SOURCES/mpc-*.tar.gz
43+
components/compiler-families/gnu-compilers/SOURCES/mpfr-*.tar.gz
44+
components/compiler-families/llvm-compilers/SOURCES/llvm-project-*.tar.xz
45+
46+
# ---- Components: source tarballs (dev-tools) ----
47+
components/dev-tools/annobin/SOURCES/annobin-*.tar.xz
48+
components/dev-tools/autoconf/SOURCES/autoconf-*.tar.gz
49+
components/dev-tools/automake/SOURCES/automake-*.tar.gz
50+
components/dev-tools/cmake/SOURCES/cmake-*.tar.gz
51+
components/dev-tools/cuda-devel/SOURCES/cuda*repo
52+
components/dev-tools/easybuild/SOURCES/easybuild*.tar.gz
53+
components/dev-tools/hwloc/SOURCES/hwloc-*.tar.bz2
54+
components/dev-tools/libtool/SOURCES/libtool-*.tar.gz
55+
components/dev-tools/mpi4py/SOURCES/mpi4py-*.tar.gz
56+
components/dev-tools/numpy/SOURCES/numpy-*.tar.gz
57+
components/dev-tools/python/SOURCES/Python-*.tar.xz
58+
components/dev-tools/python/SOURCES/Python-*.tar.xz.asc
59+
components/dev-tools/scipy/SOURCES/scipy-*.tar.gz
60+
components/dev-tools/spack/SOURCES/v*.tar.gz
61+
components/dev-tools/valgrind/SOURCES/valgrind-*.tar.bz2
62+
63+
# ---- Components: source tarballs (distro-packages) ----
64+
components/distro-packages/confuse/SOURCES/confuse-*.tar.gz
65+
components/distro-packages/flex/SOURCES/flex-*.tar.gz
66+
components/distro-packages/ipmiutil/SOURCES/ipmiutil-*.tar.gz
67+
components/distro-packages/python-Cython/SOURCES/?ython-*.tar.gz
68+
components/distro-packages/python-setuptools/SOURCES/setuptools-*.tar.gz
69+
components/distro-packages/sigar/SOURCES/sigar-*.tar.gz
70+
71+
# ---- Components: source tarballs (fs) ----
72+
components/fs/lustre-client/SOURCES/lustre-*.tar.gz
73+
components/fs/shine/SOURCES/v*.tar.gz
74+
75+
# ---- Components: source tarballs (io-libs) ----
76+
components/io-libs/*hdf5/SOURCES/hdf5*.tar.*
77+
components/io-libs/adios2/SOURCES/*.tar.gz
78+
components/io-libs/netcdf-cxx/SOURCES/v*.tar.gz
79+
components/io-libs/netcdf-fortran/SOURCES/v*.tar.gz
80+
components/io-libs/netcdf/SOURCES/v*.tar.gz
81+
components/io-libs/pnetcdf/SOURCES/pnetcdf-*.tar.gz
82+
components/io-libs/sionlib/SOURCES/sionlib-*.tar.gz
83+
84+
# ---- Components: source tarballs (mpi-families) ----
85+
components/mpi-families/libfabric/SOURCES/libfabric-*.tar.bz2
86+
components/mpi-families/mpich/SOURCES/mpich-*.tar.gz
87+
components/mpi-families/mvapich2/SOURCES/mvapich*.tar.gz
88+
components/mpi-families/mvapich2/SOURCES/sowing*.tar.gz
89+
components/mpi-families/openmpi/SOURCES/openmpi-*.tar.bz2
90+
components/mpi-families/ucx/SOURCES/ucx-*.tar.gz
91+
92+
# ---- Components: source tarballs (parallel-libs) ----
93+
components/parallel-libs/boost/SOURCES/boost*.tar*
94+
components/parallel-libs/fftw/SOURCES/fftw-*.tar.gz
95+
components/parallel-libs/hypre/SOURCES/hypre-*.tar.gz
96+
components/parallel-libs/mfem/SOURCES/mfem-*.tar
97+
components/parallel-libs/mumps/SOURCES/MUMPS*.tar.gz
98+
components/parallel-libs/opencoarrays/SOURCES/*.tar.gz
99+
components/parallel-libs/petsc/SOURCES/petsc-*.tar.gz
100+
components/parallel-libs/ptscotch/SOURCES/scotch*.bz2
101+
components/parallel-libs/ptscotch/SOURCES/scotch*.tar.gz
102+
components/parallel-libs/scalapack/SOURCES/scalapack-*.tgz
103+
components/parallel-libs/scalapack/SOURCES/v*.tar.gz
104+
components/parallel-libs/slepc/SOURCES/slepc-*.tar.gz
105+
components/parallel-libs/superlu_dist/SOURCES/superlu_dist-*.tar
106+
components/parallel-libs/trilinos/SOURCES/trilinos-release-*.tar.gz
107+
108+
# ---- Components: source tarballs (perf-tools) ----
109+
components/perf-tools/dimemas/SOURCES/dimemas-*src.tar.bz2
110+
components/perf-tools/extrae/SOURCES/extrae-*src.tar.bz2
111+
components/perf-tools/geopm/SOURCES/*.tar.gz
112+
components/perf-tools/imb/SOURCES/IMB-v*.tar.gz
113+
components/perf-tools/likwid/SOURCES/v*.tar.gz
114+
components/perf-tools/msr-safe/SOURCES/msr-safe-*.tar.gz
115+
components/perf-tools/omb/SOURCES/osu-micro-benchmarks-*.tar.gz
116+
components/perf-tools/omb/SOURCES/osu-micro-benchmarks-*.tgz
117+
components/perf-tools/papi/SOURCES/papi-*.tar.gz
118+
components/perf-tools/paraver/SOURCES/wxparaver-*-src.tar.bz2
119+
components/perf-tools/pdtoolkit/SOURCES/pdtoolkit-*.tar.gz
120+
components/perf-tools/scalasca/SOURCES/scalasca-*.tar.gz
121+
components/perf-tools/scalasca/SPECS/wget-log
122+
components/perf-tools/scorep/SOURCES/scorep-*.tar.gz
123+
components/perf-tools/tau/SOURCES/tau-*.tar.gz
124+
125+
# ---- Components: source tarballs (provisioning) ----
126+
components/provisioning/warewulf-cluster/SOURCES/*.tar.gz
127+
components/provisioning/warewulf-common/SOURCES/*.tar.gz
128+
components/provisioning/warewulf-ipmi/SOURCES/*.tar.gz
129+
components/provisioning/warewulf-provision/SOURCES/*.tar.gz
130+
components/provisioning/warewulf-vnfs/SOURCES/*.tar.gz
131+
components/provisioning/warewulf/SOURCES/warewulf-*.tar.gz
132+
133+
# ---- Components: source tarballs (rms) ----
134+
components/rms/magpie/SOURCES/*.tar.gz
135+
components/rms/munge/SOURCES/munge-*.tar.gz
136+
components/rms/openpbs/SOURCES/v*.tar.gz
137+
components/rms/pmix/SOURCES/pmix-*.tar.bz2
138+
components/rms/slurm/SOURCES/slurm-*.tar.bz2
139+
140+
# ---- Components: source tarballs (runtimes) ----
141+
components/runtimes/charliecloud/SOURCES/charliecloud-*.tar.gz
142+
143+
# ---- Components: source tarballs (serial-libs) ----
144+
components/serial-libs/cubelib/SOURCES/cubelib*tar.gz
145+
components/serial-libs/gotcha/SOURCES/gotcha-*.tar.gz
146+
components/serial-libs/gsl/SOURCES/gsl-*.tar.gz
147+
components/serial-libs/metis/SOURCES/*.tar.gz
148+
components/serial-libs/openblas/SOURCES/*.tar.?z
149+
components/serial-libs/plasma/SOURCES/*.tar.gz
150+
components/serial-libs/plasma/SOURCES/plasma*.tar.gz
151+
components/serial-libs/R/SOURCES/R-*.tar.gz
152+
components/serial-libs/scotch/SOURCES/scotch*.bz2
153+
components/serial-libs/scotch/SOURCES/scotch*.tar.gz
154+
components/serial-libs/superlu/SOURCES/*.tar.gz
155+
156+
# ==========================================================
157+
# Tests: common build/autotools artifacts
158+
# ==========================================================
159+
tests/**/*.log
160+
tests/**/*.log.xml
161+
tests/**/*.o
162+
tests/**/*.trs
163+
tests/**/.deps/
164+
tests/**/aclocal.m4
165+
tests/**/autom4te.cache/
166+
tests/**/compile
167+
tests/**/config.guess
168+
tests/**/config.status
169+
tests/**/config.sub
170+
tests/**/configure
171+
tests/**/depcomp
172+
tests/**/family-*/
173+
tests/**/install-sh
174+
tests/**/job*out
175+
tests/**/Makefile
176+
tests/**/Makefile.in
177+
tests/**/missing
178+
tests/**/report.xml
179+
tests/**/test-driver
180+
tests/**/test-suite.log.orig
181+
tests/ci/__pycache__/
182+
183+
# ---- Tests: apps/hpcg ----
184+
tests/apps/hpcg/**/*.yaml
185+
tests/apps/hpcg/**/hpcg_log_*.txt
186+
tests/apps/hpcg/**/log.HPCG
187+
tests/apps/hpcg/**/xhpcg
188+
tests/apps/hpcg/**/xhpcg.*
189+
190+
# ---- Tests: apps/miniDFT ----
191+
tests/apps/miniDFT/**/log.miniDFT
192+
tests/apps/miniDFT/tests/benchmark/*.err
193+
tests/apps/miniDFT/tests/benchmark/*.out
194+
tests/apps/miniDFT/tests/src/*.mod
195+
tests/apps/miniDFT/tests/src/mini_dft
196+
tests/apps/miniDFT/tests/src/mini_dft.*
197+
tests/apps/miniDFT/tests/test/*.out
198+
199+
# ---- Tests: apps/miniFE ----
200+
tests/apps/miniFE/**/*.yaml
201+
tests/apps/miniFE/**/log.miniFE
202+
tests/apps/miniFE/tests/src/*.a
203+
tests/apps/miniFE/tests/src/*.linkinfo
204+
tests/apps/miniFE/tests/src/*.mtx*
205+
tests/apps/miniFE/tests/src/*.TVD.*
206+
tests/apps/miniFE/tests/src/*.vec*
207+
tests/apps/miniFE/tests/src/*.x
208+
tests/apps/miniFE/tests/src/gmon.out
209+
tests/apps/miniFE/tests/src/gprof.*
210+
tests/apps/miniFE/tests/src/miniFE.x.*
211+
tests/apps/miniFE/tests/src/minife_debug*
212+
tests/apps/miniFE/tests/src/miniFE_info.hpp
213+
214+
# ---- Tests: apps/prk ----
215+
tests/apps/prk/tests/branch
216+
tests/apps/prk/tests/dgemm
217+
tests/apps/prk/tests/func.c
218+
tests/apps/prk/tests/global
219+
tests/apps/prk/tests/nstream
220+
tests/apps/prk/tests/p2p
221+
tests/apps/prk/tests/private
222+
tests/apps/prk/tests/random
223+
tests/apps/prk/tests/reduce
224+
tests/apps/prk/tests/shared
225+
tests/apps/prk/tests/sparse
226+
tests/apps/prk/tests/stencil
227+
tests/apps/prk/tests/transpose
228+
229+
# ---- Tests: compilers ----
230+
tests/compilers/tests/C*_test
231+
tests/compilers/tests/CXX*_test
232+
tests/compilers/tests/F90*_test
233+
234+
# ---- Tests: dev-tools ----
235+
tests/dev-tools/**/*.tap
236+
tests/dev-tools/hwloc/test/config.h
237+
tests/dev-tools/hwloc/test/config.h.in
238+
tests/dev-tools/hwloc/test/src/helloworld
239+
tests/dev-tools/hwloc/test/stamp-h1
240+
241+
# ---- Tests: libs/adios2 ----
242+
tests/libs/adios2/adios_config
243+
tests/libs/adios2/adios_config.flags
244+
tests/libs/adios2/config.h
245+
tests/libs/adios2/config.h.in
246+
tests/libs/adios2/config/libtool.m4
247+
tests/libs/adios2/config/ltmain.sh
248+
tests/libs/adios2/config/ltoptions.m4
249+
tests/libs/adios2/config/ltsugar.m4
250+
tests/libs/adios2/config/ltversion.m4
251+
tests/libs/adios2/config/lt~obsolete.m4
252+
tests/libs/adios2/COPYING
253+
tests/libs/adios2/INSTALL
254+
tests/libs/adios2/libtool
255+
tests/libs/adios2/stamp-h1
256+
tests/libs/adios2/tests/arrays.bp
257+
tests/libs/adios2/tests/arrays_read
258+
tests/libs/adios2/tests/arrays_write
259+
tests/libs/adios2/tests/genarray/copyarray2d_comm.mod
260+
tests/libs/adios2/tests/genarray/copyarray_comm.mod
261+
tests/libs/adios2/tests/scalars.bp
262+
263+
# ---- Tests: libs/boost ----
264+
tests/libs/boost/tests/*.tap
265+
266+
# ---- Tests: libs/gsl ----
267+
tests/libs/gsl/**/config.h*
268+
tests/libs/gsl/**/stamp-h1
269+
tests/libs/gsl/tests/test
270+
tests/libs/gsl/tests/test*.dat
271+
tests/libs/gsl/tests/test*.txt
272+
tests/libs/gsl/tests/test_static
273+
274+
# ---- Tests: libs/hdf5 ----
275+
tests/libs/hdf5/**/*.mod
276+
tests/libs/hdf5/**/makefile
277+
tests/libs/hdf5/**/makefile.in
278+
279+
# ---- Tests: libs/hypre ----
280+
tests/libs/hypre/tests/ex1
281+
tests/libs/hypre/tests/ex11
282+
tests/libs/hypre/tests/ex12f
283+
tests/libs/hypre/tests/ex2
284+
tests/libs/hypre/tests/ex3
285+
tests/libs/hypre/tests/ex4
286+
tests/libs/hypre/tests/ex5f
287+
tests/libs/hypre/tests/ex6
288+
tests/libs/hypre/tests/ex7
289+
tests/libs/hypre/tests/ex8
290+
tests/libs/hypre/tests/ex9
291+
292+
# ---- Tests: libs/scalapack ----
293+
tests/libs/scalapack/tests/*SCAEXSOL.dat
294+
295+
# ---- Tests: libs/trilinos ----
296+
tests/libs/trilinos/tests/*.exe
297+
298+
# ---- Tests: mpi ----
299+
tests/mpi/.test.hello.*
300+
tests/mpi/.test.job
301+
tests/mpi/a.out
302+
tests/mpi/hello.impi
303+
tests/mpi/hello.openmpi
304+
tests/mpi/hello_longer.*
305+
tests/mpi/test.*.out
306+
307+
# ---- Tests: modules ----
308+
tests/modules/.cmd_output
309+
310+
# ---- Tests: perf-tools/geopm ----
311+
tests/perf-tools/geopm/tests/tutorial_0
312+
313+
# ---- Tests: perf-tools/imb ----
314+
tests/perf-tools/imb/tests/IMB_out*
315+
tests/perf-tools/imb/tests/log.imb-*
316+
317+
# ---- Tests: perf-tools/likwid ----
318+
tests/perf-tools/likwid/tests/test
319+
tests/perf-tools/likwid/tests/test*.dat
320+
tests/perf-tools/likwid/tests/test*.txt
321+
tests/perf-tools/likwid/tests/test_static
322+
323+
# ---- Tests: perf-tools/papi ----
324+
tests/perf-tools/papi/tests/test
325+
tests/perf-tools/papi/tests/test*.dat
326+
tests/perf-tools/papi/tests/test*.txt
327+
tests/perf-tools/papi/tests/test_static
328+
329+
# ---- Tests: rms-harness ----
330+
tests/rms-harness/tests/mpi_exit
331+
332+
# ==========================================================
333+
# Containers
334+
# ==========================================================
335+
containers/examples/mpi/mpi
336+
337+
# ==========================================================
338+
# Docs
339+
# ==========================================================
340+
341+
# ---- Docs: install ----
342+
docs/install/build/
343+
344+
# ---- Docs: papers ----
345+
docs/papers/HPCSYSPROS/hpcsyspros.aux
346+
docs/papers/HPCSYSPROS/hpcsyspros.bbl
347+
docs/papers/HPCSYSPROS/hpcsyspros.blg
348+
docs/papers/HPCSYSPROS/hpcsyspros.fdb_latexmk
349+
docs/papers/HPCSYSPROS/hpcsyspros.fls
350+
docs/papers/HPCSYSPROS/hpcsyspros.log
351+
docs/papers/HPCSYSPROS/hpcsyspros.out
352+
docs/papers/HPCSYSPROS/hpcsyspros.pdf
353+
354+
# ---- Docs: recipes/install (LaTeX artifacts) ----
355+
docs/recipes/install/pkg-ohpc.chglog*
356+
docs/recipes/install/steps.aux
357+
docs/recipes/install/steps.fdb_latexmk
358+
docs/recipes/install/steps.fls
359+
docs/recipes/install/steps.log
360+
docs/recipes/install/steps.out
361+
docs/recipes/install/steps.pdf
362+
docs/recipes/install/steps.synctex.gz
363+
docs/recipes/install/steps.toc
364+
docs/recipes/install/vc.tex
365+
366+
# ---- Docs: recipes/install generated recipe scripts ----
367+
docs/recipes/install/**/recipe.sh
368+
369+
# ---- Docs: recipes/install/poc-markdown ----
370+
!docs/recipes/install/poc-markdown/common/figures/*.pdf
371+
docs/recipes/install/poc-markdown/*.html
372+
docs/recipes/install/poc-markdown/*.pdf
373+
docs/recipes/install/poc-markdown/*/common
374+
docs/recipes/install/poc-markdown/.config.merged.yaml
375+
docs/recipes/install/poc-markdown/.header-includes.tex
376+
docs/recipes/install/poc-markdown/.steps.md.j2.tmp
377+
docs/recipes/install/poc-markdown/steps.md
378+
docs/recipes/install/poc-markdown/vc.yaml

0 commit comments

Comments
 (0)