-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitignore
87 lines (70 loc) · 2.08 KB
/
.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
########################################################################
#
# Based on DIME .gitignore template. Follow the instructions in the URL
# below to set up this template in your own repository
# https://github.com/worldbank/dime-github-trainings/tree/main/GitHub-resources/DIME-GitHub-Templates
#
# This is version 2.0
#
########################################################################
#######################
# Start by ignoring everything, and below we are explicitly saying
# what to not ignore
*
#######################
# List of files with GitHub functionality anywhere in the repo
# that we do not want to ignore
# These files include GitHub settings
!.gitignore
!.gitattributes
!.github/**/*.yaml
# Git placeholder file (to commit empty folders)
!/**/*.gitkeep
# Keep markdown files used for documentation on GitHub
!README.md
!CONTRIBUTING.md
!LICENSE*
* Unignore reproot files
!reproot*.yaml
* In repkit, ignore reproot files in test files
/**/tests/**/reproot.yaml
* in reprun, unignore the images folder
!src/vignettes/img/*.png
#######################
# For performance reasons, if a folder is already ignored, then
# GitHub does not check the content for that folder for matches
# with additional rules. The line below includes folder in the
# top folder (but not their content), so that anything matching
# the rules below will still not be ignored.
!*/
#######################
# The following file types are code that should always be
# included no matter where in the repository folder they are
# located unless you explicitly ignore that folder
# Stata
!/**/*.do
!/**/*.ado
!/**/*.sthlp
!src/stata.toc
!src/*.pkg
# Python
!/**/*.py
# Markdown and web docs files
!/**/*.md
!src/dev/assets/*.png
!src/dev/assets/*.css
####################################
# Ignore ssc outputs
src/dev/ssc
# Ignore test outputs
src/tests/outputs/
!/**/repadolog/**/stata.trk
!/**/repadolog/**/repadolog.csv
/**/reproot_setup/**/*.yaml
!/**/reproot/**/*.yaml
* Ignore the local dev env set up by repado
src/tests/dev-env/
src/tests/reprun/with-ado-folder/ado/
* Ignore local test output
/**/run1
/**/run2