Skip to content

Commit 9625514

Browse files
authored
chore: Clean up .gitignore and .gitattributes (XRPLF#6001)
The .gitignore and .gitattributes files contain references to files and directories that the current build no longer produces, so this change removes obsolete entries in these files, and does some general reorganizing of the remaining entries.
1 parent a4c60b4 commit 9625514

File tree

3 files changed

+35
-90
lines changed

3 files changed

+35
-90
lines changed

.gitattributes

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Set default behaviour, in case users don't have core.autocrlf set.
22
#* text=auto
33

4-
# These annoying files
5-
rippled.1 binary
6-
LICENSE binary
7-
84
# Visual Studio
95
*.sln text eol=crlf
106
*.vcproj text eol=crlf

.gitignore

Lines changed: 35 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,46 @@
11
# .gitignore
22

3-
bin/boostbook_catalog.xml
4-
bin/config.log
5-
bin/project-cache.jam
6-
7-
# Ignore vim swap files.
8-
*.swp
9-
10-
# Ignore SCons support files.
11-
.sconsign.dblite
12-
13-
# Ignore python compiled files.
14-
*.pyc
15-
16-
# Ignore Macintosh Desktop Services Store files.
3+
# Macintosh Desktop Services Store files.
174
.DS_Store
185

19-
# Ignore backup/temps
6+
# Build, intermediate, and temporary artifacts.
207
*~
21-
22-
# Ignore object files.
238
*.o
24-
.nih_c
25-
tags
26-
TAGS
27-
GTAGS
28-
GRTAGS
29-
GPATH
30-
bin/rippled
31-
Debug/*.*
32-
Release/*.*
9+
*.pdb
10+
*.swp
11+
/.clangd
12+
Debug/
13+
Release/
14+
/.build/
15+
/build/
16+
/db/
17+
/out.txt
18+
/Testing/
19+
/tmp/
20+
CMakeSettings.json
21+
CMakeUserPresets.json
3322

34-
# Ignore coverage files.
23+
# Coverage files.
3524
*.gcno
3625
*.gcda
3726
*.gcov
3827

39-
# Levelization checking
28+
# Profiling data.
29+
gmon.out
30+
31+
# Levelization data.
4032
.github/scripts/levelization/results/*
4133
!.github/scripts/levelization/results/loops.txt
4234
!.github/scripts/levelization/results/ordering.txt
4335

44-
# Ignore tmp directory.
45-
tmp
46-
47-
# Ignore database directory.
48-
db/
49-
db/*.db
50-
db/*.db-*
51-
52-
# Ignore debug logs
53-
debug_log.txt
54-
55-
# Ignore customized configs
56-
rippled.cfg
57-
validators.txt
36+
# Customized configs.
37+
/rippled.cfg
38+
/validators.txt
5839

59-
# Doxygen generated documentation output
60-
HtmlDocumentation
61-
docs/html_doc
40+
# Locally patched Conan recipes
41+
external/conan-center-index/
6242

63-
# Xcode user-specific project settings
64-
# Xcode
65-
.DS_Store
66-
/build/
43+
# XCode IDE.
6744
*.pbxuser
6845
!default.pbxuser
6946
*.mode1v3
@@ -76,41 +53,16 @@ xcuserdata
7653
profile
7754
*.moved-aside
7855
DerivedData
79-
.idea/
8056
*.hmap
8157

82-
# Intel Parallel Studio 2013 XE
83-
My Amplifier XE Results - RippleD
84-
85-
# Compiler intermediate output
86-
/out.txt
87-
88-
# Build Log
89-
rippled-build.log
90-
91-
# Profiling data
92-
gmon.out
93-
94-
Builds/VisualStudio2015/*.db
95-
Builds/VisualStudio2015/*.user
96-
Builds/VisualStudio2015/*.opendb
97-
Builds/VisualStudio2015/*.sdf
98-
99-
# MSVC
100-
*.pdb
101-
.vs/
102-
CMakeSettings.json
103-
compile_commands.json
104-
.clangd
105-
packages
106-
pkg_out
107-
pkg
108-
CMakeUserPresets.json
109-
bld.rippled/
110-
.vscode
58+
# JetBrains IDE.
59+
/.idea/
11160

112-
# Suggested in-tree build directory
113-
/.build*/
61+
# Microsoft Visual Studio IDE.
62+
/.vs/
63+
/.vscode/
11464

115-
# Locally patched Conan recipes
116-
external/conan-center-index/
65+
# AI tools.
66+
/.augment
67+
/.claude
68+
/CLAUDE.md

docs/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)