[GenABEL-dev] [Genabel-commits] r714 - pkg/ABEL-general/scripts

Yurii Aulchenko yurii.aulchenko at gmail.com
Mon May 16 12:07:44 CEST 2011


This is rather smart, Lennart!

To keep others informed - 'scripts' contain bash-scripts which can be
used to build release versions of our packages (can be submitted to
CRAN, or installed locally under Linux/Unix). A bit of problem was
these scripts were written for me and by me and accessed SVN using my
RForge account, so anyone had to modify that prior to use.

You arrived to simple and elegant solution - instead of hard-code user
name or passing it as an argument, just go anonymous as SVN is
read-open for everyone. Now even people who have no RForge account can
do builds!

Does anyone want to submit GenABEL 1.6-7, where we fix convert.snp.ped
problem induced in 1.6-6 to CRAN? :)

Bw,
Yurii

On 5/15/11, noreply at r-forge.wu-wien.ac.at <noreply at r-forge.wu-wien.ac.at> wrote:
> Author: lckarssen
> Date: 2011-05-15 22:32:03 +0200 (Sun, 15 May 2011)
> New Revision: 714
>
> Modified:
>    pkg/ABEL-general/scripts/makedistrib_DatABEL.sh
>    pkg/ABEL-general/scripts/makedistrib_GenABEL.sh
>    pkg/ABEL-general/scripts/makedistrib_MixABEL.sh
>    pkg/ABEL-general/scripts/makedistrib_ProbABEL.sh
>    pkg/ABEL-general/scripts/makedistrib_VariABEL.sh
> Log:
> Edited the makedistrib scripts used for generating release tar-balls.
> - Added #!/bin/bash to each of them.
> - Removed reference to Yurii's/Maksim's accounts when calling svn export.
> Now using the anonymous SVN access.
>
>
>
> Modified: pkg/ABEL-general/scripts/makedistrib_DatABEL.sh
> ===================================================================
> --- pkg/ABEL-general/scripts/makedistrib_DatABEL.sh	2011-05-13 10:17:57 UTC
> (rev 713)
> +++ pkg/ABEL-general/scripts/makedistrib_DatABEL.sh	2011-05-15 20:32:03 UTC
> (rev 714)
> @@ -1,8 +1,8 @@
> -
> +#!/bin/bash
>  rm -rf DatABEL*
>  rm -rf filevector*
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/DatABEL
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/DatABEL
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
>  cd DatABEL
>  rm cleanup* configure* *.R
>  cd src
> @@ -19,4 +19,3 @@
>  cd ../..
>  R CMD check DatABEL
>  R CMD build DatABEL
> -
>
> Modified: pkg/ABEL-general/scripts/makedistrib_GenABEL.sh
> ===================================================================
> --- pkg/ABEL-general/scripts/makedistrib_GenABEL.sh	2011-05-13 10:17:57 UTC
> (rev 713)
> +++ pkg/ABEL-general/scripts/makedistrib_GenABEL.sh	2011-05-15 20:32:03 UTC
> (rev 714)
> @@ -1,10 +1,10 @@
> -
> +#!/bin/bash
>  rm -rf GenABEL*
>  rm -rf DatABEL DatABEL.*
>  rm -rf filevector*
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/DatABEL
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/GenABEL
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/DatABEL
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/GenABEL
>  cd GenABEL
>  rm cleanup* configure* *.R
>  cd src
> @@ -26,4 +26,3 @@
>  cd ..
>  R CMD check GenABEL
>  R CMD build GenABEL
> -
>
> Modified: pkg/ABEL-general/scripts/makedistrib_MixABEL.sh
> ===================================================================
> --- pkg/ABEL-general/scripts/makedistrib_MixABEL.sh	2011-05-13 10:17:57 UTC
> (rev 713)
> +++ pkg/ABEL-general/scripts/makedistrib_MixABEL.sh	2011-05-15 20:32:03 UTC
> (rev 714)
> @@ -1,10 +1,10 @@
> -
> +#!/bin/bash
>  rm -rf MixABEL*
>  rm -rf DatABEL DatABEL.*
>  rm -rf filevector*
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/DatABEL
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/MixABEL
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/DatABEL
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/MixABEL
>  cd MixABEL
>  rm cleanup* configure* *.R
>  cd src
> @@ -24,4 +24,3 @@
>  cd ../..
>  R CMD check MixABEL
>  R CMD build MixABEL
> -
>
> Modified: pkg/ABEL-general/scripts/makedistrib_ProbABEL.sh
> ===================================================================
> --- pkg/ABEL-general/scripts/makedistrib_ProbABEL.sh	2011-05-13 10:17:57 UTC
> (rev 713)
> +++ pkg/ABEL-general/scripts/makedistrib_ProbABEL.sh	2011-05-15 20:32:03 UTC
> (rev 714)
> @@ -1,9 +1,8 @@
> -
> +#!/bin/bash
>  rm -rf ProbABEL*
>  rm -rf filevector*
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/ProbABEL
> -svn export
> svn+ssh://yurii@svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/ProbABEL
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
>  cp -LR ProbABEL xx;rm -rf ProbABEL;mv xx ProbABEL
>  cd ProbABEL
>  make linux_distrib
> -
>
> Modified: pkg/ABEL-general/scripts/makedistrib_VariABEL.sh
> ===================================================================
> --- pkg/ABEL-general/scripts/makedistrib_VariABEL.sh	2011-05-13 10:17:57 UTC
> (rev 713)
> +++ pkg/ABEL-general/scripts/makedistrib_VariABEL.sh	2011-05-15 20:32:03 UTC
> (rev 714)
> @@ -1,10 +1,10 @@
> -
> +#!/bin/bash
>  rm -rf VariABEL*
>  rm -rf DatABEL DatABEL.*
>  rm -rf filevector*
> -svn export
> svn+ssh://maksim@svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
> -svn export
> svn+ssh://maksim@svn.r-forge.r-project.org/svnroot/genabel/pkg/DatABEL
> -svn export
> svn+ssh://maksim@svn.r-forge.r-project.org/svnroot/genabel/pkg/VariABEL
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/filevector
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/DatABEL
> +svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg/VariABEL
>  cd VariABEL
>  rm -f cleanup* configure* *.R
>  cd src
> @@ -24,4 +24,3 @@
>  cd ../..
>  R CMD check VariABEL
>  R CMD build VariABEL
> -
>
> _______________________________________________
> Genabel-commits mailing list
> Genabel-commits at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-commits
>

-- 
Sent from my mobile device


More information about the genabel-devel mailing list