-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.cfg
executable file
·240 lines (225 loc) · 6.37 KB
/
base.cfg
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
[buildout]
extends = http://dist.plone.org/release/4.2.5/versions.cfg
https://raw.github.com/affinitic/affinitic.dist/master/plone425.cfg
getpaid.cfg
sources.cfg
versions.cfg
versions_prod.cfg
port.cfg
extensions = mr.developer
sources-dir = devel
allow-picked-versions = false
always-checkout = force
auto-checkout =
bnbelgium.skin
gites.calendar
gites.ldap
gites.skin
gites.theme
gites.gdwadmin
gites.core
gites.db
gites.app
gites.map
gites.shop
gites.locales
gites.webservice
gites.ldapimport
gites.imports
gites.proprio
DocumentTemplate
Products.PloneGetPaid
pygeocoder
parts =
instance01
zopepy
omelette
scripts
test
coverage-test
i18n
dependencies
dependencychecker
backup
versions = versions
index = http://pypi.affinitic.be/affinitic/packages/+simple/
allow-hosts = pypi.affinitic.be
eggs.affinitic.be
getpaid.googlecode.com
storage.googleapis.com
find-links -= http://getpaid.googlecode.com/files/hurry.workflow-0.9.2-getpaid.zip
http://getpaid.googlecode.com/files/ore.viewlet-0.2.3-getpaid.zip
http://getpaid.googlecode.com/files/yoma.batching-0.2.2-getpaid.zip
find-links += http://eggs.affinitic.be/
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/getpaid/hurry.workflow-0.9.2-getpaid.zip
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/getpaid/ore.viewlet-0.2.3-getpaid.zip
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/getpaid/yoma.batching-0.2.2-getpaid.zip
develop =
eggs +=
gites.app
Products.PloneHotfix20130618
zcml =
gites.app
gites.core-overrides
gites.shop-overrides
gites.pivot.core
[omelette]
recipe = collective.recipe.omelette
eggs = ${instance01:eggs}
[instance01]
recipe = plone.recipe.zope2instance
user = admin:admin
verbose-security = on
environment-vars =
PTS_LANGUAGES fr en nl it de
zope_i18n_allowed_languages fr en nl it de
zope_i18n_compile_mo_files true
SA_MIN_LOG_SLOW_SQL 0.1
PLONE_X_FRAME_OPTIONS
http-address = 5080
debug-mode = on
zcml = ${buildout:zcml}
eggs =
${buildout:eggs}
zcml-additional =
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:passmgr="http://affinitic.be/passmgr">
<passmgr:pwdfile name="pg"
filename="pgpass"/>
<passmgr:pwdfile name="googleapi"
filename="googleapikey"/>
<passmgr:pwdfile name="facebookapp"
filename="facebookapppass"/>
<passmgr:pwdfile name="facebookadmins"
filename="facebookadmins"/>
<passmgr:pwdfile name="embedly"
filename="embedlykey"/>
<passmgr:pwdfile name="md5"
filename="gdwmd5key"/>
</configure>
[zopepy]
recipe = zc.recipe.egg
eggs = ${instance01:eggs}
interpreter = zopepy
scripts = zopepy
[scripts]
recipe = zc.recipe.egg:scripts
eggs = gites.ldapimport
gites.calendar
gites.core[scripts]
gites.db[scripts]
gites.pivot.core
gites.pivot.db
gites.webservice[scripts]
alembic
i18ndude
z3c.dependencychecker
[test]
recipe = zc.recipe.testrunner
eggs = gites.db [test]
gites.app [test]
gites.shop [test]
gites.ldapimport
gites.imports [test]
gites.webservice [test]
gites.pivot.db [test]
gites.pivot.core [test]
gites.core [test]
ipdb
extra-paths =
[coverage-test]
recipe = zc.recipe.testrunner
eggs = gites.db [test]
gites.app [test]
gites.shop [test]
gites.ldapimport
gites.webservice [test]
gites.pivot.db [test]
gites.pivot.core [test]
gites.core [test]
ipdb
defaults = ['--coverage', '${buildout:directory}/coverage', '--auto-progress']
extra-paths =
[domain]
gites =
gites.app
gites.core
gites.db
gites.gdwadmin
gites.map
gites.shop
gites.theme
[i18n]
recipe = collective.recipe.template
inline =
#!/bin/bash
set -x
domain=gites
localesdirectory="${buildout:directory}/devel/gites.locales/src/gites/locales/locales"
src="${buildout:directory}/devel/"
options=""
exclude=""
gites="${domain:gites}"
if [ "$domain" == "gites" ]; then
packages=$gites
options="--merge2 $localesdirectory/gites-generated.pot"
exclude="rss_template.pt metadata_edit_form.cpt metadirectives.py Discussion_Item.xml event.py sendtoform.py"
fi
potfile=$localesdirectory/$domain.pot
potmanualfile=$localesdirectory/$domain-manual.pot
cd $src
${buildout:directory}/bin/i18ndude rebuild-pot --pot $potfile --create $domain \
--merge $potmanualfile $options --exclude="$exclude" $packages
# > rebuild-$domain-pot.log 2>&1
if [ ! -z "$fakedomain" ]; then
${buildout:directory}/bin/i18ndude filter $localesdirectory/gites.pot $localesdirectory/../locales/gites.pot > $localesdirectory/gites.pot_
mv $localesdirectory/gites.pot_ $localesdirectory/gites.pot
fi
${buildout:directory}/bin/i18ndude sync --pot $potfile $localesdirectory/*/*/$domain.po
output = ${buildout:bin-directory}/i18n
mode = 755
[dependencychecker]
recipe = collective.recipe.template
inline =
#!/bin/bash
set -x -e
for i in `find ${buildout:directory}/devel -maxdepth 1 -type d -name 'gites.*'`
do
cd $i
egg=`basename $i`
if [ -d 'src' ] ;
then
rm -f ${buildout:directory}/devel/$egg.dep.txt
${buildout:bin-directory}/dependencychecker > ${buildout:directory}/devel/$egg.dep.txt
elif [ -d 'gites' ] ;
then
rm -f ${buildout:directory}/devel/$egg.dep.txt
${buildout:bin-directory}/dependencychecker gites > ${buildout:directory}/devel/$egg.dep.txt
fi
done;
output = ${buildout:bin-directory}/gites-dependencychecker
mode = 755
[dependencies]
recipe = z3c.recipe.depgraph
eggs = ${buildout:eggs}
variants = base tred
formats = png
dead-ends =
Plone
five.grok
products.archetypes
re-dead-ends =
Products*
products*
plone*
zope*
five*
z3c*
collective*
re-exclude =
[backup]
recipe = collective.recipe.backup
location = ${buildout:directory}/var/backup
snapshotlocation = ${buildout:directory}/var/snapshotbackups
blob_storage = ${buildout:directory}/var/blobstorage
backup_blobs = true