generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 144
Expand file tree
/
Copy path.scm-settings
More file actions
121 lines (107 loc) · 3.66 KB
/
.scm-settings
File metadata and controls
121 lines (107 loc) · 3.66 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# $Id: .scm-settings 112403 2026-01-11 19:29:08Z knut.osmundsen@oracle.com $
## @file
# Top level source code massager settings.
#
# This will be loaded when scm is pointed to any file or directory in the
# VirtualBox source tree. It will recursively load all .scm-settings files
# it find in or above directories or files it's told to work on. So,
# .scm-settings files can be placed in sub-directories in the tree to provide
# additional settins specific to that sub-tree.
#
#
# Copyright (C) 2010-2026 Oracle and/or its affiliates.
#
# This file is part of VirtualBox base platform packages, as
# available from https://www.virtualbox.org.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, in version 3 of the
# License.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses>.
#
# SPDX-License-Identifier: GPL-3.0-only
#
#
# Global settings.
#
# Only consider directories and files that are part of a SVN working set.
#
--only-svn-dirs
--only-svn-files
--set-svn-eol
--set-svn-executable
--set-svn-mime-type-on-binaries
--set-svn-keywords
--svn-sync-process-export all # The default is to export everything.
#
# Directories to ignore.
#
# These are simple string patterns (see iprt/string.h) and we'll match both the
# base name as well as the absolute path of each directory we consider for
# recursion against these patterns.
#
--filter-out-dirs ".svn"
--filter-out-dirs "/*out*/."
--filter-out-dirs "/kBuild/."
--filter-out-dirs "/*kBuild_*/."
--filter-out-dirs "/*kBuild.*/."
--filter-out-dirs "/*_kBuild*/."
--filter-out-dirs "/SlickEdit/."
#
# Files to ignore.
#
# Same format as for the directories, except that we'll also apply them to
# files specified directly on the command line.
#
--filter-out-files "/vslick.h"
#--filter-out-files "/.dir-locals.el"
#--filter-out-files "*/.gitignore"
#--filter-out-files "*/PkgInfo"
#--filter-out-files "*/*-PkgInfo"
#--filter-out-files "*.crt"
#--filter-out-files "*.plist"
#--filter-out-files "*.provisionprofile"
#--filter-out-files "*/Doxyfile*"
#--filter-out-files "*/COPYING"
#--filter-out-files "*/COPYING.LIB"
#--filter-out-files "*/COPYING.CDDL"
#--filter-out-files "*/COPYING.GPLv2"
#--filter-out-files "*/COPYING.UBDL"
#--filter-out-files "*.desktop"
#
# Header guards are by default relative to the parent directory.
#
--guard-prefix VBOX_INCLUDED_SRC_
--guard-relative-to-dir {parent}
--fix-header-guard-endif
#
# Git files.
#
.gitignore|.gitmodules|.gitattributes: --treat-as hashtext --external-copyright
#
# Darwin .plist files are xml and should (normally) be excluded from copyright checks.
# Also, use LF since the files are (normally) only for use on darwin.
#
*.plist: --treat-as xml --external-copyright --no-update-copyright-year --del-action force-native-eol --add-action force-lf
#
# Doxygen config files, no copyright or license here.
#
Doxyfile*: --treat-as hashtext --external-copyright --no-update-copyright-year
#
# SVG is xml, but apparently spec'ed to LF.
#
*.svg: --treat-as xml --external-copyright --del-action force-native-eol --add-action force-lf --dont-set-svn-keywords
#
# Special root files.
#
/.dir-locals.el|/.gitmodules: --treat-as plaintext
/.dir-locals.el: --treat-as plaintext
/COPYING|/COPYING.CDDL|/COPYING.LIB: --treat-as plaintext