-
Notifications
You must be signed in to change notification settings - Fork 1
/
mrconfig.drupal
170 lines (136 loc) · 3.8 KB
/
mrconfig.drupal
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# An example config file for the mr(1) command.
#
# Note that this file should be renamed to ".mrconfig" if you want to use it.
#
# This example leverages the Drupal plug-in.
[DEFAULT]
include = cat /usr/share/mr/drupal
# These are functions specific to this Drupal site; in this example they're
# only necessary if you want to automatically apply the proper file system
# permissions to your Drupal site, *and* you want them to be differ depending
# on the server you're installing it on.
# When you only run this site on the production web server, you wouldn't need
# any of this.
lib =
# DTAP: Development, Testing, Acceptance, Production
get_dtap() {
if on '[email protected]'; then
echo 'development'
else
echo 'production'
fi
}
drupal_fs_owner() {
echo $whoami
}
drupal_fs_group() {
if [ "$(get_dtap)" = 'development' ]; then
echo 'staff' # Mac OS X
else
echo 'www-data' # Linux
fi
}
[www]
project = drupal
version = 7.19
# Removes CHANGELOG.txt et cetera.
fixups = drupal_rm_unnecessary_txt
# Symlinks Drupal's default Druplicon favicon from misc/favicon.ico to the
# Drupal root because most browsers still request the favicon from there.
fixups_append = drupal_symlink_druplicon_favicon
# Same as [www], but with a different key. Dummy target to run fixups after
# EVERYTHING else: fixups that must be applied to ALL modules/themes.
[www/../www]
# Set the proper file system permissions on all Drupal files. The owner and
# group are calculated by the user-defined functions above.
fixups = drupal_set_permissions `drupal_fs_owner` `drupal_fs_group`
checkout = :
status = :
update = :
order = 100
[www/sites/wimleers.com/modules]
checkout = git clone git://github.com/wimleers/wimleers.com-modules.git modules
[www/sites/all/modules/cdn]
project = cdn
version = 7.x-2.5
[www/sites/all/modules/comment_notify]
project = comment_notify
version = 7.x-1.1
# Code per node (custom CSS per node).
[www/sites/all/modules/cpn]
project = cpn
version = 7.x-1.4
# Only necessary because it is a dependency of Views.
[www/sites/all/modules/ctools]
project = ctools
version = 7.x-1.2
[www/sites/all/modules/date]
project = date
version = 7.x-2.6
[www/sites/all/modules/diff]
project = diff
version = 7.x-3.2
[www/sites/all/modules/droptor]
project = droptor
version = 7.x-3.0
[www/sites/all/modules/drupad]
project = drupad
version = 7.x-1.13
# Two-factor authentication.
[www/sites/all/modules/duo]
project = duo
version = 7.x-1.7
[www/sites/all/modules/filefield_sources]
project = filefield_sources
version = 7.x-1.7
[www/sites/all/modules/globalredirect]
project = globalredirect
version = 7.x-1.5
[www/sites/all/modules/google_analytics]
project = google_analytics
version = 7.x-1.3
[www/sites/all/modules/gravatar]
project = gravatar
version = 7.x-1.1
[www/sites/all/modules/hierarchical_select]
project = hierarchical_select
version = 7.x-3.0-alpha5
[www/sites/all/modules/image_resize_filter]
project = image_resize_filter
version = 7.x-1.13
[www/sites/all/modules/insert]
project = insert
version = 7.x-1.2
[www/sites/all/modules/link]
project = link
version = 7.x-1.0
[www/sites/all/modules/markdown]
project = markdown
version = 7.x-1.1
[www/sites/all/modules/module_filter]
project = module_filter
version = 7.x-1.7
[www/sites/all/modules/mollom]
project = mollom
version = 7.x-2.3
[www/sites/all/modules/openidurl]
project = openidurl
version = 7.x-1.5
[www/sites/all/modules/references]
project = references
version = 7.x-2.0
[www/sites/all/modules/token]
project = token
version = 7.x-1.4
[www/sites/all/modules/typogrify]
project = typogrify
version = 7.x-1.0-rc5
[www/sites/all/modules/views]
project = views
version = 7.x-3.5
[www/sites/all/modules/xmlsitemap]
project = xmlsitemap
version = 7.x-2.0-rc2
# DELETED MODULES
[www/sites/all/modules/toc_filter]
deleted = true