<commit_before># -*- coding: utf-8 -*-
# vim: set ft=python :

import decimate.projects
from decimate.projects.svn import *
from decimate.projects.ant import *
from decimate.projects.statuspublishing import *
from decimate.projects.otherbuilds import *
from decimate.projects.emailnotify import *
from decimate.projects.filespublishing import *
from decimate.projects.junitpublishingant import *
from decimate.projects.cfl import *
from decimate.util import fileutil

import os
import re
import glob

thisProject = "Reviki"
emailAddresses = ["<EMAIL>"]
baseSvnPath = "reviki/trunk"
svnUrls = ["http://svn.reviki.org/svn/" + baseSvnPath]

web = urlImport("https://svn-dev.int.corefiling.com/svn/devel/decimate/sharedConfigs/trunk/web.py")


class RevikiProject(StatusPublishingProject):
    name = thisProject
    category = "3rd Party"
    provides = {"default": "Build"}

    def getTestConfigurations(self):
        return [
            BuildDist("Build", platform = "linux2", jdk = "1.6"),
            WebTests("Web Tests", platform = "linux2", jdk = "1.6"),
            PublishedReleases("Published Releases", platform="linux2"),
         ]


class BuildDist(StatusPublishingTestConfiguration, SvnTestConfiguration, EmailTestConfiguration, JUnitPublishingAntTestConfiguration, AntTestConfiguration, ExpiringArchiveTestConfiguration, TriggerHostingTestConfiguration):
    svnUrls = svnUrls
    emailAddresses = emailAddresses
    antTargets = [(baseSvnPath, "unit-tests"), (baseSvnPath, "release")]
    publishFilesBase = os.path.join(baseSvnPath, "release")
    publishFiles = ["*"]
    xmlJUnitResultsPatterns = [os.path.join(baseSvnPath, "reports", "*.xml")]<commit_msg>Update Decimate category name to include 'Reviki'<commit_after># -*- coding: utf-8 -*-
# vim: set ft=python :

import decimate.projects
from decimate.projects.svn import *
from decimate.projects.ant import *
from decimate.projects.statuspublishing import *
from decimate.projects.otherbuilds import *
from decimate.projects.emailnotify import *
from decimate.projects.filespublishing import *
from decimate.projects.junitpublishingant import *
from decimate.projects.cfl import *
from decimate.util import fileutil

import os
import re
import glob

thisProject = "Reviki"
emailAddresses = ["<EMAIL>"]
baseSvnPath = "reviki/trunk"
svnUrls = ["http://svn.reviki.org/svn/" + baseSvnPath]

web = urlImport("https://svn-dev.int.corefiling.com/svn/devel/decimate/sharedConfigs/trunk/web.py")


class RevikiProject(StatusPublishingProject):
    name = thisProject
    category = "3rd Party/Reviki"
    provides = {"default": "Build"}

    def getTestConfigurations(self):
        return [
            BuildDist("Build", platform = "linux2", jdk = "1.6"),
            WebTests("Web Tests", platform = "linux2", jdk = "1.6"),
            PublishedReleases("Published Releases", platform="linux2"),
         ]


class BuildDist(StatusPublishingTestConfiguration, SvnTestConfiguration, EmailTestConfiguration, JUnitPublishingAntTestConfiguration, AntTestConfiguration, ExpiringArchiveTestConfiguration, TriggerHostingTestConfiguration):
    svnUrls = svnUrls
    emailAddresses = emailAddresses
    antTargets = [(baseSvnPath, "unit-tests"), (baseSvnPath, "release")]
    publishFilesBase = os.path.join(baseSvnPath, "release")
    publishFiles = ["*"]
    xmlJUnitResultsPatterns = [os.path.join(baseSvnPath, "reports", "*.xml")]
{'fraction_non_alphanumeric': 0.1187039764359352, 'fraction_numerical': 0.005301914580265096, 'mean_word_length': 4.755932203389831, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5643224', 'n_tokens_mistral': 1046, 'n_tokens_neox': 1023, 'n_words': 215}