t.p._release : module documentation

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.
Class CommandFailed Raised when a child process exits unsuccessfully.
Function getNextVersion Calculate the version number for a new release of Twisted based on the previous version number.
Class Project A representation of a project that has a version.
Function findTwistedProjects Find all Twisted-style projects beneath a base directory.
Function updateTwistedVersionInformation Update the version information for Twisted and all subprojects to the date-based version number.
Function replaceProjectVersion Write version specification code into the given filename, which sets the version to the given version number.
Function replaceInFile I replace the text `oldstr' with `newstr' in `filename' using science.
Class NoDocumentsFound Raised when no input documents are found.
Class LoreBuilderMixin Base class for builders which invoke lore.
Class DocBuilder Generate HTML documentation for projects.
Class ManBuilder Generate man pages of the different existing scripts.
Class APIBuilder No summary
Class BookBuilder Generate the LaTeX and PDF documentation.
Function filePathDelta Return a list of strings that represent destination as a path relative to origin.
Class DistributionBuilder A builder of Twisted distributions.
Function _changeVersionInFile Replace the old version number with the new one in the given filename.
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 2011-10-27 15:57:47.