[Patchwork-commits] r157 - .git .git/logs .git/logs/refs/heads .git/logs/refs/remotes/origin .git/refs/heads .git/refs/remotes/origin pkg/patchwork/R pkg/patchwork/inst/python
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jan 21 14:57:04 CET 2013
Author: sebastian_d
Date: 2013-01-21 14:57:04 +0100 (Mon, 21 Jan 2013)
New Revision: 157
Added:
pkg/patchwork/inst/python/vercheck.py
Modified:
.git/COMMIT_EDITMSG
.git/index
.git/logs/HEAD
.git/logs/refs/heads/master
.git/logs/refs/remotes/origin/master
.git/refs/heads/master
.git/refs/remotes/origin/master
pkg/patchwork/R/zzz.R
Log:
minor update
Modified: .git/COMMIT_EDITMSG
===================================================================
--- .git/COMMIT_EDITMSG 2013-01-21 12:12:34 UTC (rev 156)
+++ .git/COMMIT_EDITMSG 2013-01-21 13:57:04 UTC (rev 157)
@@ -1 +1 @@
-some documentation updates aswell as homepage updates
+minor update
Modified: .git/index
===================================================================
(Binary files differ)
Modified: .git/logs/HEAD
===================================================================
--- .git/logs/HEAD 2013-01-21 12:12:34 UTC (rev 156)
+++ .git/logs/HEAD 2013-01-21 13:57:04 UTC (rev 157)
@@ -24,3 +24,5 @@
eb98d72bfc02cfe4a0b30f1a2a0a64107444e40a c7cdeb76a91652d654a622c343d9d40a38d673bb Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1354272864 +0100 commit: more fixes regarding assignAI
c7cdeb76a91652d654a622c343d9d40a38d673bb 684bd069c85e2e51e3e570ea00e9b586993e694b Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1357295102 +0100 commit: update to patchwork.alleledata function in patchwork. Also updated documentation for mpileup usage
684bd069c85e2e51e3e570ea00e9b586993e694b 53e574e96950a119539b737b489262ce265a1c72 Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1357296550 +0100 commit: some documentation updates aswell as homepage updates
+53e574e96950a119539b737b489262ce265a1c72 c39f1b06a56367684e8062040df7214da6a79455 Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1358770531 +0100 commit: uncomment of line to generate normalalf
+c39f1b06a56367684e8062040df7214da6a79455 8d49ce11a9941d73d7be44948f908a139958e029 Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1358776614 +0100 commit: minor update
Modified: .git/logs/refs/heads/master
===================================================================
--- .git/logs/refs/heads/master 2013-01-21 12:12:34 UTC (rev 156)
+++ .git/logs/refs/heads/master 2013-01-21 13:57:04 UTC (rev 157)
@@ -24,3 +24,5 @@
eb98d72bfc02cfe4a0b30f1a2a0a64107444e40a c7cdeb76a91652d654a622c343d9d40a38d673bb Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1354272864 +0100 commit: more fixes regarding assignAI
c7cdeb76a91652d654a622c343d9d40a38d673bb 684bd069c85e2e51e3e570ea00e9b586993e694b Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1357295102 +0100 commit: update to patchwork.alleledata function in patchwork. Also updated documentation for mpileup usage
684bd069c85e2e51e3e570ea00e9b586993e694b 53e574e96950a119539b737b489262ce265a1c72 Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1357296550 +0100 commit: some documentation updates aswell as homepage updates
+53e574e96950a119539b737b489262ce265a1c72 c39f1b06a56367684e8062040df7214da6a79455 Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1358770531 +0100 commit: uncomment of line to generate normalalf
+c39f1b06a56367684e8062040df7214da6a79455 8d49ce11a9941d73d7be44948f908a139958e029 Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1358776614 +0100 commit: minor update
Modified: .git/logs/refs/remotes/origin/master
===================================================================
--- .git/logs/refs/remotes/origin/master 2013-01-21 12:12:34 UTC (rev 156)
+++ .git/logs/refs/remotes/origin/master 2013-01-21 13:57:04 UTC (rev 157)
@@ -24,3 +24,5 @@
eb98d72bfc02cfe4a0b30f1a2a0a64107444e40a c7cdeb76a91652d654a622c343d9d40a38d673bb Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1354272883 +0100 update by push
c7cdeb76a91652d654a622c343d9d40a38d673bb 684bd069c85e2e51e3e570ea00e9b586993e694b Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1357295117 +0100 update by push
684bd069c85e2e51e3e570ea00e9b586993e694b 53e574e96950a119539b737b489262ce265a1c72 Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1357296561 +0100 update by push
+53e574e96950a119539b737b489262ce265a1c72 c39f1b06a56367684e8062040df7214da6a79455 Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1358770546 +0100 update by push
+c39f1b06a56367684e8062040df7214da6a79455 8d49ce11a9941d73d7be44948f908a139958e029 Sebastian DiLorenzo <dilorenzo.sebastian at gmail.com> 1358776628 +0100 update by push
Modified: .git/refs/heads/master
===================================================================
--- .git/refs/heads/master 2013-01-21 12:12:34 UTC (rev 156)
+++ .git/refs/heads/master 2013-01-21 13:57:04 UTC (rev 157)
@@ -1 +1 @@
-53e574e96950a119539b737b489262ce265a1c72
+8d49ce11a9941d73d7be44948f908a139958e029
Modified: .git/refs/remotes/origin/master
===================================================================
--- .git/refs/remotes/origin/master 2013-01-21 12:12:34 UTC (rev 156)
+++ .git/refs/remotes/origin/master 2013-01-21 13:57:04 UTC (rev 157)
@@ -1 +1 @@
-53e574e96950a119539b737b489262ce265a1c72
+8d49ce11a9941d73d7be44948f908a139958e029
Modified: pkg/patchwork/R/zzz.R
===================================================================
--- pkg/patchwork/R/zzz.R 2013-01-21 12:12:34 UTC (rev 156)
+++ pkg/patchwork/R/zzz.R 2013-01-21 13:57:04 UTC (rev 157)
@@ -3,9 +3,22 @@
packageStartupMessage("\n")
packageStartupMessage("Welcome to patchwork.")
packageStartupMessage("\n")
- packageStartupMessage("Version: ",utils::packageDescription('patchwork')$Version)
- packageStartupMessage("\n")
- packageStartupMessage("If this is your first time running patchwork you should visit the")
- packageStartupMessage("homepage at (http://patchwork.r-forge.r-project.org/) or see ?patchwork.readme")
- packageStartupMessage("or the README file found at the install location of patchwork/inst/README")
+ # This was an attempt to check if patchwork needed updating. It failed. Running python in onLoad is not trivial.
+ # if(system(paste("python ",getwd(),"/inst/python/vercheck.py",sep=""),intern=T) != utils::packageDescription('patchwork')$Version)
+ # {
+ # packageStartupMessage("Patchwork is not up to date, please update at:")
+ # packageStartupMessage("http://patchwork.r-forge.r-project.org/")
+ # packageStartupMessage("or using: update.packages(repos="http://R-Forge.R-project.org")")
+ # packageStartupMessage("\n")
+ # }
+ # else
+ # {
+ packageStartupMessage("Version: ",utils::packageDescription('patchwork')$Version)
+ packageStartupMessage("\n")
+ packageStartupMessage("If this is your first time running patchwork you should visit the")
+ packageStartupMessage("homepage at (http://patchwork.r-forge.r-project.org/) or see ?patchwork.readme")
+ packageStartupMessage("or the README file found at the install location of patchwork/inst/README")
+ packageStartupMessage("\n")
+ packageStartupMessage("Remember to keep patchwork up to date: update.packages(repos=\"http://R-Forge.R-project.org\")")
+ # }
}
Added: pkg/patchwork/inst/python/vercheck.py
===================================================================
--- pkg/patchwork/inst/python/vercheck.py (rev 0)
+++ pkg/patchwork/inst/python/vercheck.py 2013-01-21 13:57:04 UTC (rev 157)
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+
+# import libraries
+import urllib2
+import re
+
+
+### MAKE SURE THIS URL IS CORRECT
+# fetch the html from the package's r-forge page
+html = urllib2.urlopen('https://r-forge.r-project.org/R/?group_id=1250', timeout = 2).read()
+
+
+# parse the html for the version number
+match = re.search('Version: <b>(.+)</b>', html)
+
+# print the version number if found
+if match:
+ print match.groups()[0]
+
More information about the Patchwork-commits
mailing list