[Phpmyadmin-git] [SCM] phpMyAdmin website branch, master, updated. 7906ccb004cfb86562481266d751edd2937d687f

Michal Čihař nijel at users.sourceforge.net
Thu Mar 11 15:15:59 CET 2010


The branch, master has been updated
       via  7906ccb004cfb86562481266d751edd2937d687f (commit)
       via  2b8be0b714090252db74f8ddec3d20519633bc48 (commit)
      from  9ad083429ad1ea1688102664ef06897a2f6b744f (commit)


- Log -----------------------------------------------------------------
commit 7906ccb004cfb86562481266d751edd2937d687f
Author: Michal Čihař <mcihar at novell.com>
Date:   Thu Mar 11 15:15:47 2010 +0100

    Use Git snapshots.

commit 2b8be0b714090252db74f8ddec3d20519633bc48
Author: Michal Čihař <mcihar at novell.com>
Date:   Thu Mar 11 15:14:14 2010 +0100

    Add cache dir.

-----------------------------------------------------------------------

Summary of changes:
 render.py          |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
 create mode 100644 cache/.placeholder

diff --git a/cache/.placeholder b/cache/.placeholder
new file mode 100644
index 0000000..e69de29
diff --git a/render.py b/render.py
index 59972a3..4553815 100755
--- a/render.py
+++ b/render.py
@@ -93,8 +93,8 @@ RSS_CZ = 'http://phpmyadmin.cz/rss.xml'
 RSS_RU = 'http://php-myadmin.ru/rss/news.xml'
 
 # Data sources
-SVN_MD5 = 'http://dl.cihar.com/phpMyAdmin/trunk/md5.sums'
-SVN_SIZES = 'http://dl.cihar.com/phpMyAdmin/trunk/files.list'
+SNAPSHOT_MD5 = 'http://dl.cihar.com/phpMyAdmin/master/md5.sums'
+SNAPSHOT_SIZES = 'http://dl.cihar.com/phpMyAdmin/master/files.list'
 
 # Clean output before generating
 CLEAN_OUTPUT = True
@@ -470,8 +470,8 @@ class SFGenerator:
         '''
         Retrieves SVN snapshots info and fills it in data['releases_svn'].
         '''
-        md5_strings = self.urls.load(SVN_MD5).split('\n')
-        size_strings = self.urls.load(SVN_SIZES).split('\n')
+        md5_strings = self.urls.load(SNAPSHOT_MD5).split('\n')
+        size_strings = self.urls.load(SNAPSHOT_SIZES).split('\n')
         md5s = {}
         for line in md5_strings:
             if line.strip() == '':
@@ -489,7 +489,7 @@ class SFGenerator:
                 'size_k' : int(size) / 1024,
                 'size_m' : int(size) / (1024 * 1024),
                 'humansize' : fmt_bytes(size),
-                'url' : 'http://dl.cihar.com.nyud.net/phpMyAdmin/trunk/%s' % name,
+                'url' : 'http://dl.cihar.com.nyud.net/phpMyAdmin/master/%s' % name,
                 'md5' : md5s[name],
             })
         self.data['release_svn'] = svn


hooks/post-receive
-- 
phpMyAdmin website




More information about the Git mailing list