Part of twisted.python View Source
A release-automation toolkit.
API Stability: Unstable. Don't use it outside of Twisted.
Maintainer: Christopher ArmstrongClass | DirectoryExists | Some directory exists when it shouldn't. |
Class | DirectoryDoesntExist | Some directory doesn't exist when it should. |
Class | CommandFailed | Undocumented |
Function | sh | I'll try to execute `command', and if `prompt' is true, I'll |
Function | replaceInFile | I replace the text `oldstr' with `newstr' in `filename' using sed |
Function | runChdirSafe | Undocumented |
Class | Project | A representation of a Twisted project with version information. |
Class | Done | Raised when the user is done answering questions. |
Function | inputNewVersion | Ask the user to input a new version number for the given project, |
Function | getVersionSafely | Call dist.getVersion, and if an error is raised, return None. |
Function | gatherCurrentInfo | |
Function | replaceProjectVersion | Write version specification code into the given filename, which |
Returns | A list of Project
instances with current information when available.
|
Parameters | filename | A filename which is most likely a "_version.py" under some Twisted project. |
newversion | A sequence of three numbers. |