1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
1 |
# This file modified from Zope3/Makefile
|
2 |
# Licensed under the ZPL, (c) Zope Corporation and contributors.
|
|
3 |
||
1770
by Canonical.com Patch Queue Manager
[trivial] Move to Python 2.4 |
4 |
PYTHON_VERSION=2.4 |
6061.16.1
by Curtis Hovey
Removed deprecation warning supression code. Updated ZCML, tests, and code to use |
5 |
PYTHON=python${PYTHON_VERSION} |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
6 |
WD:=$(shell pwd) |
7 |
PY=$(WD)/bin/py |
|
8 |
IPYTHON=$(PY) $(shell which ipython) |
|
9 |
PYTHONPATH:=$(WD)/lib:$(WD)/lib/mailman:${PYTHONPATH} |
|
4385.1.12
by Stuart Bishop
Remove unmaintainable profiled_ rules, switching to a variable that can be overridden on the command line |
10 |
VERBOSITY=-vv |
1716.1.49
by Christian Reis
Removing cruft from the main Makefile |
11 |
|
4385.1.12
by Stuart Bishop
Remove unmaintainable profiled_ rules, switching to a variable that can be overridden on the command line |
12 |
TESTFLAGS=-p $(VERBOSITY) |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
13 |
TESTOPTS= |
1716.1.49
by Christian Reis
Removing cruft from the main Makefile |
14 |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
15 |
SHHH=${PY} utilities/shhh.py |
1716.1.49
by Christian Reis
Removing cruft from the main Makefile |
16 |
STARTSCRIPT=runlaunchpad.py |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
17 |
HERE:=$(shell pwd) |
1716.1.49
by Christian Reis
Removing cruft from the main Makefile |
18 |
|
6041.1.2
by Curtis Hovey
Moved configs/default => configs/development. |
19 |
LPCONFIG=development |
1831
by Canonical.com Patch Queue Manager
New config machinery, database helpers and oddsnsods required for staging |
20 |
CONFFILE=configs/${LPCONFIG}/launchpad.conf |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
21 |
|
5447.1.2
by Tom Haddon
Constant for shutdown and correct path locations |
22 |
MINS_TO_SHUTDOWN=15 |
23 |
||
6206.1.1
by Tim Penhey
Update development location changes. |
24 |
CODEHOSTING_ROOT=/var/tmp/bazaar.launchpad.dev |
25 |
||
7430.1.3
by Gavin Panella
Post-review changes, and a few others. |
26 |
BZR_VERSION_INFO = bzr-version-info.py |
27 |
||
6770.2.10
by Francis J. Lacoste
Hook documentation generation in Makefile. |
28 |
XSLTPROC=xsltproc |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
29 |
WADL_FILE = lib/canonical/launchpad/apidoc/wadl-$(LPCONFIG).xml |
8089.8.2
by Leonard Richardson
Changed Makefile back to what it was before; wadl-to-refhtml.xsl will stay in launchpadlib. |
30 |
WADL_XSL = lib/launchpadlib/wadl-to-refhtml.xsl |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
31 |
API_INDEX = lib/canonical/launchpad/apidoc/index.html |
6770.2.10
by Francis J. Lacoste
Hook documentation generation in Makefile. |
32 |
|
7459.4.7
by Francis J. Lacoste
Create javascript tree structure and add build integration. |
33 |
EXTRA_JS_FILES=lib/canonical/launchpad/icing/MochiKit.js \ |
7459.4.8
by Francis J. Lacoste
Automatically include the YUI dependencies. |
34 |
$(shell $(HERE)/utilities/yui-deps.py) \ |
7459.4.7
by Francis J. Lacoste
Create javascript tree structure and add build integration. |
35 |
lib/canonical/launchpad/icing/lazr/build/lazr.js |
36 |
||
63.1.71
by Robert Collins
do not make check by default "make" invocation |
37 |
# DO NOT ALTER : this should just build by default
|
38 |
default: inplace |
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
39 |
|
6206.1.1
by Tim Penhey
Update development location changes. |
40 |
schema: build clean_codehosting |
3024.1.1
by Christian Reis
You can't make schema without make building, so make it mandatory. Patch by Matt Zimmerman <mdz@canonical.com> |
41 |
$(MAKE) -C database/schema |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
42 |
$(RM) -r /var/tmp/fatsam |
1716.1.42
by Christian Reis
merged and unconflicted |
43 |
|
1716.5.35
by kiko
Add for convenience a newsampledata proxy target to the main Makefile. |
44 |
newsampledata: |
45 |
$(MAKE) -C database/schema newsampledata |
|
46 |
||
7675.5.10
by Tim Penhey
Make 'make schema' not depend on code validity. |
47 |
hosted_branches: |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
48 |
$(PY) ./utilities/make-dummy-hosted-branches |
49 |
||
50 |
bin/py: |
|
51 |
$(PYTHON) bootstrap.py |
|
52 |
./bin/buildout |
|
7675.5.10
by Tim Penhey
Make 'make schema' not depend on code validity. |
53 |
|
7430.1.3
by Gavin Panella
Post-review changes, and a few others. |
54 |
$(WADL_FILE): $(BZR_VERSION_INFO) |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
55 |
LPCONFIG=$(LPCONFIG) $(PY) ./utilities/create-lp-wadl.py > $@ |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
56 |
|
57 |
$(API_INDEX): $(WADL_FILE) $(WADL_XSL) |
|
58 |
$(XSLTPROC) $(WADL_XSL) $(WADL_FILE) > $@ |
|
59 |
||
7430.1.3
by Gavin Panella
Post-review changes, and a few others. |
60 |
apidoc: compile $(API_INDEX) |
6770.2.11
by Francis J. Lacoste
Don't automatically generate the documentation until IS deploys the packages. |
61 |
|
5114.3.1
by Michael Hudson
add the target |
62 |
check_loggerhead_on_merge: |
5114.3.2
by Michael Hudson
try again |
63 |
# Loggerhead doesn't depend on anything else in rocketfuel and nothing
|
64 |
# depends on it (yet).
|
|
5114.3.3
by Michael Hudson
pass on python details |
65 |
make -C sourcecode/loggerhead check PYTHON=${PYTHON} \ |
66 |
PYTHON_VERSION=${PYTHON_VERSION} PYTHONPATH=$(PYTHONPATH) |
|
5114.3.1
by Michael Hudson
add the target |
67 |
|
8105.1.1
by Francis J. Lacoste
Always reject merge with DB patches in check_merge. Add a check_db_merge target. |
68 |
check_merge: |
69 |
[ `PYTHONPATH= bzr status -S database/schema/ | \ |
|
8201.1.6
by Stuart Bishop
Fix makefile rule |
70 |
grep -v "\(^P\|pending\|security.cfg\|Makefile\|unautovacuumable\)" | wc -l` -eq 0 ] |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
71 |
${PY} lib/canonical/tests/test_no_conflict_marker.py |
3691.386.9
by Stuart Bishop
Add switch to disable database patch landings |
72 |
|
8105.1.1
by Francis J. Lacoste
Always reject merge with DB patches in check_merge. Add a check_db_merge target. |
73 |
check_db_merge: |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
74 |
${PY} lib/canonical/tests/test_no_conflict_marker.py |
3691.187.2
by Stuart Bishop
Makefile entry for maintaining edge.launchpad.net branch |
75 |
|
8002.1.5
by Francis J. Lacoste
Move comment out. |
76 |
# This can be removed once we move to zc.buildout and we have versioned
|
77 |
# dependencies, but for now we run both Launchpad and all other
|
|
78 |
# dependencies tests for any merge to sourcecode.
|
|
8002.1.4
by Francis J. Lacoste
Add check_sourcecode_merge target to run tests when merging onto sourcecode. |
79 |
check_sourcecode_merge: build check |
80 |
$(MAKE) -C sourcecode check PYTHON=${PYTHON} \ |
|
81 |
PYTHON_VERSION=${PYTHON_VERSION} PYTHONPATH=$(PYTHONPATH) |
|
82 |
||
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
83 |
# XXX ${PY} -t
|
6683.1.1
by Brad Crittenden
Cause required bzr-version-info.py to be generated by 'make build' |
84 |
check: build |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
85 |
# Run all tests. test_on_merge.py takes care of setting up the
|
2894.1.13
by Stuart Bishop
Make 'make check' log test times |
86 |
# database..
|
1377
by Canonical.com Patch Queue Manager
fix makefile setting of PYTHONPATH |
87 |
env PYTHONPATH=$(PYTHONPATH) \ |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
88 |
${PY} ./test_on_merge.py $(VERBOSITY) |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
89 |
|
2279
by Canonical.com Patch Queue Manager
[trivial] add a make lint target (USE IT) and remove cruft |
90 |
lint: |
4017.1.1
by Andrew Bennetts
Fix 'make lint' |
91 |
@bash ./utilities/lint.sh |
2513
by Canonical.com Patch Queue Manager
[trivial] Implement make lintmerge. |
92 |
|
4935.3.3
by Curtis Hovey
Updated a few files to illustrate how lint works. |
93 |
lint-verbose: |
94 |
@bash ./utilities/lint.sh -v |
|
95 |
||
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
96 |
# XXX ${PY} -t
|
6912.5.12
by Curtis Hovey
Revised Makefile rules for xxxreport. |
97 |
xxxreport: |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
98 |
${PY} ./utilities/xxxreport.py -f csv -o xxx-report.csv ./ |
6912.5.12
by Curtis Hovey
Revised Makefile rules for xxxreport. |
99 |
|
4895.2.2
by Barry Warsaw
SteveA suggests checking config files in two ways: |
100 |
check-configs: |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
101 |
${PY} utilities/check-configs.py |
4895.2.2
by Barry Warsaw
SteveA suggests checking config files in two ways: |
102 |
|
1746
by Canonical.com Patch Queue Manager
[r=jamesh] Simple database restoration script and sampledata fixes |
103 |
pagetests: build |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
104 |
env PYTHONPATH=$(PYTHONPATH) ${PY} test.py test_pages |
3044.1.15
by James Troup
Fix 'suspicious' line in Makefile to quiet emacs |
105 |
|
6920.1.7
by Leonard Richardson
Fixed the makefile to run apidoc when building. |
106 |
inplace: build |
107 |
||
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
108 |
build: $(BZR_VERSION_INFO) bin/py compile apidoc |
6920.1.7
by Leonard Richardson
Fixed the makefile to run apidoc when building. |
109 |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
110 |
# XXX $(PY) -t
|
6920.1.7
by Leonard Richardson
Fixed the makefile to run apidoc when building. |
111 |
compile: |
1831
by Canonical.com Patch Queue Manager
New config machinery, database helpers and oddsnsods required for staging |
112 |
${SHHH} $(MAKE) -C sourcecode build PYTHON=${PYTHON} \ |
113 |
PYTHON_VERSION=${PYTHON_VERSION} LPCONFIG=${LPCONFIG} |
|
4002.5.14
by Barry Warsaw
Changes to address jamesh's review comments. |
114 |
${SHHH} LPCONFIG=${LPCONFIG} PYTHONPATH=$(PYTHONPATH) \ |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
115 |
$(PY) buildmailman.py |
7459.4.7
by Francis J. Lacoste
Create javascript tree structure and add build integration. |
116 |
${SHHH} sourcecode/lazr-js/tools/build.py \ |
117 |
-n launchpad -s lib/canonical/launchpad/javascript \
|
|
118 |
-b lib/canonical/launchpad/icing/build $(EXTRA_JS_FILES) |
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
119 |
|
120 |
runners: |
|
121 |
echo "#!/bin/sh" > bin/runzope; |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
122 |
echo "exec $(PY) $(STARTSCRIPT) -C $(CONFFILE)" >> bin/runzope; |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
123 |
chmod +x bin/runzope |
124 |
echo "#!/bin/sh" > bin/zopectl; |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
125 |
echo "$(PY) $(PWD)/src/zdaemon/zdctl.py \ |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
126 |
-S schema.xml \
|
127 |
-C zdaemon.conf -d \$$*" >> bin/zopectl |
|
7182.3.1
by Gary Poster
sketch to fix bugs 245368 and 268446. |
128 |
chmod +x bin/zopectl |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
129 |
|
130 |
test_build: build |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
131 |
$(PY) test.py $(TESTFLAGS) $(TESTOPTS) |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
132 |
|
133 |
test_inplace: inplace |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
134 |
$(PY) test.py $(TESTFLAGS) $(TESTOPTS) |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
135 |
|
136 |
ftest_build: build |
|
137 |
env PYTHONPATH=$(PYTHONPATH) \ |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
138 |
$(PY) test.py -f $(TESTFLAGS) $(TESTOPTS) |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
139 |
|
140 |
ftest_inplace: inplace |
|
141 |
env PYTHONPATH=$(PYTHONPATH) \ |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
142 |
$(PY) test.py -f $(TESTFLAGS) $(TESTOPTS) |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
143 |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
144 |
# XXX $(PY) -t
|
6683.1.1
by Brad Crittenden
Cause required bzr-version-info.py to be generated by 'make build' |
145 |
run: inplace stop |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
146 |
$(RM) thread*.request |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
147 |
bin/run -r librarian,google-webservice -C $(CONFFILE) |
4004.3.14
by jml at canonical
'make run' only runs webserver & librarian. 'make run_all' runs everything. |
148 |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
149 |
# XXX $(PY) -t
|
7182.3.1
by Gary Poster
sketch to fix bugs 245368 and 268446. |
150 |
start-gdb: inplace stop support_files |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
151 |
$(RM) thread*.request |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
152 |
nohup gdb -x run.gdb --args bin/run \
|
6998.3.2
by Guilherme Salgado
fix the bug. |
153 |
-r librarian,google-webservice -C $(CONFFILE) \ |
6781.1.1
by Herb McNew
Applied the patch that kiko provided and that was tested on staging. Allows us to run an app server instance under gdb. |
154 |
> ${LPCONFIG}-nohup.out 2>&1 & |
155 |
||
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
156 |
# XXX $(PY) -t
|
7675.5.10
by Tim Penhey
Make 'make schema' not depend on code validity. |
157 |
run_all: inplace stop hosted_branches |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
158 |
$(RM) thread*.request |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
159 |
bin/run -r librarian,buildsequencer,sftp,mailman,codebrowse,google-webservice \
|
4004.3.14
by jml at canonical
'make run' only runs webserver & librarian. 'make run_all' runs everything. |
160 |
-C $(CONFFILE) |
7528.1.6
by Michael Hudson
document new config schema values |
161 |
|
7551.3.10
by Michael Hudson
the real world meets the makefile |
162 |
run_codebrowse: build |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
163 |
BZR_PLUGIN_PATH=bzrplugins $(PY) sourcecode/launchpad-loggerhead/start-loggerhead.py -f |
7528.1.1
by Michael Hudson
add makefile targets and symlinks for running loggerhead in the launchpad tree |
164 |
|
7551.3.10
by Michael Hudson
the real world meets the makefile |
165 |
start_codebrowse: build |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
166 |
BZR_PLUGIN_PATH=$(shell pwd)/bzrplugins $(PY) sourcecode/launchpad-loggerhead/start-loggerhead.py |
7528.1.1
by Michael Hudson
add makefile targets and symlinks for running loggerhead in the launchpad tree |
167 |
|
168 |
stop_codebrowse: |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
169 |
$(PY) sourcecode/launchpad-loggerhead/stop-loggerhead.py |
7528.1.1
by Michael Hudson
add makefile targets and symlinks for running loggerhead in the launchpad tree |
170 |
|
7182.3.1
by Gary Poster
sketch to fix bugs 245368 and 268446. |
171 |
pull_branches: support_files |
4706.2.11
by Jonathan Lange
Add comments and a sync_branches target that does a pull and scan. |
172 |
# Mirror the hosted branches in the development upload area to the
|
173 |
# mirrored area.
|
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
174 |
$(PY) cronscripts/supermirror-pull.py upload |
4706.2.8
by Jonathan Lange
Add 'pull', 'scan' and 'rewritemap' targets to Makefile. |
175 |
|
7735.2.2
by Michael Hudson
bye bye more stuff |
176 |
scan_branches: |
4706.2.11
by Jonathan Lange
Add comments and a sync_branches target that does a pull and scan. |
177 |
# Scan branches from the filesystem into the database.
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
178 |
$(PY) cronscripts/branch-scanner.py |
4706.2.8
by Jonathan Lange
Add 'pull', 'scan' and 'rewritemap' targets to Makefile. |
179 |
|
4706.2.15
by Jonathan Lange
Different OOPS codes for testrunner config. pull_branches instead of pull. |
180 |
sync_branches: pull_branches scan_branches |
4706.2.11
by Jonathan Lange
Add comments and a sync_branches target that does a pull and scan. |
181 |
|
7430.1.3
by Gavin Panella
Post-review changes, and a few others. |
182 |
$(BZR_VERSION_INFO): |
7176.4.1
by Tom Haddon
Only create/recreate the bzr_version_info file if it's changed/needed |
183 |
scripts/update-bzr-version-info.sh |
809
by Canonical.com Patch Queue Manager
Nuke some arch-tags |
184 |
|
7430.1.3
by Gavin Panella
Post-review changes, and a few others. |
185 |
support_files: $(WADL_FILE) $(BZR_VERSION_INFO) |
7182.3.1
by Gary Poster
sketch to fix bugs 245368 and 268446. |
186 |
|
1884
by Canonical.com Patch Queue Manager
[trivial] run-as-daemon targets |
187 |
# Run as a daemon - hack using nohup until we move back to using zdaemon
|
7182.3.1
by Gary Poster
sketch to fix bugs 245368 and 268446. |
188 |
# properly. We also should really wait until services are running before
|
1937
by Canonical.com Patch Queue Manager
[r=jamesh] Common PID file handing module |
189 |
# exiting, as running 'make stop' too soon after running 'make start'
|
190 |
# will not work as expected.
|
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
191 |
# XXX $(PY) -t
|
7182.3.1
by Gary Poster
sketch to fix bugs 245368 and 268446. |
192 |
start: inplace stop support_files |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
193 |
nohup bin/run -C $(CONFFILE) > ${LPCONFIG}-nohup.out 2>&1 & |
1884
by Canonical.com Patch Queue Manager
[trivial] run-as-daemon targets |
194 |
|
7182.3.1
by Gary Poster
sketch to fix bugs 245368 and 268446. |
195 |
# This is a stripped down version of the "start" target for use on
|
7143.1.2
by Tom Haddon
Improve comments |
196 |
# production servers - removes running 'make build' because we already
|
197 |
# run this as part of our initscripts, so not needed here. Likewise we
|
|
7182.3.1
by Gary Poster
sketch to fix bugs 245368 and 268446. |
198 |
# don't want to run 'make stop' because it takes unnecessary time
|
7146.2.2
by Maris Fogels
Stripped out an unneeded make target, and renamed the config. |
199 |
# even if the service is already stopped, and bzr_version_info is not
|
7143.1.2
by Tom Haddon
Improve comments |
200 |
# needed either because it's run as part of 'make build'.
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
201 |
# XXX $(PY) -t
|
7182.3.1
by Gary Poster
sketch to fix bugs 245368 and 268446. |
202 |
initscript-start: |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
203 |
nohup bin/run -C $(CONFFILE) > ${LPCONFIG}-nohup.out 2>&1 & |
7143.1.1
by Tom Haddon
Add stripped down version of 'make start' as 'make initscript-start' for use on production servers where dependencies used in 'make start' aren't needed |
204 |
|
1937
by Canonical.com Patch Queue Manager
[r=jamesh] Common PID file handing module |
205 |
# Kill launchpad last - other services will probably shutdown with it,
|
206 |
# so killing them after is a race condition.
|
|
2354
by Canonical.com Patch Queue Manager
[r=bjornt] Product and Project vocabularies should not contain inactive entries. Bug#1873 |
207 |
stop: build |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
208 |
bin/killservice librarian buildsequencer launchpad mailman |
5373.2.6
by Barry Warsaw
Add a start_mailman and stop_mailman target, and modify killservice.py to be |
209 |
|
5447.1.1
by Tom Haddon
Adding shutdown option to makefile |
210 |
shutdown: scheduleoutage stop |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
211 |
$(RM) +maintenancetime.txt |
5447.1.1
by Tom Haddon
Adding shutdown option to makefile |
212 |
|
213 |
scheduleoutage: |
|
5447.1.2
by Tom Haddon
Constant for shutdown and correct path locations |
214 |
echo Scheduling outage in ${MINS_TO_SHUTDOWN} mins |
215 |
date --iso-8601=minutes -u -d +${MINS_TO_SHUTDOWN}mins > +maintenancetime.txt |
|
216 |
echo Sleeping ${MINS_TO_SHUTDOWN} mins |
|
217 |
sleep ${MINS_TO_SHUTDOWN}m |
|
5447.1.1
by Tom Haddon
Adding shutdown option to makefile |
218 |
|
6925.1.1
by Guilherme Salgado
Fix the damn bug. |
219 |
harness: |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
220 |
bin/harness |
1716.5.37
by kiko
Add harness Makefile convenience shortcut |
221 |
|
6925.1.1
by Guilherme Salgado
Fix the damn bug. |
222 |
iharness: |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
223 |
bin/iharness |
3673.1.10
by David Allouche
add iharness target to ./Makefile, that runs ipython instead of plain python |
224 |
|
1716.5.42
by kiko
Add a rebuildfti Makefile target, and make newsampledata use it |
225 |
rebuildfti: |
226 |
@echo Rebuilding FTI indexes on launchpad_dev database |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
227 |
$(PY) database/schema/fti.py -d launchpad_dev --force |
1716.5.42
by kiko
Add a rebuildfti Makefile target, and make newsampledata use it |
228 |
|
1627
by Canonical.com Patch Queue Manager
Initial, very very hacky, zcml-for-scripts support. Also, got rid of vestigal principals.zcml. |
229 |
debug: |
6523.1.2
by James Henstridge
* Refactor passing of environment variables to the app server, and make |
230 |
$(APPSERVER_ENV) \ |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
231 |
$(PY) -i -c \ "from zope.app import Application;\ |
1831
by Canonical.com Patch Queue Manager
New config machinery, database helpers and oddsnsods required for staging |
232 |
app = Application('Data.fs', 'site.zcml')()"
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
233 |
|
234 |
clean: |
|
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
235 |
$(MAKE) -C sourcecode/pygettextpo clean |
236 |
find . -type f \( \ |
|
237 |
-name '*.o' -o -name '*.so' -o -name '*.la' -o \ |
|
238 |
-name '*.lo' -o -name '*.py[co]' -o -name '*.dll' \) \ |
|
239 |
-print0 | xargs -r0 $(RM) |
|
240 |
$(RM) -r build |
|
241 |
$(RM) thread*.request |
|
242 |
$(RM) -r lib/mailman /var/tmp/mailman/* /var/tmp/fatsam.appserver |
|
7459.4.14
by Francis J. Lacoste
Merge RF, resolving conflict. |
243 |
$(RM) -rf lib/canonical/launchpad/icing/build/* |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
244 |
$(RM) -r $(CODEHOSTING_ROOT) |
245 |
$(RM) $(WADL_FILE) $(API_INDEX) |
|
7430.1.3
by Gavin Panella
Post-review changes, and a few others. |
246 |
$(RM) $(BZR_VERSION_INFO) |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
247 |
|
248 |
realclean: clean |
|
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
249 |
$(RM) TAGS tags |
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
250 |
|
6206.1.1
by Tim Penhey
Update development location changes. |
251 |
clean_codehosting: |
7430.1.1
by Gavin Panella
Clean up the Makefile, including splittig the API doc task into three. |
252 |
$(RM) -r $(CODEHOSTING_ROOT) |
6206.1.1
by Tim Penhey
Update development location changes. |
253 |
mkdir -p $(CODEHOSTING_ROOT)/mirrors |
254 |
mkdir -p $(CODEHOSTING_ROOT)/push-branches |
|
6206.1.5
by Tim Penhey
Make sure that there is some launchpad lookup file. |
255 |
mkdir -p $(CODEHOSTING_ROOT)/config |
256 |
touch $(CODEHOSTING_ROOT)/config/launchpad-lookup.txt |
|
6206.1.1
by Tim Penhey
Update development location changes. |
257 |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
258 |
# XXX buildout script
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
259 |
zcmldocs: |
7430.1.3
by Gavin Panella
Post-review changes, and a few others. |
260 |
mkdir -p doc/zcml/namespaces.zope.org |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
261 |
PYTHONPATH=$(shell pwd)/src:$(PYTHONPATH) $(PY) \ |
7430.1.3
by Gavin Panella
Post-review changes, and a few others. |
262 |
./sourcecode/zope/src/zope/configuration/stxdocs.py \
|
263 |
-f sourcecode/zope/src/zope/app/zcmlfiles/meta.zcml \
|
|
264 |
-o doc/zcml/namespaces.zope.org |
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
265 |
|
2237
by Canonical.com Patch Queue Manager
[trivial] Libraraian upstream tweaks, which demonstrate the the feature is broken (?) |
266 |
potemplates: launchpad.pot |
267 |
||
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
268 |
# XXX buildout script
|
2237
by Canonical.com Patch Queue Manager
[trivial] Libraraian upstream tweaks, which demonstrate the the feature is broken (?) |
269 |
# Generate launchpad.pot by extracting message ids from the source
|
270 |
launchpad.pot: |
|
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
271 |
$(PY) sourcecode/zope/utilities/i18nextract.py \ |
2237
by Canonical.com Patch Queue Manager
[trivial] Libraraian upstream tweaks, which demonstrate the the feature is broken (?) |
272 |
-d launchpad -p lib/canonical/launchpad \
|
273 |
-o locales |
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
274 |
|
5543.3.2
by Tim Penhey
Alterations to the way codebrowse is started, and updating rocketfuel-setup |
275 |
install: reload-apache |
276 |
||
6991.1.1
by Guilherme Salgado
Serve *.launchpad.dev through https |
277 |
copy-certificates: |
7029.3.3
by Henning Eggers
Added creation of /etc/apache/ssl directory to Makefile before copying files there, as it might not exist. |
278 |
mkdir -p /etc/apache2/ssl |
6991.1.1
by Guilherme Salgado
Serve *.launchpad.dev through https |
279 |
cp configs/development/launchpad.crt /etc/apache2/ssl/ |
280 |
cp configs/development/launchpad.key /etc/apache2/ssl/ |
|
281 |
||
282 |
copy-apache-config: |
|
7459.5.19
by Michael Hudson
mandatory sed-implied comment |
283 |
# We insert the absolute path to the branch-rewrite script
|
284 |
# into the Apache config as we copy the file into position.
|
|
7459.5.2
by Michael Hudson
add somewhat working script |
285 |
sed -e 's,%BRANCH_REWRITE%,$(shell pwd)/scripts/branch-rewrite.py,' configs/development/local-launchpad-apache > /etc/apache2/sites-available/local-launchpad
|
6991.1.1
by Guilherme Salgado
Serve *.launchpad.dev through https |
286 |
|
287 |
enable-apache-launchpad: copy-apache-config copy-certificates |
|
5543.3.2
by Tim Penhey
Alterations to the way codebrowse is started, and updating rocketfuel-setup |
288 |
a2ensite local-launchpad |
289 |
||
6991.1.1
by Guilherme Salgado
Serve *.launchpad.dev through https |
290 |
reload-apache: enable-apache-launchpad |
5543.3.2
by Tim Penhey
Alterations to the way codebrowse is started, and updating rocketfuel-setup |
291 |
/etc/init.d/apache2 reload |
292 |
||
4338.2.1
by Tom Haddon
Make +style-slimmer.css using "make static" |
293 |
static: |
8234.1.2
by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness. |
294 |
$(PY) scripts/make-static.py |
4338.2.1
by Tom Haddon
Make +style-slimmer.css using "make static" |
295 |
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
296 |
TAGS: |
7459.4.10
by Francis J. Lacoste
YUI 2.6.0 breaks tags generation. |
297 |
ctags -e -R --exclude='*yui/2.6.0*' --exclude='*-min.js' lib/canonical && \ |
298 |
ctags -e --exclude=lib/canonical -a -R lib/
|
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
299 |
|
300 |
tags: |
|
7459.4.10
by Francis J. Lacoste
YUI 2.6.0 breaks tags generation. |
301 |
ctags -R --exclude='*yui/2.6.0*' --exclude='*-min.js' lib/canonical && \ |
302 |
ctags --exclude=lib/canonical -a -R lib/
|
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
303 |
|
8002.1.2
by Francis J. Lacoste
Run dbfreeze_check on merge. |
304 |
.PHONY: apidoc check tags TAGS zcmldocs realclean clean debug stop\ |
305 |
start run ftest_build ftest_inplace test_build test_inplace pagetests\ |
|
8002.1.4
by Francis J. Lacoste
Add check_sourcecode_merge target to run tests when merging onto sourcecode. |
306 |
check check_loggerhead_on_merge check_merge check_sourcecode_merge \ |
8002.1.2
by Francis J. Lacoste
Run dbfreeze_check on merge. |
307 |
schema default launchpad.pot check_merge_ui pull scan sync_branches\ |
8105.1.1
by Francis J. Lacoste
Always reject merge with DB patches in check_merge. Add a check_db_merge target. |
308 |
reload-apache hosted_branches check_db_merge |