Module t.p._release

Part of twisted.python View Source

Twisted's automated release system.

This module is only for use within Twisted's release system. If you are anyone else, do not use it. The interface and behaviour will change without notice.
Line # Kind Name Docs
38 Class CommandFailed Raised when a child process exits unsuccessfully.
64 Function getNextVersion Calculate the version number for a new release of Twisted based on
85 Class Project A representation of a project that has a version.
129 Function findTwistedProjects Find all Twisted-style projects beneath a base directory.
145 Function updateTwistedVersionInformation Update the version information for Twisted and all subprojects to the
160 Function replaceProjectVersion Write version specification code into the given filename, which
185 Function replaceInFile I replace the text `oldstr' with `newstr' in `filename' using science.
203 Class NoDocumentsFound Raised when no input documents are found.
210 Class LoreBuilderMixin Base class for builders which invoke lore.
227 Class DocBuilder Generate HTML documentation for projects.
307 Class ManBuilder Generate man pages of the different existing scripts.
336 Class APIBuilder Generate API documentation from source files using
381 Class BookBuilder Generate the LaTeX and PDF documentation.
525 Function filePathDelta Return a list of strings that represent destination as a path relative
552 Class DistributionBuilder A builder of Twisted distributions.
55 Function _changeVersionInFile Replace the old version number with the new one in the given
def _changeVersionInFile(old, new, filename): (source)
Replace the old version number with the new one in the given filename.
def getNextVersion(version, now=None): (source)
Calculate the version number for a new release of Twisted based on the previous version number.
ParametersversionThe previous version number.
now(optional) The current date.
def findTwistedProjects(baseDirectory): (source)
Find all Twisted-style projects beneath a base directory.
ParametersbaseDirectoryA twisted.python.filepath.FilePath to look inside.
ReturnsA list of Project.
def updateTwistedVersionInformation(baseDirectory, now): (source)
Update the version information for Twisted and all subprojects to the date-based version number.
ParametersbaseDirectoryWhere to look for Twisted. If None, the function infers the information from twisted.__file__.
nowThe current date (as datetime.date). If None, it defaults to today.
def replaceProjectVersion(name, filename, newversion): (source)
Write version specification code into the given filename, which sets the version to the given version number.
ParametersfilenameA filename which is most likely a "_version.py" under some Twisted project.
newversionA version object.
def replaceInFile(filename, oldToNew): (source)
I replace the text `oldstr' with `newstr' in `filename' using science.
def filePathDelta(origin, destination): (source)

Return a list of strings that represent destination as a path relative to origin.

It is assumed that both paths represent directories, not files. That is to say, the delta of twisted.python.filepath.FilePath /foo/bar to twisted.python.filepath.FilePath /foo/baz will be ../baz, not baz.
ParametersoriginThe origin of the relative path. (type: twisted.python.filepath.FilePath )
destinationThe destination of the relative path. (type: twisted.python.filepath.FilePath )
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.