[Checkins] SVN: van.reposync/trunk/ prepare release and fix 2 simple bugs that made this software totally useless...

Brian Sutherland jinty at web.de
Mon Jun 15 09:49:01 EDT 2009


Log message for revision 101003:
  prepare release and fix 2 simple bugs that made this software totally useless...

Changed:
  U   van.reposync/trunk/CHANGES.txt
  U   van.reposync/trunk/setup.py
  U   van.reposync/trunk/van/reposync/__init__.py
  U   van.reposync/trunk/van/reposync/tests/sync.txt

-=-
Modified: van.reposync/trunk/CHANGES.txt
===================================================================
--- van.reposync/trunk/CHANGES.txt	2009-06-15 13:48:58 UTC (rev 101002)
+++ van.reposync/trunk/CHANGES.txt	2009-06-15 13:49:01 UTC (rev 101003)
@@ -1,10 +1,11 @@
 Changes
 =======
 
-1.0.1 (unreleased)
+1.0.1 (2009-06-15)
 ------------------
 
-* None Yet.
+* Fix buildout versions file syntax.
+* Use a very simple layout of pypi repository. All the tarballs in one directory.
 
 1.0.0 (2009-06-15)
 ------------------

Modified: van.reposync/trunk/setup.py
===================================================================
--- van.reposync/trunk/setup.py	2009-06-15 13:48:58 UTC (rev 101002)
+++ van.reposync/trunk/setup.py	2009-06-15 13:49:01 UTC (rev 101003)
@@ -23,7 +23,7 @@
       long_description=long_description,
       author="Vanguardistas",
       url='http://pypi.python.org/pypi/van.reposync',
-      version='1.0.1dev',
+      version='1.0.1',
       license = 'ZPL 2.1',
       packages=find_packages(),
       entry_points = {'console_scripts': ['van-reposync = van.reposync:main',]},

Modified: van.reposync/trunk/van/reposync/__init__.py
===================================================================
--- van.reposync/trunk/van/reposync/__init__.py	2009-06-15 13:48:58 UTC (rev 101002)
+++ van.reposync/trunk/van/reposync/__init__.py	2009-06-15 13:49:01 UTC (rev 101003)
@@ -122,7 +122,7 @@
         introspected = set([])
         for pool_file, bin_package_name in tarballs_to_get:
             assert pool in pool_file
-            pypi_path = os.path.dirname(pool_file).replace(pool, pypi_simple)
+            pypi_path = pypi_simple # just put all the tarballs in one directory for now.
             pool_metadata_filename = '%s.reposync' % pool_file
             if exists(pool_metadata_filename):
                 continue # we already introspected this file, but for another package name
@@ -163,7 +163,7 @@
             if pool_metadata == 'XXX':
                 continue
             py_project_name, py_version, py_filename = pool_metadata.splitlines()[0].split()
-            bo_file.append("    %s = %s" % (py_project_name, py_version))
+            bo_file.append("%s = %s" % (py_project_name, py_version))
         bo_file.sort()
         bo_file.insert(0, '[versions]')
         logger.info("Writing out buildout versions to: %s" % join(context.pypi_root, "buildout_versions.cfg"))

Modified: van.reposync/trunk/van/reposync/tests/sync.txt
===================================================================
--- van.reposync/trunk/van/reposync/tests/sync.txt	2009-06-15 13:48:58 UTC (rev 101002)
+++ van.reposync/trunk/van/reposync/tests/sync.txt	2009-06-15 13:49:01 UTC (rev 101003)
@@ -51,8 +51,8 @@
 
     >>> lookin('synced1', 'pypi', 'buildout_versions.cfg')
     [versions]
-        van.pydeb = 1.2.0
-        zope.component = 3.7.0
+    van.pydeb = 1.2.0
+    zope.component = 3.7.0
 
 Looking inside both, we can see that the "simple" directory just links tarballs:
 



More information about the Checkins mailing list