[tahoe-lafs-trac-stream] [tahoe-lafs] #1950: allmydataectomy: rename "allmydata" package to "tahoe_lafs" or "tahoelafs"
tahoe-lafs
trac at tahoe-lafs.org
Thu Jul 4 16:19:17 UTC 2013
#1950: allmydataectomy: rename "allmydata" package to "tahoe_lafs" or "tahoelafs"
---------------------------+-----------------------
Reporter: warner | Owner:
Type: task | Status: new
Priority: normal | Milestone: undecided
Component: packaging | Version: 1.9.2
Resolution: | Keywords: cleanup
Launchpad Bug: |
---------------------------+-----------------------
Old description:
> Now that allmydata.com has been dead for like 5 years, it's probably time
> to remove "allmydata" from the package name. This means:
>
> * replace all imports with relative imports (reducing the code impact of
> a rename), which is possible because we now require a python version that
> provides relative imports
> * decide on "tahoe_lafs" or "tahoelafs" or "tahoe" or "TahoeLAFS"
> * rename the {{{src/allmydata/}}} directory to match
> * update the {{{setup.py}}} metadata to match
> * change the name we use for git tags, currently like {{{allmydata-
> tahoe-1.10}}}, maybe to just "1.10" or "v1.10"
> * update the PyPI package, debian/ubuntu packages, etc, if they're using
> the old allmydata-tahoe name
New description:
Now that allmydata.com has been dead for like 5 years, it's probably time
to remove "allmydata" from the package name. This means:
* replace all imports with relative imports (reducing the code impact of a
rename), which is possible because we now require a python version that
provides relative imports
* decide on "tahoe_lafs" or "tahoelafs" or "tahoe" or "TahoeLAFS"
* rename the {{{src/allmydata/}}} directory to match
* update the {{{setup.py}}} metadata to match
* change the name we use for git tags, currently like {{{allmydata-
tahoe-1.10}}}, maybe to just "1.10" or "v1.10"
* update the PyPI package, debian/ubuntu packages, etc, if they're using
the old allmydata-tahoe name
--
Comment (by nejucomo):
There's a subset of this issue about "distribution names", which is
somewhat separate from python module namespaces which is the package name.
Observe:
{{{
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.7 (squeeze)
Release: 6.0.7
Codename: squeeze
$ apt-cache search allmydata
$ apt-cache search lafs
tahoe-lafs - Secure distributed filesystem
$ apt-cache search tahoe
tahoe-lafs - Secure distributed filesystem
$ pip search tahoe
allmydata-tahoe - secure, decentralized, fault-tolerant
filesystem
tahoe - A Flask-based framework that handles the
tedious things
pytahoe - Python module for working with the Tahoe-LAFS
filesystem.
$ pip search lafs
BaculaFS - Bacula Filesystem in USErspace
pytahoe - Python module for working with the Tahoe-LAFS
filesystem.
$ pip search allmydata
allmydata-tahoe - secure, decentralized, fault-tolerant
filesystem
}}}
Notice that in the pypi namespace (which {{{pip}}} searches, there is a
collision for {{{tahoe}}}.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1950#comment:6>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list