Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
release_docs.WikiBrancher Class Reference
Inheritance diagram for release_docs.WikiBrancher:

Public Member Functions

 __init__ (self, dot_version)
 
 GetFilesToBranch (self)
 
 BranchFiles (self)
 
 UpdateLinksInBranchedFiles (self)
 

Public Attributes

 project
 
str wiki_dir = svn_root_path + '/wiki'
 
str version_prefix = 'V' + dot_version.replace('.', '_') + '_'
 
 files_to_branch = self.GetFilesToBranch()
 
 search_for_re
 
str replace_with = r'\1%s\2\3' % (self.version_prefix,)
 
str files_to_branch = 'svn cp %s %s%s' % (f, self.version_prefix, f)
 

Detailed Description

Branches ...

Member Function Documentation

◆ BranchFiles()

release_docs.WikiBrancher.BranchFiles ( self)
Branches the .wiki files needed to be branched.

◆ GetFilesToBranch()

release_docs.WikiBrancher.GetFilesToBranch ( self)
Returns a list of .wiki file names that need to be branched.

Member Data Documentation

◆ search_for_re

release_docs.WikiBrancher.search_for_re
Initial value:
= re.compile(
# This regex matches either
# [Foo
# or
# /wiki/Foo
# followed by a space or a #, where Foo is the name of an
# unversioned wiki page.
r'(\[|/wiki/)(%s)([ #])' % '|'.join(page_names))

The documentation for this class was generated from the following file: