Zooko O'Whielacronx
72aa8f5cb8
setup: shebang usr bin env python
2008-01-10 14:01:31 -07:00
Zooko O'Whielacronx
1ab03fe9d2
setup: update in-line doc of get-version.py
2008-01-08 10:51:01 -07:00
Brian Warner
813706a01e
debian: update dependencies to match calc-deps.py, mainly pycryptopp-0.2.8
2008-01-02 15:14:34 -07:00
Zooko O'Whielacronx
b412847485
setup: whoops, fix the use of source-tree-root-dir eggs in our Makefile
2008-01-01 01:53:31 -07:00
Zooko O'Whielacronx
97f2953cec
setup: fix bin/tahoe to include .egg's from the source tree root dir as well
...
This is necessary, as we can't prevent setuptools from respecting any such eggs, therefore we need to respect them in order to maintain consistency. However, we don't normally install any "install_requires" eggs into the source tree root dir.
2008-01-01 01:51:28 -07:00
Zooko O'Whielacronx
9b38eebcaf
setup: finish renaming of docs/testnet to docs/testgrid
2007-12-31 23:36:59 -07:00
Zooko O'Whielacronx
58bedc60a2
setup: add darcsver source tarball to misc/dependencies
...
In the future, we're likely to stop keeping misc/dependencies under revision control, as per
http://allmydata.org/trac/tahoe/ticket/249
2007-12-31 23:26:51 -07:00
Brian Warner
bd187dfc50
upgrade to foolscap-0.2.3
2007-12-24 17:23:27 -07:00
Zooko O'Whielacronx
bfc69178b2
setup: fix bug in bugfix to patch to include .egg's found in CWD
2007-12-22 11:19:52 -07:00
Zooko O'Whielacronx
2ee424b3a3
setup: fix bug in previous patch to include .egg's from CWD
2007-12-22 11:14:27 -07:00
Zooko O'Whielacronx
7fdcbddbbc
setup: we also need to include .egg's in the CWD in our search path, because if we install a 3rd party library into support/, and *it* installs a library that *it* requires, that one will appear in CWD
...
It would be nice to figure out a way to force them to all appear in support/ where they belong.
2007-12-22 11:04:24 -07:00
Zooko O'Whielacronx
27a0d59308
setup: zope.interface bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do. :-)
2007-12-22 10:50:54 -07:00
Zooko O'Whielacronx
48b13dcab8
setup: upgrade bundle zfec-1.1.tar.gz to zfec-1.3.4.tar
2007-12-22 10:50:39 -07:00
Zooko O'Whielacronx
a9545aa4b0
setup: simplejson bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do. :-)
2007-12-22 10:50:29 -07:00
Zooko O'Whielacronx
840fb23229
setup: upgrade bundle from setuptools_darcs-1.0.6.tar.gz to setuptools_darcs-1.1.5.tar
2007-12-22 10:50:03 -07:00
Zooko O'Whielacronx
d5bb1ac316
setup: bundle pyutil-1.3.12.tar
2007-12-22 10:49:47 -07:00
Zooko O'Whielacronx
336c482561
setup: pycryptopp: bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do. :-)
2007-12-22 10:49:35 -07:00
Zooko O'Whielacronx
2add4f5edb
setup: foolscap bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do. :-)
2007-12-22 10:49:20 -07:00
Zooko O'Whielacronx
fd4880face
setup: bundle argparse-0.8.0.tar
...
It isn't actually needed for Tahoe, only for the command-line tools from pyutil. Later I will make an "extras" category within pyutil to specify in a machine-readable way that argparse is not required for pyutil unless you want the command-line tools.
2007-12-22 10:47:54 -07:00
Zooko O'Whielacronx
70b84e9298
setup: Nevow bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do. :-)
2007-12-22 10:47:06 -07:00
Zooko O'Whielacronx
c3a265839c
setup: refactor ez_setup.py and setup.py to satisfy the Desert Island scenario, to find and use setuptools egg in-place in misc/dependencies, and make it setup_require pyutil (for darcsver)
2007-12-22 10:44:47 -07:00
Zooko O'Whielacronx
922234ec29
setup: bundle setuptools_darcs plugin in misc/dependencies
2007-12-12 19:20:42 -07:00
Zooko O'Whielacronx
cbd6881a47
setup: remove misc/make-version.py and invoke "darcsver" from the pyutil library
...
misc/make-version.py has a limitation which prevents it from generating version
stamps from our current darcs history. This limitation has been fixed in
pyutil's "darcsver". Rather than copy the fix from there to
misc/make-version.py, I'm making it so that you have to install pyutil if you
want to automatically generate _version.py files from the current darcs
history.
2007-12-20 18:17:55 -07:00
Brian Warner
e8c55fe85d
move to foolscap-0.2.2
2007-12-12 20:21:45 -07:00
Zooko O'Whielacronx
1ac09840a4
a few documentation and naming convention updates
...
Notable: the argument to make REPORTER has been renamed to TRIALARGS.
2007-12-12 19:34:08 -07:00
Brian Warner
48e7a65882
upgrade to foolscap-0.2.1, with a new logging framework
2007-12-10 18:35:08 -07:00
Brian Warner
0618cf792d
build-deps: require setuptools 0.6c4 or later, because older ones don't allow foolscap to use os.random at import time
2007-12-10 20:06:59 -07:00
Brian Warner
725621aded
debian: add Depends: on python-pycryptopp, now that it's been packaged
2007-11-19 13:04:50 -07:00
Brian Warner
c86e803282
logtool: add 'gather' and 'dump' modes
2007-11-18 18:32:04 -07:00
Brian Warner
b502c3fea1
logtool: rename get-logs.py to logtool.py
2007-11-18 18:30:55 -07:00
Brian Warner
b29ce1c30a
logpublisher: implement subscribe/publish for log, add a sample client
2007-11-16 20:07:50 -07:00
Zooko O'Whielacronx
59d6c3c822
decentralized directories: integration and testing
...
* use new decentralized directories everywhere instead of old centralized directories
* provide UI to them through the web server
* provide UI to them through the CLI
* update unit tests to simulate decentralized mutable directories in order to test other components that rely on them
* remove the notion of a "vdrive server" and a client thereof
* remove the notion of a "public vdrive", which was a directory that was centrally published/subscribed automatically by the tahoe node (you can accomplish this manually by making a directory and posting the URL to it on your web site, for example)
* add a notion of "wait_for_numpeers" when you need to publish data to peers, which is how many peers should be attached before you start. The default is 1.
* add __repr__ for filesystem nodes (note: these reprs contain a few bits of the secret key!)
* fix a few bugs where we used to equate "mutable" with "not read-only". Nowadays all directories are mutable, but some might be read-only (to you).
* fix a few bugs where code wasn't aware of the new general-purpose metadata dict the comes with each filesystem edge
* sundry fixes to unit tests to adjust to the new directories, e.g. don't assume that every share on disk belongs to a chk file.
2007-12-03 14:52:42 -07:00
Zooko O'Whielacronx
211bf154d0
setup: pycryptopp: upgrade from v0.2.7 to v0.2.8
2007-11-19 15:55:17 -07:00
Zooko O'Whielacronx
cadc14fbca
setup: pycryptopp: upgrade from v0.2.6 to v0.2.7 (adds AES)
2007-11-19 15:07:11 -07:00
Zooko O'Whielacronx
a82954eced
setup: upgrade bundled pycryptopp from v0.2.5 to v0.2.6
2007-11-09 18:14:36 -07:00
Zooko O'Whielacronx
f0520b4e9e
setup: upgrade the bundled pycryptopp tarball from pycryptopp v0.2.3 to pycryptopp v0.2.5
2007-11-09 13:02:49 -07:00
Zooko O'Whielacronx
494e07eced
setup: upgrade to pycryptopp v0.2.3
2007-11-07 17:54:46 -07:00
Zooko O'Whielacronx
b699c28b67
setup: add misc/dependencies/pycryptopp-0.2.1.tar.gz
2007-11-07 09:59:51 -07:00
Brian Warner
1e8a693512
Makefile: add 'find-trailing-spaces' tool and target
2007-11-05 21:32:08 -07:00
Brian Warner
475a58fcc5
munin: add a sample file for /etc/munin/plugin-conf.d/
2007-10-22 15:08:39 -07:00
Brian Warner
0aba63ff17
munin: oops, fix that trailing-newline fix, the previous one mangled the config
2007-10-18 12:49:22 -07:00
Brian Warner
b339c76560
munin: remove extra blank line from config output
2007-10-18 12:39:26 -07:00
Brian Warner
33a02e19f1
munin: update shareholder plugins to match current storage layout
2007-10-18 12:08:58 -07:00
Zooko O'Whielacronx
bf3f629a68
setup: use the new find_exe module to find trial
2007-10-15 11:52:26 -07:00
Zooko O'Whielacronx
aba57d9a4c
setup: upgrade zfec from 1.0.4 to 1.1
2007-10-11 16:27:52 -07:00
Brian Warner
002472587e
add public testnet .furls to docs/testnet/, and copy into .deb . Closes #157 .
2007-10-11 14:55:23 -07:00
Brian Warner
1c7f52265f
deb: add docs/* to the debian package
2007-10-11 14:37:29 -07:00
Brian Warner
dc573554c8
rename bin/allmydata-tahoe to bin/tahoe. Closes #155 .
2007-10-11 03:38:24 -07:00
Zooko O'Whielacronx
be51a7e2a4
setup: bundle simplejson-1.7.3 in misc/dependencies
2007-10-04 11:23:20 -07:00
Brian Warner
7626a95636
upgrade to foolscap-0.1.7
2007-09-26 18:24:51 -07:00
Brian Warner
3b494ddf37
debian: oops, set debian/changelog version to 0.6.0-1+, to be less than everything the buildbot is creating
2007-09-26 18:15:13 -07:00
Brian Warner
7a4a31a83f
debian: put a version string of '0.6.0+' in the debian changelog
2007-09-26 17:58:42 -07:00
Brian Warner
caa0a95405
debian/sid: copy rules from feisty, the same can be used for both
2007-09-26 17:55:24 -07:00
Brian Warner
d41f0f9492
debian/feisty: use our original bin/allmydata-tahoe instead of setuptools's
...
because the setuptools "entry points" form asserts that there are
setuptools-visible packages like nevow/zope.interface (i.e. they have .egg-info
metadata). Until very recently, most debian systems did not install this
metadata. Instead, we rely upon the usual debian dependency checking as
expressed in debian/control .
2007-09-26 17:52:30 -07:00
Brian Warner
d1e07daeee
make-version.py: when _darcs doesn't exist, make the warning less scary-looking
2007-09-24 12:38:37 -07:00
Zooko O'Whielacronx
8f1b6a3dae
setup: add zope.interface-3.4.0 in place of zope.interface-3.3.0
2007-09-20 13:02:36 -07:00
Zooko O'Whielacronx
d0c2153c34
add zope.interface-3.3.0.tar.gz to misc/dependencies
2007-09-20 10:47:38 -07:00
Zooko O'Whielacronx
3e43889ad4
replace zfec-1.0.3 with zfec-1.0.4 in misc/dependencies
2007-09-20 10:47:21 -07:00
Brian Warner
1545190b69
hush some pyflakes warnings
2007-09-15 15:07:21 -07:00
Brian Warner
1f035a8f1f
setup.py: factor out dependency stuff, add workaround for nevow-0.6.0-on-dapper problem
2007-09-15 15:05:35 -07:00
Brian Warner
d28d7e91f9
include the Nevow-0.9.18 tarball in our distribution
2007-09-15 14:18:36 -07:00
Brian Warner
5cc1dbaac9
setup.py: add Nevow to our dependency list
2007-09-15 14:18:07 -07:00
Brian Warner
5cedf89a67
build-deps-setup.py: provide dependency_links too
2007-09-15 14:04:57 -07:00
Brian Warner
7bb7d76d9d
build-deps-setup.py: use ez_setup here too, for platforms without setuptools
2007-09-15 02:31:40 -07:00
Brian Warner
a4b00a6b2c
Makefile build-deps: use a fake package named 'tahoe-deps', to avoid a double-build of tahoe
2007-09-14 19:23:55 -07:00
Brian Warner
4772bee01b
remove simplejson tarball from our dependencies/ directory
2007-09-13 20:14:08 -07:00
Zooko O'Whielacronx
771485dc94
re-port Makefile to Windows and remove a bunch of no-longer-needed hacks
2007-09-13 18:20:35 -07:00
Zooko O'Whielacronx
5cbeaf84b6
add simplejson into misc/dependencies
2007-09-13 16:42:38 -07:00
Zooko O'Whielacronx
2eec5598de
add zfec tarball to misc/dependencies
2007-09-13 14:51:04 -07:00
Zooko O'Whielacronx
3032cb65df
add setuptools eggs for py2.4 and py2.5 to misc/dependencies
2007-09-13 14:50:43 -07:00
Zooko O'Whielacronx
0ec576aa9f
add foolscap tarball to misc/dependencies
2007-09-13 14:50:23 -07:00
Brian Warner
b75276af00
packaging: add 'build-deps' target, to automatically build and install (locally, in ./support) necessary dependencies. All such installed files are used during tests.
2007-09-12 16:48:45 -07:00
Brian Warner
4bbc423d70
debian: depend upon python-zfec, stop including zfec in the tahoe .deb
2007-08-21 13:54:51 -07:00
Brian Warner
bd49bafb23
munin/tahoe-sharesperfile: don't truncate to an int, emit a float instead
2007-08-23 16:31:15 -07:00
Brian Warner
b7703df6a5
remove PyCrypto, copy AES/SHA256/Util.number into the allmydata/ tree
2007-08-14 13:57:41 -07:00
Brian Warner
a45c4492b5
misc/get-version.py: get the version string from the new location, _version.py
2007-08-16 15:43:43 -07:00
Zooko O'Whielacronx
9ad02dbe80
fix version class to preferred format and correct parsing
2007-08-16 15:38:01 -07:00
Zooko O'Whielacronx
094b687d6e
import version class and make-version script from pyutil -- fixes win32 build, improves error handling, and eliminates unused features
2007-08-16 14:09:30 -07:00
Brian Warner
b25446d514
munin/tahoe-storagespace.py: use /bin/du instead of our python version, since
...
it a) is faster and b) will include filesystem overhead that is a real cost.
2007-08-09 18:26:57 -07:00
Zooko O'Whielacronx
63d7e126ff
misc/sizes.py: rename "block" to "share" and "subblock" to "block"
...
This renaming is already in place in all of our other documentation and code, but misc/sizes.py got overlooked.
2007-08-08 22:31:12 -07:00
Brian Warner
e2e3b19a37
misc/storage-overhead.py: tool to estimate storage-space overhead per filesize
2007-07-16 13:43:31 -07:00
Brian Warner
032dfc5e58
misc/figleaf.excludes: exclude simplejson too, since we don't run their tests
2007-07-12 16:26:25 -07:00
Brian Warner
b2f13d2635
cease producing .debs for dapper, since they'd depend upon a library (simplejson) that isn't packaged for dapper. Feisty++ are fine. Dapper users are encouraged to build from source.
2007-07-11 14:31:04 -07:00
Brian Warner
4a081cec26
debian: make all .debs dependent upon python-simplejson. We must create the dapper package, the others are available upstream
2007-07-11 14:01:56 -07:00
Brian Warner
11792759e6
figleaf.excludes: ignore allmydata.Crypto, since so little of it gets used by allmydata.test
2007-07-07 23:00:09 -07:00
Brian Warner
43c58b8c21
move debian files down into misc/
2007-07-05 14:49:09 -07:00
Brian Warner
cb890cb9e4
munin plugins: fix labels
2007-07-05 14:38:31 -07:00
Brian Warner
8b2f0ef44c
add some munin plugins
2007-07-05 13:38:15 -07:00
Brian Warner
2cf7cfbe4a
misc/count_dirs.py: dev tool to estimate filetree space consumption
2007-06-16 21:55:13 -07:00
Zooko O'Whielacronx
cc87bdf8c3
make-version.py invokes darcs as "darcs" instead of "realdarcs"
...
Some other people might use the official Windows build of darcs, and people who use my cygwin wrapper for darcs will be compatible with this patch as long as they use the latest version of the wrapper.
2007-06-29 14:22:50 -07:00
Brian Warner
36ae9b5dd9
make-version.py: it is sys.platform, not os.platform
2007-06-12 18:06:10 -07:00
robk-org
6f9bc9b647
make make-version.py exec darcs correctly on windows
2007-06-12 17:56:55 -07:00
Zooko O'Whielacronx
f619f9ab30
shebang usr bin env python
2007-06-12 18:55:25 -07:00
Zooko O'Whielacronx
c3cdb81c65
catch EnvironmentError from attempt to invoke darcs using subprocess module
2007-06-11 11:59:57 -07:00
Brian Warner
319516a5a2
makefile: add a test-darcs-boringfile target
2007-05-23 17:51:28 -07:00
Brian Warner
c946a5f40c
make-version.py: remove the strip-until-<changelog> workaround
2007-05-16 12:02:58 -07:00
Brian Warner
b90d4a243e
make-version.py: use 'subprocess' module instead of 'commands', to improve windows compatibility
2007-05-16 11:57:20 -07:00
Brian Warner
985925d70c
make-version.py: accomodate windows by ignoring the junk that appears at the start of 'darcs changes'
2007-05-15 17:10:42 -07:00
Brian Warner
24d4e072dd
do not include foolscap or zfec coverage in the figleaf reports for the moment: they have their own test suites
2007-05-04 17:00:18 -07:00
Brian Warner
3f6b660272
update version-number handling, pull release tags from darcs history
2007-05-03 20:14:07 -07:00
Zooko O'Whielacronx
d19d1058e0
extirpate all references the "queen" and "metatracker"
...
This is a potentially disruptive and potentially ugly change to the code base,
because I renamed the object that serves in both roles from "Queen" to
"IntroducerAndVdrive", which is a bit of an ugly name.
However, I think that clarity is important enough in this release to make this
change. All unit tests pass. I'm now darcs recording this patch in order to
pull it to other machines for more testing.
2007-04-30 09:57:52 -07:00
Brian Warner
1a6da72861
don't include test code itself in the test-coverage numbers
2007-04-16 12:32:45 -07:00
Brian Warner
3687b37c60
misc cleanup: remove old .tac files, move old stuff into misc/
2007-04-06 20:37:38 -07:00
Zooko O'Whielacronx
4b4f5bbcba
change #!/usr/bin/python to #!/usr/bin/env python
...
Note that using "whatever version of python the name 'python' maps to in the current shell environment" is more error-prone that specifying which python you mean, such as by executing "/usr/bin/python setup.py" instead of executing "./setup.py". When you build tahoe (by running "make") it will make a copy of bin/allmydata-tahoe in instdir/bin/allmydata-tahoe with the shebang line rewritten to execute the specific version of python that was used when building instead of to execute "/usr/bin/env python".
However, it seems better that the default for lazy people be "whatever 'python' means currently" instead of "whatever 'python' meant to the manufacturer of your operating system".
2007-03-29 14:01:28 -07:00
Brian Warner
228e17560a
control.py: fix get_memory_usage, add a sample client tool
2007-03-07 20:31:49 -07:00
Brian Warner
f0b7cf4bdf
figleaf.el: add code to auto-enable the annotation mode for all source files
2007-01-18 01:00:11 -07:00
Brian Warner
aefe54574f
figleaf.el: when converting to the elisp-readable format, use our in-tree version of figleaf rather than one found on the system. Also change the keybinding to toggle annotations to C-cC-a, which is easier to type
2007-01-08 21:29:03 -07:00
Brian Warner
322b6738f0
figleaf.el: add some emacs22 comments
2007-01-07 13:10:15 -07:00
Brian Warner
6d1ba16ef3
figleaf.el: announce annotation/deannotation
2007-01-04 21:52:40 -07:00
Brian Warner
0fd032956d
more figleaf emacs work: enable the minor mode, then type C-cA to toggle annotations
2007-01-04 01:25:36 -07:00
Brian Warner
e8ee3365ef
move figleaf2html and figleaf_htmlizer.py into our tree, for easier customization
2007-01-03 22:06:51 -07:00
Brian Warner
e68118736c
add some experimental emacs test-coverage-annotation tools, still in development
2007-01-01 23:48:42 -07:00