[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2011: Make the PyPI distribution name consistent with the domain name and debian packages.
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Mar 25 18:17:59 UTC 2016
#2011: Make the PyPI distribution name consistent with the domain name and debian
packages.
-------------------------+-------------------------------------------------
Reporter: | Owner: warner
nejucomo |
Type: defect | Status: assigned
Priority: normal | Milestone: 1.11.0
Component: | Version: 1.10.0
packaging | Keywords: packaging pypi backward-
Resolution: | compatibility
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by warner):
Daira had a great idea: we could help old tahoe versions produce a better
error message by writing out .tac files that throw an error if they're
imported.
Newer Tahoes don't use the contents of the .tac file at all: they just
look at the file name to decide what type of node it is, then instantiate
the appropriate class (client, introducer, stats-gatherer, etc). Older
Tahoes use `twistd -y tac`, which imports the .tac file.
So we can `raise RuntimeError` in the new .tac files, and then older
tahoes will print the exception when they attempt to run twistd on it.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2011#comment:15>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list