1 | 3 patches for repository zooko@dev.allmydata.org:/home/darcs/tahoe-lafs/trunk: |
---|
2 | |
---|
3 | Sun Jan 16 22:54:29 MST 2011 zooko@zooko.com |
---|
4 | * setup: comment-out build-dependency on setuptools_darcs in order to avoid a bug in Distribute |
---|
5 | This means you must manuallky install setuptools_darcs before building a distribution such as with "python setup.py sdist" or "python setup.py bdist_egg" or else the resulting distribution will be missing some files (docs, .xhtml files for the WUI, and in general any file that isn't a Python file which is part of the "allmydata" Python package-directory). |
---|
6 | |
---|
7 | Mon Jan 17 23:25:21 MST 2011 zooko@zooko.com |
---|
8 | * setup: bundle a copy of setuptools_darcs-1.2.12 |
---|
9 | This is to work-around https://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being . refs #1054. |
---|
10 | |
---|
11 | Mon Jan 17 23:28:17 MST 2011 zooko@zooko.com |
---|
12 | * setup: load the setuptools_darcs-1.2.12.egg that is bundled in the root of the source tree at setup.py time, and setup_require it in order to make sure that its "find all package data" plugin works to inform setuptools of all files which are under revision control so that setuptools can include them in a distribution. |
---|
13 | By the way, this is ugly and horrible. |
---|
14 | |
---|
15 | New patches: |
---|
16 | |
---|
17 | [setup: comment-out build-dependency on setuptools_darcs in order to avoid a bug in Distribute |
---|
18 | zooko@zooko.com**20110117055429 |
---|
19 | Ignore-this: b228853a423fc5b06b822c45287225f5 |
---|
20 | This means you must manuallky install setuptools_darcs before building a distribution such as with "python setup.py sdist" or "python setup.py bdist_egg" or else the resulting distribution will be missing some files (docs, .xhtml files for the WUI, and in general any file that isn't a Python file which is part of the "allmydata" Python package-directory). |
---|
21 | ] hunk ./setup.py 152 |
---|
22 | # http://pypi.python.org/pypi/setuptools_trial |
---|
23 | setup_requires.extend(['setuptools_trial >= 0.5']) |
---|
24 | |
---|
25 | -# setuptools_darcs is required to produce complete distributions (such as |
---|
26 | -# with "sdist" or "bdist_egg") (unless there is a PKG-INFO file present which |
---|
27 | -# shows that this is itself a source distribution). For simplicity, and |
---|
28 | -# because there is some unknown error with setuptools_darcs when building and |
---|
29 | -# testing tahoe all in one python command on some platforms, we always add it |
---|
30 | -# to setup_requires. http://pypi.python.org/pypi/setuptools_darcs |
---|
31 | -setup_requires.append('setuptools_darcs >= 1.1.0') |
---|
32 | +# setuptools_darcs is required to produce complete distributions (such |
---|
33 | +# as with "sdist" or "bdist_egg"), unless there is a |
---|
34 | +# src/allmydata_tahoe.egg-info/SOURCE.txt file, which if present |
---|
35 | +# contains a complete list of files that should be included. |
---|
36 | +# http://pypi.python.org/pypi/setuptools_darcs However, requiring it |
---|
37 | +# runs afoul of a bug in Distribute, which was shipped in Ubuntu |
---|
38 | +# Lucid, so for now you have to manually install it before building |
---|
39 | +# sdists or eggs: |
---|
40 | +# http://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being |
---|
41 | +if False: |
---|
42 | + setup_requires.append('setuptools_darcs >= 1.1.0') |
---|
43 | |
---|
44 | # trialcoverage is required if you want the "trial" unit test runner to have a |
---|
45 | # "--reporter=bwverbose-coverage" option which produces code-coverage results. |
---|
46 | [setup: bundle a copy of setuptools_darcs-1.2.12 |
---|
47 | zooko@zooko.com**20110118062521 |
---|
48 | Ignore-this: 47e240417e0ff57a66d2f02f416a78fe |
---|
49 | This is to work-around https://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being . refs #1054. |
---|
50 | ] { |
---|
51 | adddir ./setuptools_darcs-1.2.12.egg |
---|
52 | adddir ./setuptools_darcs-1.2.12.egg/EGG-INFO |
---|
53 | addfile ./setuptools_darcs-1.2.12.egg/EGG-INFO/PKG-INFO |
---|
54 | hunk ./setuptools_darcs-1.2.12.egg/EGG-INFO/PKG-INFO 1 |
---|
55 | +Metadata-Version: 1.0 |
---|
56 | +Name: setuptools-darcs |
---|
57 | +Version: 1.2.12 |
---|
58 | +Summary: setuptools plugin for darcs |
---|
59 | +Home-page: http://tahoe-lafs.org/trac/setuptools_darcs |
---|
60 | +Author: Zooko O'Whielacronx |
---|
61 | +Author-email: zooko@zooko.com |
---|
62 | +License: BSD |
---|
63 | +Description: UNKNOWN |
---|
64 | +Keywords: distutils setuptools setup darcs |
---|
65 | +Platform: UNKNOWN |
---|
66 | +Classifier: Framework :: Setuptools Plugin |
---|
67 | +Classifier: Development Status :: 5 - Production/Stable |
---|
68 | +Classifier: License :: OSI Approved :: BSD License |
---|
69 | +Classifier: License :: DFSG approved |
---|
70 | +Classifier: Intended Audience :: Developers |
---|
71 | +Classifier: Operating System :: Microsoft |
---|
72 | +Classifier: Operating System :: Microsoft :: Windows |
---|
73 | +Classifier: Operating System :: Unix |
---|
74 | +Classifier: Operating System :: POSIX :: Linux |
---|
75 | +Classifier: Operating System :: POSIX |
---|
76 | +Classifier: Operating System :: MacOS :: MacOS X |
---|
77 | +Classifier: Operating System :: Microsoft :: Windows :: Windows NT/2000 |
---|
78 | +Classifier: Operating System :: OS Independent |
---|
79 | +Classifier: Natural Language :: English |
---|
80 | +Classifier: Programming Language :: Python |
---|
81 | +Classifier: Programming Language :: Python :: 2 |
---|
82 | +Classifier: Programming Language :: Python :: 2.4 |
---|
83 | +Classifier: Programming Language :: Python :: 2.5 |
---|
84 | +Classifier: Programming Language :: Python :: 2.6 |
---|
85 | +Classifier: Topic :: Utilities |
---|
86 | +Classifier: Topic :: Software Development :: Libraries |
---|
87 | addfile ./setuptools_darcs-1.2.12.egg/EGG-INFO/SOURCES.txt |
---|
88 | hunk ./setuptools_darcs-1.2.12.egg/EGG-INFO/SOURCES.txt 2 |
---|
89 | |
---|
90 | +README.txt |
---|
91 | +setup.cfg |
---|
92 | +setup.py |
---|
93 | +setuptools_darcs/__init__.py |
---|
94 | +setuptools_darcs/_version.py |
---|
95 | +setuptools_darcs/setuptools_darcs.py |
---|
96 | +setuptools_darcs.egg-info/PKG-INFO |
---|
97 | +setuptools_darcs.egg-info/SOURCES.txt |
---|
98 | +setuptools_darcs.egg-info/dependency_links.txt |
---|
99 | +setuptools_darcs.egg-info/entry_points.txt |
---|
100 | +setuptools_darcs.egg-info/not-zip-safe |
---|
101 | +setuptools_darcs.egg-info/top_level.txt |
---|
102 | addfile ./setuptools_darcs-1.2.12.egg/EGG-INFO/dependency_links.txt |
---|
103 | hunk ./setuptools_darcs-1.2.12.egg/EGG-INFO/dependency_links.txt 1 |
---|
104 | + |
---|
105 | addfile ./setuptools_darcs-1.2.12.egg/EGG-INFO/entry_points.txt |
---|
106 | hunk ./setuptools_darcs-1.2.12.egg/EGG-INFO/entry_points.txt 1 |
---|
107 | +[setuptools.file_finders] |
---|
108 | +darcs = setuptools_darcs.setuptools_darcs:find_files_for_darcs |
---|
109 | + |
---|
110 | addfile ./setuptools_darcs-1.2.12.egg/EGG-INFO/not-zip-safe |
---|
111 | hunk ./setuptools_darcs-1.2.12.egg/EGG-INFO/not-zip-safe 1 |
---|
112 | + |
---|
113 | addfile ./setuptools_darcs-1.2.12.egg/EGG-INFO/top_level.txt |
---|
114 | hunk ./setuptools_darcs-1.2.12.egg/EGG-INFO/top_level.txt 1 |
---|
115 | +setuptools_darcs |
---|
116 | adddir ./setuptools_darcs-1.2.12.egg/setuptools_darcs |
---|
117 | addfile ./setuptools_darcs-1.2.12.egg/setuptools_darcs/__init__.py |
---|
118 | hunk ./setuptools_darcs-1.2.12.egg/setuptools_darcs/__init__.py 1 |
---|
119 | +__version__ = "unknown" |
---|
120 | +try: |
---|
121 | + from _version import __version__ |
---|
122 | +except ImportError: |
---|
123 | + # We're running in a tree that hasn't run darcsver from the pyutil library, |
---|
124 | + # and didn't come with a _version.py, so we don't know what our version |
---|
125 | + # is. This should not happen very often. |
---|
126 | + pass |
---|
127 | addfile ./setuptools_darcs-1.2.12.egg/setuptools_darcs/_version.py |
---|
128 | hunk ./setuptools_darcs-1.2.12.egg/setuptools_darcs/_version.py 1 |
---|
129 | + |
---|
130 | +# This is the version of this tree, as created by setup.py darcsver from the Darcs patch |
---|
131 | +# information: the main version number is taken from the most recent release |
---|
132 | +# tag. If some patches have been added since the last release, this will have a |
---|
133 | +# -NN "build number" suffix, or else a -rNN "revision number" suffix. Please see |
---|
134 | +# pyutil.version_class for a description of what the different fields mean. |
---|
135 | + |
---|
136 | +verstr = "1.2.12" |
---|
137 | +try: |
---|
138 | + from pyutil.version_class import Version as pyutil_Version |
---|
139 | + __version__ = pyutil_Version(verstr) |
---|
140 | +except (ImportError, ValueError): |
---|
141 | + # Maybe there is no pyutil installed, or this may be an older version of |
---|
142 | + # pyutil.version_class which does not support SVN-alike revision numbers. |
---|
143 | + from distutils.version import LooseVersion as distutils_Version |
---|
144 | + __version__ = distutils_Version(verstr) |
---|
145 | addfile ./setuptools_darcs-1.2.12.egg/setuptools_darcs/setuptools_darcs.py |
---|
146 | hunk ./setuptools_darcs-1.2.12.egg/setuptools_darcs/setuptools_darcs.py 1 |
---|
147 | +import os, re |
---|
148 | + |
---|
149 | +from subprocess import Popen, PIPE |
---|
150 | + |
---|
151 | +THISDIR_RE=re.compile("What's new in \"(.*)\"") |
---|
152 | + |
---|
153 | +def exec_darcs(darcscmd): |
---|
154 | + cmd = ['darcs'] + darcscmd |
---|
155 | + try: |
---|
156 | + p = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True) |
---|
157 | + except EnvironmentError: |
---|
158 | + cmd = ['realdarcs.exe'] + darcscmd |
---|
159 | + p = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True) |
---|
160 | + |
---|
161 | + output = p.communicate()[0] |
---|
162 | + return (p.returncode, output) |
---|
163 | + |
---|
164 | +def run_darcs_query_manifest(): |
---|
165 | + return exec_darcs(['query', 'manifest']) |
---|
166 | + |
---|
167 | +def run_darcs_whatsnew_dot(): |
---|
168 | + return exec_darcs(['whatsnew', '.']) |
---|
169 | + |
---|
170 | +def find_files_for_darcs(dirname): |
---|
171 | + try: |
---|
172 | + unused, whatsnewoutput = run_darcs_whatsnew_dot() |
---|
173 | + queryretcode, queryoutput = run_darcs_query_manifest() |
---|
174 | + except EnvironmentError: |
---|
175 | + if not os.path.exists('PKG-INFO'): |
---|
176 | + from distutils import log |
---|
177 | + log.info("Unable to execute darcs -- if you are building a package with 'setup.py sdist', 'setup.py bdist_egg', or other package-building commands, then the resulting package might be missing some files. If you are not building a package then you can ignore this warning.") |
---|
178 | + # Oh well -- just return None. |
---|
179 | + return |
---|
180 | + |
---|
181 | + if queryretcode != 0: |
---|
182 | + if not os.path.exists('PKG-INFO'): |
---|
183 | + from distutils import log |
---|
184 | + log.warn("Failure to get the list of managed files from darcs -- if you are building a package with 'setup.py sdist', 'setup.py bdist_egg', or other package-building commands, then the resulting package might be missing some files. If you are not building a package then you can ignore this warning.") |
---|
185 | + # Oh well -- just return None. |
---|
186 | + return |
---|
187 | + |
---|
188 | + # We got output. |
---|
189 | + mo = THISDIR_RE.search(whatsnewoutput) |
---|
190 | + if mo: |
---|
191 | + curdirname = mo.group(1) |
---|
192 | + while curdirname.endswith('/'): |
---|
193 | + curdirname = curdirname[:-1] |
---|
194 | + curdirname += "/" |
---|
195 | + else: |
---|
196 | + curdirname = "" |
---|
197 | + |
---|
198 | + # Prepend this directory. |
---|
199 | + rel_to_repo_dirname = curdirname + dirname |
---|
200 | + |
---|
201 | + # Normalize rel_to_repo_dirname from local form to the form that setuptools uses to the form that "darcs query manifest" outputs (unix form). |
---|
202 | + rel_to_repo_dirname = rel_to_repo_dirname.replace('\\', '/') |
---|
203 | + while rel_to_repo_dirname.endswith('/'): |
---|
204 | + rel_to_repo_dirname = rel_to_repo_dirname[:-1] |
---|
205 | + |
---|
206 | + # Append a '/' to make sure we don't match "foobar" when rel_to_repo_dirname is "foo". |
---|
207 | + if rel_to_repo_dirname: |
---|
208 | + rel_to_repo_dirname += '/' |
---|
209 | + |
---|
210 | + warn = True |
---|
211 | + for fn in queryoutput.split('\n'): |
---|
212 | + if fn == ".": |
---|
213 | + continue |
---|
214 | + if fn.startswith('./'): |
---|
215 | + fn = fn[2:] |
---|
216 | + if fn.startswith(rel_to_repo_dirname): |
---|
217 | + fn = fn[len(rel_to_repo_dirname):] |
---|
218 | + warn = False |
---|
219 | + # We need to replace "/" by "\\" because setuptools can't includes web/*.xhtml files on Windows, due of path separator |
---|
220 | + # This correct ticket #1033 |
---|
221 | + yield fn.replace('/', os.sep) |
---|
222 | + |
---|
223 | + if warn and not os.path.exists('PKG-INFO'): |
---|
224 | + from distutils import log |
---|
225 | + log.warn("Didn't find any files in directory \"%s\" (full path: \"%s\") that were managed by darcs revision control -- if you are building a package with 'setup.py sdist', 'setup.py bdist_egg', or other package-building commands, then the resulting package might be missing some files. If you are not building a package then you can ignore this warning." % (dirname, os.path.abspath(rel_to_repo_dirname),)) |
---|
226 | adddir ./setuptools_darcs-1.2.12.egg/share |
---|
227 | adddir ./setuptools_darcs-1.2.12.egg/share/doc |
---|
228 | adddir ./setuptools_darcs-1.2.12.egg/share/doc/python-setuptools_darcs |
---|
229 | addfile ./setuptools_darcs-1.2.12.egg/share/doc/python-setuptools_darcs/README.txt |
---|
230 | hunk ./setuptools_darcs-1.2.12.egg/share/doc/python-setuptools_darcs/README.txt 1 |
---|
231 | + |
---|
232 | +setuptools_darcs Manual |
---|
233 | +======================= |
---|
234 | + |
---|
235 | +About |
---|
236 | +----- |
---|
237 | + |
---|
238 | +This is a plugin for setuptools that integrates darcs. Once |
---|
239 | +installed, Setuptools can be told to include in a package distribution |
---|
240 | +all the files tracked by darcs. This is an alternative to explicit |
---|
241 | +inclusion specifications with `MANIFEST.in`. |
---|
242 | + |
---|
243 | +A distribution here refers to a package that you create using |
---|
244 | +setup.py, ex: |
---|
245 | + |
---|
246 | + python setup.py sdist |
---|
247 | + python setup.py bdist_egg |
---|
248 | + python setup.py bdist_rpm |
---|
249 | + |
---|
250 | +This package was formerly known as setuptools_darcs_plugin. The name |
---|
251 | +change is the result of an agreement by the setuptools plugin |
---|
252 | +developers to provide a uniform naming convention. |
---|
253 | + |
---|
254 | + |
---|
255 | +Installation |
---|
256 | +------------ |
---|
257 | + |
---|
258 | +With easy_install: |
---|
259 | + |
---|
260 | + easy_install setuptools_darcs |
---|
261 | + |
---|
262 | +Alternative manual installation: |
---|
263 | + |
---|
264 | + tar -zxvf setuptools_darcs-X.Y.Z.tar.gz |
---|
265 | + cd setuptools_darcs-X.Y.Z |
---|
266 | + python setup.py install |
---|
267 | + |
---|
268 | +Where X.Y.Z is a version number. |
---|
269 | + |
---|
270 | +Alternative to make a specific package use setuptools_darcs without |
---|
271 | +installing setuptools_darcs into the system: |
---|
272 | + |
---|
273 | + Put "setup_requires=['setuptools_darcs']" in the call to setup() in |
---|
274 | + the package's setup.py file. |
---|
275 | + |
---|
276 | + |
---|
277 | +Usage |
---|
278 | +----- |
---|
279 | + |
---|
280 | +To use this plugin, you must first package your python module with |
---|
281 | +`setup.py` and use setuptools. The former is well documented in the |
---|
282 | +distutils manual: |
---|
283 | + |
---|
284 | + http://docs.python.org/dist/dist.html |
---|
285 | + |
---|
286 | +To use setuptools instead of distutils, just edit `setup.py` and |
---|
287 | +change |
---|
288 | + |
---|
289 | + from distutils.core import setup |
---|
290 | + |
---|
291 | +to |
---|
292 | + |
---|
293 | + from setuptools import setup |
---|
294 | + |
---|
295 | +When setuptools builds a source package, it always includes all files |
---|
296 | +tracked by your revision control system, if it knows how to learn what |
---|
297 | +those files are. |
---|
298 | + |
---|
299 | +When setuptools builds a binary package, you can ask it to include all |
---|
300 | +files tracked by your revision control system, by adding this argument |
---|
301 | +to your invocation of `setup()`: |
---|
302 | + |
---|
303 | + setup(..., |
---|
304 | + include_package_data=True, |
---|
305 | + ...) |
---|
306 | + |
---|
307 | +This plugin lets setuptools know what files are tracked by your darcs |
---|
308 | +revision control tool. setuptools ships with support for cvs and |
---|
309 | +subversion. Other plugins like this one are available for bzr, git, |
---|
310 | +monotone, and mercurial, at least. |
---|
311 | + |
---|
312 | +It might happen that you track files with your revision control system |
---|
313 | +that you don't want to include in your packages. In that case, you |
---|
314 | +can prevent setuptools from packaging those files with a directive in |
---|
315 | +your `MANIFEST.in`, ex: |
---|
316 | + |
---|
317 | + exclude .darcs-boringfile |
---|
318 | + recursive-exclude images *.xcf *.blend |
---|
319 | + |
---|
320 | +In this example, we prevent setuptools from packaging |
---|
321 | +`.darcs-boringfile` and the Gimp and Blender source files found under |
---|
322 | +the `images` directory. |
---|
323 | + |
---|
324 | +Alternatively, files to exclude from the package can be listed in the |
---|
325 | +`setup()` directive: |
---|
326 | + |
---|
327 | + setup(..., |
---|
328 | + exclude_package_data = {'': ['.darcs-boringfile'], |
---|
329 | + 'images': ['*.xcf', '*.blend']}, |
---|
330 | + ...) |
---|
331 | + |
---|
332 | + |
---|
333 | +Gotchas |
---|
334 | +------- |
---|
335 | + |
---|
336 | +If someone clones your darcs repository using darcs but does not |
---|
337 | +install this plugin, then when they run a package building command |
---|
338 | +they will not get all the right files. On the other hand if someone |
---|
339 | +gets a source distribution that was created by "./setup.py sdist", |
---|
340 | +then it will come with a list of all files, so they will not need |
---|
341 | +darcs in order to build a distribution themselves. |
---|
342 | + |
---|
343 | +You can make sure that anyone who uses your setup.py file has this |
---|
344 | +plugin by adding a `setup_requires` argument. |
---|
345 | + |
---|
346 | + setup_requires=[] |
---|
347 | + # setuptools_darcs is required to produce complete distributions (such as with |
---|
348 | + # "sdist" or "bdist_egg"), unless there is a ${PKG}.egg-info/SOURCES.txt file |
---|
349 | + # present which contains a complete list of files that should be included in |
---|
350 | + # distributions. |
---|
351 | + # http://pypi.python.org/pypi/setuptools_darcs |
---|
352 | + setup_requires.append('setuptools_darcs >= 1.1.0') |
---|
353 | + |
---|
354 | + setup(..., |
---|
355 | + setup_requires = setup_requires, |
---|
356 | + ...) |
---|
357 | + |
---|
358 | + |
---|
359 | +References |
---|
360 | +---------- |
---|
361 | + |
---|
362 | +How to distribute Python modules with Distutils: |
---|
363 | + |
---|
364 | + http://docs.python.org/dist/dist.html |
---|
365 | + |
---|
366 | + |
---|
367 | +Setuptools complete manual: |
---|
368 | + |
---|
369 | + http://peak.telecommunity.com/DevCenter/setuptools |
---|
370 | + |
---|
371 | + |
---|
372 | +Thanks to Yannick Gingras for providing the prototype for this |
---|
373 | +README.txt. |
---|
374 | } |
---|
375 | [setup: load the setuptools_darcs-1.2.12.egg that is bundled in the root of the source tree at setup.py time, and setup_require it in order to make sure that its "find all package data" plugin works to inform setuptools of all files which are under revision control so that setuptools can include them in a distribution. |
---|
376 | zooko@zooko.com**20110118062817 |
---|
377 | Ignore-this: 7dfc31392f4f8225d873e32556b78e46 |
---|
378 | By the way, this is ugly and horrible. |
---|
379 | ] |
---|
380 | < |
---|
381 | [setup: bundle a copy of setuptools_darcs-1.2.12 |
---|
382 | zooko@zooko.com**20110118062521 |
---|
383 | Ignore-this: 47e240417e0ff57a66d2f02f416a78fe |
---|
384 | This is to work-around https://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being . refs #1054. |
---|
385 | ] |
---|
386 | > { |
---|
387 | hunk ./setup.py 81 |
---|
388 | sys.path.insert(0, egg) |
---|
389 | egg = os.path.realpath(glob.glob('darcsver-*.egg')[0]) |
---|
390 | sys.path.insert(0, egg) |
---|
391 | +egg = os.path.realpath(glob.glob('setuptools_darcs-*.egg')[0]) |
---|
392 | +sys.path.insert(0, egg) |
---|
393 | import setuptools; setuptools.bootstrap_install_from = egg |
---|
394 | |
---|
395 | from setuptools import find_packages, setup |
---|
396 | hunk ./setup.py 158 |
---|
397 | # as with "sdist" or "bdist_egg"), unless there is a |
---|
398 | # src/allmydata_tahoe.egg-info/SOURCE.txt file, which if present |
---|
399 | # contains a complete list of files that should be included. |
---|
400 | -# http://pypi.python.org/pypi/setuptools_darcs However, requiring it |
---|
401 | -# runs afoul of a bug in Distribute, which was shipped in Ubuntu |
---|
402 | -# Lucid, so for now you have to manually install it before building |
---|
403 | -# sdists or eggs: |
---|
404 | -# http://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being |
---|
405 | -if False: |
---|
406 | - setup_requires.append('setuptools_darcs >= 1.1.0') |
---|
407 | +# http://pypi.python.org/pypi/setuptools_darcs |
---|
408 | +setup_requires.append('setuptools_darcs >= 1.1.0') |
---|
409 | |
---|
410 | # trialcoverage is required if you want the "trial" unit test runner to have a |
---|
411 | # "--reporter=bwverbose-coverage" option which produces code-coverage results. |
---|
412 | } |
---|
413 | |
---|
414 | Context: |
---|
415 | |
---|
416 | [NEWS: default reserved_space for new storage nodes is 1 GiB. refs #1208 |
---|
417 | david-sarah@jacaranda.org**20110117235930 |
---|
418 | Ignore-this: 81c898890f51400b7229b4b6de69eb30 |
---|
419 | ] |
---|
420 | ['tahoe debug catalog-shares': sort SIs and shnums |
---|
421 | Brian Warner <warner@lothar.com>**20110117095932 |
---|
422 | Ignore-this: f2c60da422178dfba6d03ff4957cf80c |
---|
423 | |
---|
424 | Without this, SIs or shnums could be emitted in random order, depending upon |
---|
425 | what the filesystem happens to return. |
---|
426 | ] |
---|
427 | [CLI: tests for ref #1305 (v2, remove spurious extra arg to create-alias in test) |
---|
428 | david-sarah@jacaranda.org**20110114040327 |
---|
429 | Ignore-this: 770b7117e66b04ced293b7b740b4a27f |
---|
430 | ] |
---|
431 | [CLI: make 'tahoe create-alias' and 'tahoe add-alias' accept a trailing colon on the new alias name (v2, minor change not to rely on implicit Unicode conversion). Includes doc changes and news; tests in a separate patch. fixes #1305 |
---|
432 | david-sarah@jacaranda.org**20110114034414 |
---|
433 | Ignore-this: 97e8e88d8b0f7c628b77db3adb67fa1b |
---|
434 | ] |
---|
435 | [Improve 'tahoe ln' help text. Patch by David-Sarah. Closes #1230. |
---|
436 | Brian Warner <warner@lothar.com>**20110117081421 |
---|
437 | Ignore-this: ae0ab1525fd39c95500535d6d015e706 |
---|
438 | ] |
---|
439 | [Tolerate Twisted-10.2's endpoints, patch by David-Sarah. Closes #1286. |
---|
440 | Brian Warner <warner@lothar.com>**20110117074751 |
---|
441 | Ignore-this: 8875749e4cab0e444a8452e290647bb6 |
---|
442 | |
---|
443 | The service generated by strports.service() changed in 10.2, and the ugly |
---|
444 | private-attribute-reading hack we used to glean a kernel-allocated port |
---|
445 | number (e.g. when using "tcp:0", especially during unit tests) broke, causing |
---|
446 | Tahoe to be completely unusable with Twisted-10.2 . The new ugly |
---|
447 | private-attribute-reading hack starts by figuring out what sort of service |
---|
448 | was generated, then reads different attributes accordingly. |
---|
449 | |
---|
450 | This also hushes a warning when using schemeless strports strings like "0" or |
---|
451 | "3456", by quietly prepending a "tcp:" scheme, since 10.2 complains about |
---|
452 | those. It also adds getURL() and getPortnum() accessors to the "webish" |
---|
453 | service, rather than having unit tests dig through _url and _portnum and such |
---|
454 | to find out what they are. |
---|
455 | ] |
---|
456 | [debian/control: add python-twisted-conch to dependencies. Closes #1095. |
---|
457 | Brian Warner <warner@lothar.com>**20110117071206 |
---|
458 | Ignore-this: 74714eeb8bd324d6124824f119468ab5 |
---|
459 | ] |
---|
460 | [Test changes to take account of ref #1311. |
---|
461 | david-sarah@jacaranda.org**20110117060540 |
---|
462 | Ignore-this: d787405b00a05d98abb34e5133a88b36 |
---|
463 | ] |
---|
464 | [create_node.py: add comments to default tahoe.cfg to clarify the meaning of each section. fixes #1311 |
---|
465 | david-sarah@jacaranda.org**20110117052419 |
---|
466 | Ignore-this: a2b0bba6b347bb0b0247782ee9ea9419 |
---|
467 | ] |
---|
468 | [misc/build_helpers/run_trial.py: fix pyflakes warning. |
---|
469 | david-sarah@jacaranda.org**20110115080456 |
---|
470 | Ignore-this: 95760a442fc397526a5d921510ec3843 |
---|
471 | ] |
---|
472 | [Set "reserved_space=1G" in newly-created storage nodes. Closes #1208. |
---|
473 | Brian Warner <warner@lothar.com>**20110116205822 |
---|
474 | Ignore-this: 2aac3dbb46e181ce7ae5e0af07bbb3bb |
---|
475 | ] |
---|
476 | [Makefile: allow tarball upload when either BB_BRANCH=='trunk' or BB_BRANCH==''. |
---|
477 | david-sarah@jacaranda.org**20110115212211 |
---|
478 | Ignore-this: 358822b25e69bfe9651a561ec387ca7a |
---|
479 | ] |
---|
480 | [misc/build_helpers/test-with-fake-dists.py: clean up directories and files only if they exist. |
---|
481 | david-sarah@jacaranda.org**20110115053011 |
---|
482 | Ignore-this: 7aa8fec370e12c62d9b56afcd55d17f |
---|
483 | ] |
---|
484 | [misc/build_helpers/test-with-fake-dists.py: wrong arguments in comment. |
---|
485 | david-sarah@jacaranda.org**20110115045325 |
---|
486 | Ignore-this: 89322306ed4fb478af4988675fd4c968 |
---|
487 | ] |
---|
488 | [Attempt to fix test-with-fake-dist build step. |
---|
489 | david-sarah@jacaranda.org**20110115022651 |
---|
490 | Ignore-this: 9d7195dca59b79f93a5f527b1ae9e79e |
---|
491 | ] |
---|
492 | [bin/tahoe-script.template: improve the error message if we end up running under Python 3. refs #1302 |
---|
493 | david-sarah@jacaranda.org**20110112211628 |
---|
494 | Ignore-this: ee78f8e4bbd197e620cb0cc6b995ac46 |
---|
495 | ] |
---|
496 | [Makefile: Fix uploading of tarballs on trunk builds. |
---|
497 | david-sarah@jacaranda.org**20110109065851 |
---|
498 | Ignore-this: 864b06e39103f46dbb6ccb74e1e333d3 |
---|
499 | ] |
---|
500 | [docs/frontends/CLI.rst: fix the rst syntax to be as actually intended :-) |
---|
501 | david-sarah@jacaranda.org**20110109014057 |
---|
502 | Ignore-this: c11331670ba89d8601ba3782ffc4f32c |
---|
503 | ] |
---|
504 | [docs/frontends/CLI.rst: really fix rst syntax error this time. |
---|
505 | david-sarah@jacaranda.org**20110109013914 |
---|
506 | Ignore-this: 59550154c9ab41488ddfdee8938d7bda |
---|
507 | ] |
---|
508 | [docs/frontends/CLI.rst: fix rst syntax error. |
---|
509 | david-sarah@jacaranda.org**20110109010943 |
---|
510 | Ignore-this: 427444f5572115059c75fa1bd8371d51 |
---|
511 | ] |
---|
512 | [docs/frontends/CLI.rst: discuss commandline/output quoting issues and wildcards. refs #1135 |
---|
513 | david-sarah@jacaranda.org**20110109010119 |
---|
514 | Ignore-this: 533938d89be878b404a8540aebdf68ad |
---|
515 | ] |
---|
516 | [setup.py: add Python 2.7 trove classifier. |
---|
517 | david-sarah@jacaranda.org**20110108211212 |
---|
518 | Ignore-this: b479c0a1adf9b7a2d1fdc54abc6582e6 |
---|
519 | ] |
---|
520 | [docs/FTP-and-SFTP.rst: document issue in ref #1297. Remove known issue #1045 which is fixed. Also some cosmetic changes. |
---|
521 | david-sarah@jacaranda.org**20110108061038 |
---|
522 | Ignore-this: 8d9aa2e33f1054545f7bed47bf0e647d |
---|
523 | ] |
---|
524 | [misc/build_helpers/show-tool-versions.py: remove attempts to show stdout.encoding and stderr.encoding that always printed None due to redirection. Also remove code to show os.path.supports_unicode_filenames which is not useful. refs #1251 |
---|
525 | david-sarah@jacaranda.org**20110103015144 |
---|
526 | Ignore-this: 45e11431f7e2e0cebcb58e1841485cf8 |
---|
527 | ] |
---|
528 | [NEWS: 'top' for node processes, WUI formatting, removal of GUI apps, documentation updates, foolscap dependency. refs #174, #1219, #1225 |
---|
529 | david-sarah@jacaranda.org**20110106005727 |
---|
530 | Ignore-this: f61ac58b4d10e635feb6f7391b1b48fe |
---|
531 | ] |
---|
532 | [Makefile: update 'clean' target for files in bin/ |
---|
533 | david-sarah@jacaranda.org**20110103052738 |
---|
534 | Ignore-this: 2bdbc4a50e13e508b66d0f65718c79b2 |
---|
535 | ] |
---|
536 | [bin/tahoe-script.template: On non-Windows, invoke support/bin/tahoe directly as a script (rather than via python), so that 'top' for example will show it as 'tahoe'. On Windows, simplify some code that set argv[0], which is never used. fixes #174 |
---|
537 | david-sarah@jacaranda.org**20101127232650 |
---|
538 | Ignore-this: 42a86f3eecfdc1ea7b76a7cc68626898 |
---|
539 | ] |
---|
540 | [test_runner: avoid unnecessary use of non-ASCII. |
---|
541 | david-sarah@jacaranda.org**20110101100101 |
---|
542 | Ignore-this: e2ff40dce6bb3b021306f2913d4e75df |
---|
543 | ] |
---|
544 | [docs/quickstart.html: fix redundant, badly nested tag. refs #1284 |
---|
545 | david-sarah@jacaranda.org**20110102175159 |
---|
546 | Ignore-this: 2ae9cc0b47d2e87b9eb64a0f517c4eef |
---|
547 | ] |
---|
548 | [docs/quickstart.html: information about 'troublesome dependencies' and 'verified systems' de-emphasized by smaller italic font. Re-wrap so that the HTML source is readable (just about) as text. Minor wording tweaks. Improve organization by adding 'Windows Caveats' subsection. fixes #1284 |
---|
549 | david-sarah@jacaranda.org**20110102174212 |
---|
550 | Ignore-this: e9dc57983974478200856651c5318fee |
---|
551 | ] |
---|
552 | [docs: update performance.rst to describe the difference between already-uploaded and not-already-uploaded, to parameterize segment size, and to use "~A" to mean "approximately A" |
---|
553 | zooko@zooko.com**20110104065455 |
---|
554 | Ignore-this: 8df0d79a062ee19854c0211bd202f606 |
---|
555 | ] |
---|
556 | [NEWS: update entry for removal of Mac and Windows apps. refs #1282 |
---|
557 | david-sarah@jacaranda.org**20101226042245 |
---|
558 | Ignore-this: c8099bc6e8235718d042c9a13c1e2425 |
---|
559 | ] |
---|
560 | [Move dependency imports from windows/depends.py (which has gone away) into src/allmydata/windows/tahoesvc.py. Also fix a pyflakes warning, and change the service display name from 'Allmydata Tahoe Node' to 'Tahoe-LAFS node'. refs #1282 |
---|
561 | david-sarah@jacaranda.org**20101226042100 |
---|
562 | Ignore-this: ee45f324934e1251380206dbee6346d0 |
---|
563 | ] |
---|
564 | [Remove unmaintained Windows GUI app, except for windows/tahoesvc.py which is moved to src/allmydata/windows. refs #1282 |
---|
565 | david-sarah@jacaranda.org**20101226040237 |
---|
566 | Ignore-this: cae37b6622a7dd5940acc7d3e6a98b90 |
---|
567 | ] |
---|
568 | [Remove the Makefile targets relating to the Mac GUI app. refs #1282 |
---|
569 | david-sarah@jacaranda.org**20101226025859 |
---|
570 | Ignore-this: 75303be783974b41138744ec62b07965 |
---|
571 | ] |
---|
572 | [NEWS: remove unmaintained Mac GUI app. refs #1282 |
---|
573 | david-sarah@jacaranda.org**20101226020858 |
---|
574 | Ignore-this: 40474a07f4a550b48563d35350be7ab5 |
---|
575 | ] |
---|
576 | [Remove unmaintained Mac GUI app. fixes #1282 |
---|
577 | david-sarah@jacaranda.org**20101226020508 |
---|
578 | Ignore-this: b3613bf1abfd284d542bf7c753ec557a |
---|
579 | ] |
---|
580 | [Remove src/allmydata/util/find_exe.py which is no longer used. fixes #1150 |
---|
581 | david-sarah@jacaranda.org**20101226023206 |
---|
582 | Ignore-this: 7436c9b53bf210aed34a1a973cd9cace |
---|
583 | ] |
---|
584 | [status_web_pages_review.darcs.patch |
---|
585 | freestorm77@gmail.com**20110102034214 |
---|
586 | Ignore-this: 29f1ecb36177f10f3f846b3d56b313b2 |
---|
587 | |
---|
588 | I make some changes on status web pages |
---|
589 | |
---|
590 | status.xhtml: |
---|
591 | - Delete unused webform_css link |
---|
592 | - Align tables on the left |
---|
593 | |
---|
594 | tahoe-css: |
---|
595 | - Do some minor changes on code synthax |
---|
596 | - changes table.status-download-events style to look like other tables |
---|
597 | |
---|
598 | status.py: |
---|
599 | - Align table on the left |
---|
600 | - Changes table header |
---|
601 | - Add heading tags |
---|
602 | - Modify google api graph: add image border, calculate height to feet data |
---|
603 | |
---|
604 | signed-off-by: zooko@zooko.com |
---|
605 | fixes #1219 |
---|
606 | ] |
---|
607 | [test_storage.py: fix a pyflakes unused import warning. |
---|
608 | david-sarah@jacaranda.org**20101231220756 |
---|
609 | Ignore-this: df08231540cb7dff9d2b038e47ab30ee |
---|
610 | ] |
---|
611 | [test_storage.py: leave at least 512 MiB free when running test_large_share. refs #1195 |
---|
612 | david-sarah@jacaranda.org**20101231203215 |
---|
613 | Ignore-this: b2144c0341c3452b5d4ba219e284ea0e |
---|
614 | ] |
---|
615 | [storage: use fileutil's version of get_disk_stats() and get_available_space(), use mockery/fakery in tests, enable large share test on platforms with sparse files and if > 4 GiB of disk space is currently available |
---|
616 | zooko@zooko.com**20100910173629 |
---|
617 | Ignore-this: 1304f1164c661de6d5304f993eb9b27b |
---|
618 | ] |
---|
619 | [fileutil: copy in the get_disk_stats() and get_available_space() functions from storage/server.py |
---|
620 | zooko@zooko.com**20100910173520 |
---|
621 | Ignore-this: 8b15569715f710f4fc5092f7ca109253 |
---|
622 | ] |
---|
623 | [Update foolscap version requirement to 0.6.0, to address http://foolscap.lothar.com/trac/ticket/167 |
---|
624 | david-sarah@jacaranda.org**20101231060039 |
---|
625 | Ignore-this: 98d2b8086a1a500b9f4565bca5a3810 |
---|
626 | ] |
---|
627 | [docs/webapi.rst: typos. |
---|
628 | david-sarah@jacaranda.org**20101230034422 |
---|
629 | Ignore-this: d1f5166d72cc711f7e0d9981eac9105e |
---|
630 | ] |
---|
631 | [docs/webapi.rst: capitalization, formatting of section on URL character encoding, and a correction about Internet Explorer. |
---|
632 | david-sarah@jacaranda.org**20101230034049 |
---|
633 | Ignore-this: b3b9819d2fb264b4cdc5c8afd4e8c48d |
---|
634 | ] |
---|
635 | [docs: corrections and clarifications. |
---|
636 | david-sarah@jacaranda.org**20101227051056 |
---|
637 | Ignore-this: e33202858c7644c58f3f924b164294b6 |
---|
638 | ] |
---|
639 | [docs: more formatting cleanups and corrections. Spell webapi and wapi as web-API. |
---|
640 | david-sarah@jacaranda.org**20101227050533 |
---|
641 | Ignore-this: 18b23cbfb780df585d8a722a1ec63e94 |
---|
642 | ] |
---|
643 | [docs/debian.rst: bring description of building dependencies from source up-to-date, and change hostname from allmydata.com to tahoe-lafs.org. |
---|
644 | david-sarah@jacaranda.org**20101212222912 |
---|
645 | Ignore-this: f38462afc88b4475195610385a28391c |
---|
646 | ] |
---|
647 | [docs/architecture.rst: correct rst syntax. |
---|
648 | david-sarah@jacaranda.org**20101212202003 |
---|
649 | Ignore-this: 3fbe12feb28bec6f1c63aedbc79aad21 |
---|
650 | ] |
---|
651 | [docs/architecture.rst: formatting. |
---|
652 | david-sarah@jacaranda.org**20101212201719 |
---|
653 | Ignore-this: 305fa5dfc2939355eaf6d0d2161eb1ff |
---|
654 | ] |
---|
655 | [docs: linkification, wording improvements. |
---|
656 | david-sarah@jacaranda.org**20101212201234 |
---|
657 | Ignore-this: 4e67287f527a8bc728cfbd93255d2aae |
---|
658 | ] |
---|
659 | [docs: formatting. |
---|
660 | david-sarah@jacaranda.org**20101212201115 |
---|
661 | Ignore-this: 2e0ed394ac7726651d3a4f2c4b0d3798 |
---|
662 | ] |
---|
663 | [docs/configuration.rst: more formatting tweaks; which -> that. |
---|
664 | david-sarah@jacaranda.org**20101212195522 |
---|
665 | Ignore-this: a7becb7021854ca5a90edd892b36fdd7 |
---|
666 | ] |
---|
667 | [docs/configuration.rst: more changes to formatting. |
---|
668 | david-sarah@jacaranda.org**20101212194511 |
---|
669 | Ignore-this: 491aac33e5f5268d224359f1447d10be |
---|
670 | ] |
---|
671 | [docs/configuration.rst: changes to formatting (mainly putting commands and filenames in monospace). |
---|
672 | david-sarah@jacaranda.org**20101212181828 |
---|
673 | Ignore-this: 8a1480e2d5f43bee678476424615b50f |
---|
674 | ] |
---|
675 | [scripts/backupdb.py: more accurate comment about path field. |
---|
676 | david-sarah@jacaranda.org**20101212170320 |
---|
677 | Ignore-this: 50e47a2228a85207bbcd188a78a0d4e6 |
---|
678 | ] |
---|
679 | [scripts/cli.py: fix missing 'put' in usage example for 'tahoe put'. |
---|
680 | david-sarah@jacaranda.org**20101212170207 |
---|
681 | Ignore-this: 2cbadf066fff611fc03d3c0ff97ce6ec |
---|
682 | ] |
---|
683 | [docs/frontends/CLI.rst: changes to formatting (mainly putting commands and filenames in monospace), and to command syntax to reflect that DIRCAP/... is accepted. Clarify the syntax of 'tahoe put' and other minor corrections. Tahoe -> Tahoe-LAFS. |
---|
684 | david-sarah@jacaranda.org**20101212165800 |
---|
685 | Ignore-this: a123ef6b564aa8624d1e79c97068ea12 |
---|
686 | ] |
---|
687 | [docs/frontends/CLI.rst: Unicode arguments to 'tahoe' work on Windows as of v1.7.1. |
---|
688 | david-sarah@jacaranda.org**20101212063740 |
---|
689 | Ignore-this: 3977a99dfa86ac33a44171deaf43aaab |
---|
690 | ] |
---|
691 | [docs/known_issues.rst: fix title and linkify another URL. refs #1225 |
---|
692 | david-sarah@jacaranda.org**20101212062817 |
---|
693 | Ignore-this: cc91287f7fb51c23440b3d2fe79c449c |
---|
694 | ] |
---|
695 | [docs/known_issues.rst: fix an external link. refs #1225 |
---|
696 | david-sarah@jacaranda.org**20101212062435 |
---|
697 | Ignore-this: b8cbf12f353131756c358965c48060ec |
---|
698 | ] |
---|
699 | [Fix a link from uri.rst to dirnodes.rst. refs #1225 |
---|
700 | david-sarah@jacaranda.org**20101212054502 |
---|
701 | Ignore-this: af6205299f5c9a33229cab259c00f9d5 |
---|
702 | ] |
---|
703 | [Fix a link from webapi.rst to FTP-and-SFTP.rst. refs #1225 |
---|
704 | david-sarah@jacaranda.org**20101212053435 |
---|
705 | Ignore-this: 2b9f88678c3447ea860d6b61e8799858 |
---|
706 | ] |
---|
707 | [More specific hyperlink to architecture.rst from helper.rst. refs #1225 |
---|
708 | david-sarah@jacaranda.org**20101212052607 |
---|
709 | Ignore-this: 50424c768fca481252fabf58424852dc |
---|
710 | ] |
---|
711 | [Update hyperlinks between docs, and linkify some external references. refs #1225 |
---|
712 | david-sarah@jacaranda.org**20101212051459 |
---|
713 | Ignore-this: cd43a4c3d3de1f832abfa88d5fc4ace1 |
---|
714 | ] |
---|
715 | [docs/specifications/dirnodes.rst: fix references to mutable.rst. refs #1225 |
---|
716 | david-sarah@jacaranda.org**20101212012720 |
---|
717 | Ignore-this: 6819b4b4e06e947ee48b365e840db37d |
---|
718 | ] |
---|
719 | [docs/specifications/mutable.rst: correct the magic string for v1 mutable containers. refs #1225 |
---|
720 | david-sarah@jacaranda.org**20101212011400 |
---|
721 | Ignore-this: 99a5fcdd40cef83dbb08f323f6cdaaca |
---|
722 | ] |
---|
723 | [Move .txt files in docs/frontends and docs/specifications to .rst. refs #1225 |
---|
724 | david-sarah@jacaranda.org**20101212010251 |
---|
725 | Ignore-this: 8796d35d928370f7dc6ad2dafdc1c0fe |
---|
726 | ] |
---|
727 | [Convert docs/frontends and docs/specifications to reStructuredText format (not including file moves). |
---|
728 | david-sarah@jacaranda.org**20101212004632 |
---|
729 | Ignore-this: e3ceb2d832d73875abe48624ddbb5622 |
---|
730 | ] |
---|
731 | [scripts/cli.py: remove the disclaimer in the help for 'tahoe cp' that it does not handle non-ASCII filenames well. (At least, we intend to handle them.) |
---|
732 | david-sarah@jacaranda.org**20101130002145 |
---|
733 | Ignore-this: 94c003efaa20b9eb4a83503d79844ca |
---|
734 | ] |
---|
735 | [relnotes.txt: fifth -> sixth labor-of-love release |
---|
736 | zooko@zooko.com**20101129045647 |
---|
737 | Ignore-this: 21c245015268b38916e3a138d256c09d |
---|
738 | ] |
---|
739 | [Makefile: BB_BRANCH is set to the empty string for trunk, not the string 'trunk'. |
---|
740 | david-sarah@jacaranda.org**20101128233512 |
---|
741 | Ignore-this: 5a7ef8eb10475636d21b91e25b56c369 |
---|
742 | ] |
---|
743 | [relnotes.txt: eleventh -> twelfth release. |
---|
744 | david-sarah@jacaranda.org**20101128223321 |
---|
745 | Ignore-this: 1e26410156a665271c1170803dea2c0d |
---|
746 | ] |
---|
747 | [relnotes.tst: point to known_issues.rst, not known_issues.txt. |
---|
748 | david-sarah@jacaranda.org**20101128222918 |
---|
749 | Ignore-this: 60194eb4544cac446fe4f60b3e34b887 |
---|
750 | ] |
---|
751 | [quickstart.html: fix link to point to allmydata-tahoe-1.8.1.zip. |
---|
752 | david-sarah@jacaranda.org**20101128221728 |
---|
753 | Ignore-this: 7b3ee86f8256aa12f5d862f689f3ee29 |
---|
754 | ] |
---|
755 | [TAG allmydata-tahoe-1.8.1 |
---|
756 | david-sarah@jacaranda.org**20101128212336 |
---|
757 | Ignore-this: 9c18bdeaef4822f590d2a0d879e00621 |
---|
758 | ] |
---|
759 | Patch bundle hash: |
---|
760 | 79908e8b70b0693613896df0c2d755ec4d58eca4 |
---|