<commit_before><?xml version="1.0"?>
<!--

Targets for checking out dependencies for the healthchecks.

Use

	ant clean

to delete the directory with the checkouts.

-->
<project name="checkoutDependencies" default="checkoutPerlDependencies" basedir="..">

	<property file="buildfiles/build.properties" />

	<!--
		Directory where checkout will be placed
	-->
	<property name="perlDependencyCheckoutDir" value="perlcode" />

        <target 
		name        = "checkoutPerlDependencies" 
		description = "" 
		depends     = "checkoutBioperlDependency, checkoutEnsemblDependency"
	/>

	<!--
		All checkouts go into this directory
	-->
        <target name="createPerlDependencyDir" description="">
		<mkdir dir="${perlDependencyCheckoutDir}" />
	</target>

	<!--
		Deletes the directory with the checkouts
	-->
        <target name="clean" description="">
		<delete dir="${perlDependencyCheckoutDir}"/>
	</target>

	<!--
		Checkouts of the Ensembl API
	-->
        <target name="checkoutEnsemblDependency" description="" depends="createPerlDependencyDir">

		<property name="ensemblRevisionOption"     value="-r branch-ensembl-60" />
		<property name="ensemblCvsRoot"            value=":pserver:cvsuser:<EMAIL>:/cvsroot/ensembl" />

		<cvs 
			cvsRoot="${ensemblCvsRoot}" 
			command="checkout -d ${perlDependencyCheckoutDir}/ensembl ${ensemblRevisionOption} ensembl"
		/>
		<cvs 
			cvsRoot="${ensemblCvsRoot}" 
			command="checkout -d ${perlDependencyCheckoutDir}/ensembl-variation ${ensemblRevisionOption} ensembl-variation"
		/>
	</target>

	<!--
		Checkouts of Bioperl
	-->
        <target name="checkoutBioperlDependency" description="" depends="createPerlDependencyDir">

		<mkdir dir="${perlDependencyCheckoutDir}"/>

		<!--
		<property name="bioperlRoot"            value=":pserver:<EMAIL>:/home/repository/bioperl" />
		<cvs 
			cvsRoot="${bioperlRoot}" 
			command="checkout -d ${bioperlRoot}/bioperl-live -r bioperl-release-1-2-3 bioperl-live"
		/>
		-->

		<exec dir="." executable="wget" os="Linux">
		  <arg line="bioperl.org/DIST/old_releases/bioperl-1.2.3.tar.gz"/>
		</exec>

		<exec dir="." executable="tar" os="Linux">
		  <arg line="--directory perlcode/ -xzvf bioperl-1.2.3.tar.gz"/>
		</exec>

	</target>

</project>

<commit_msg>Bugfix that renames the bioperl directory so perl finds it.<commit_after><?xml version="1.0"?>
<!--

Targets for checking out dependencies for the healthchecks.

Use

	ant clean

to delete the directory with the checkouts.

-->
<project name="checkoutDependencies" default="checkoutPerlDependencies" basedir="..">

	<property file="buildfiles/build.properties" />

	<!--
		Directory where checkout will be placed
	-->
	<property name="perlDependencyCheckoutDir" value="perlcode" />

        <target 
		name        = "checkoutPerlDependencies" 
		description = "" 
		depends     = "checkoutBioperlDependency, checkoutEnsemblDependency"
	/>

	<!--
		All checkouts go into this directory
	-->
        <target name="createPerlDependencyDir" description="">
		<mkdir dir="${perlDependencyCheckoutDir}" />
	</target>

	<!--
		Deletes the directory with the checkouts
	-->
        <target name="clean" description="">
		<delete dir="${perlDependencyCheckoutDir}"/>
	</target>

	<!--
		Checkouts of the Ensembl API
	-->
        <target name="checkoutEnsemblDependency" description="" depends="createPerlDependencyDir">

		<property name="ensemblRevisionOption"     value="-r branch-ensembl-62" />
		<property name="ensemblCvsRoot"            value=":pserver:cvsuser:<EMAIL>:/cvsroot/ensembl" />

		<cvs 
			cvsRoot="${ensemblCvsRoot}" 
			command="checkout -d ${perlDependencyCheckoutDir}/ensembl ${ensemblRevisionOption} ensembl"
		/>
		<cvs 
			cvsRoot="${ensemblCvsRoot}" 
			command="checkout -d ${perlDependencyCheckoutDir}/ensembl-variation ${ensemblRevisionOption} ensembl-variation"
		/>
	</target>

	<!--
		Checkouts of Bioperl
	-->
        <target name="checkoutBioperlDependency" description="" depends="createPerlDependencyDir">

		<mkdir dir="${perlDependencyCheckoutDir}"/>

		<exec dir="." executable="wget" os="Linux">
		  <arg line="bioperl.org/DIST/old_releases/bioperl-1.2.3.tar.gz" />
		</exec>

		<exec dir="." executable="tar" os="Linux">
		  <arg line="--directory perlcode/ -xzvf bioperl-1.2.3.tar.gz" />
		</exec>

		<exec dir="." executable="mv" os="Linux">
		  <arg line="perlcode/bioperl-1.2.3/ perlcode/bioperl" />
		</exec>

	</target>

</project>


{'fraction_non_alphanumeric': 0.15697805926261027, 'fraction_numerical': 0.005881022393123728, 'mean_word_length': 3.8646864686468647, 'pattern_counts': {'":': 3, '<': 78, '<?xml version=': 2, '>': 78, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2966332', 'n_tokens_mistral': 1603, 'n_tokens_neox': 1422, 'n_words': 278}