예제 #1
0
    def initConfig(self):
        svnNotipySvnLook = SvnNotipySVNLook(self.svnRepos, self.svnRevision)
        self.svnNotipyConfig = SvnNotipyConfig(self.baseDir)
        svnNotipyLdap = SvnNotipyLDAP(self.svnNotipyConfig.getLdapConfig())
        
        self.svnAuthor = svnNotipySvnLook.getSvnAuthor()
        self.svnDate = svnNotipySvnLook.getSvnDate()
        self.svnLog = svnNotipySvnLook.getSvnCommitLog(0)
        self.svnLogForSubject = svnNotipySvnLook.getSvnCommitLog(1)
        self.svnDiffList = svnNotipySvnLook.getSvnDiffList()
        self.svnFilesChanged = svnNotipySvnLook.getSvnFilesChanged()
        self.svnRootDir = self.svnFilesChanged['rootdir']
        self.svnAuthorRealName = svnNotipyLdap.getAuthorRealName(self.svnAuthor)

        self.svnAddedHtml = ''
        self.svnModifiedHtml = ''
        self.svnDeletedHtml = ''
예제 #2
0
    def initConfig(self):
        svnNotipySvnLook = SvnNotipySVNLook(self.svnRepos, self.svnRevision)
        self.svnNotipyConfig = SvnNotipyConfig(self.baseDir)
        svnNotipyLdap = SvnNotipyLDAP(self.svnNotipyConfig.getLdapConfig())

        self.svnAuthor = svnNotipySvnLook.getSvnAuthor()
        self.svnDate = svnNotipySvnLook.getSvnDate()
        self.svnLog = svnNotipySvnLook.getSvnCommitLog(0)
        self.svnLogForSubject = svnNotipySvnLook.getSvnCommitLog(1)
        self.svnDiffList = svnNotipySvnLook.getSvnDiffList()
        self.svnFilesChanged = svnNotipySvnLook.getSvnFilesChanged()
        self.svnRootDir = self.svnFilesChanged['rootdir']
        self.svnAuthorRealName = svnNotipyLdap.getAuthorRealName(
            self.svnAuthor)

        self.svnAddedHtml = ''
        self.svnModifiedHtml = ''
        self.svnDeletedHtml = ''