Author: wade
Date: 2006-08-30 00:06:29 -0400 (Wed, 30 Aug 2006)
New Revision: 64530
Modified:
trunk/release/packaging/bundles/RELEASE
trunk/release/pyutils/packaging.py
trunk/release/website/distro-index
trunk/release/website/mk-sources-index.py
trunk/release/website/sources-index
Log:
bundles/RELEASE:
-Oops, bump this to 1.1.17
pyutils/packaging.py:
website/mk-sources-index.py:
-don't add components not listed in the bundle version map, when the map exists
-correctly select the latest source file when the version map exists,
and the component is listed, but with an empty string version
sources-index:
distro-index:
-pack mono-basic with mono instead of tools (where it was before)
Modified: trunk/release/packaging/bundles/RELEASE
===================================================================
--- trunk/release/packaging/bundles/RELEASE 2006-08-30 03:48:34 UTC (rev
64529)
+++ trunk/release/packaging/bundles/RELEASE 2006-08-30 04:06:29 UTC (rev
64530)
@@ -1,6 +1,6 @@
# Directory used when created go-mono.com/archive/<archive_version>
# This will need to be manually bumped each time on head... don't forget!!
-archive_version="1.1.16.1"
+archive_version="1.1.17"
bundle_urlname="latest"
Modified: trunk/release/pyutils/packaging.py
===================================================================
--- trunk/release/pyutils/packaging.py 2006-08-30 03:48:34 UTC (rev 64529)
+++ trunk/release/pyutils/packaging.py 2006-08-30 04:06:29 UTC (rev 64530)
@@ -452,7 +452,17 @@
# but that it won't apply to the source)
ver_wo_rel, =
re.compile("(.*)-?").search(self.bundle_obj.version_map[self.name]).groups(1)
# Can't include self.name as part of reg
because of cases like gtk-sharp-2.x
+
+ # Account for empty string versions, ex:
gtk-sharp=""
+ if ver_wo_rel == "":
+ ver_wo_rel = ".*?"
+
reg = re.compile(".*?-%s%s" % (ver_wo_rel,
config.sources_ext_re_string) )
+
+ # There's a version map, but this component isn't
listed, return nothing
+ elif self.bundle_obj.version_map_exists:
+ return ""
+ # There's no version map, get the latest
else:
reg = re.compile(".*")
Modified: trunk/release/website/distro-index
===================================================================
--- trunk/release/website/distro-index 2006-08-30 03:48:34 UTC (rev 64529)
+++ trunk/release/website/distro-index 2006-08-30 04:06:29 UTC (rev 64530)
@@ -9,7 +9,7 @@
! get_rpm_install
<h3>Mono</h3>
-# mono mono libgdiplus
+# mono mono mono-basic libgdiplus
<h3>XSP/mod_mono</h3>
# webserver xsp mod_mono
@@ -18,7 +18,7 @@
# gtk-sharp-1.0 gtk-sharp
<h3>Development Tools</h3>
-# devtools monodoc mono-tools gecko-sharp gecko-sharp-2.0
gtksourceview-sharp-2.0 monodevelop boo ikvm mono-debugger heap-buddy nant
ironpython mono-basic
+# devtools monodoc mono-tools gecko-sharp gecko-sharp-2.0
gtksourceview-sharp-2.0 monodevelop boo ikvm mono-debugger heap-buddy nant
ironpython
<h3>Gtk# 2</h3>
# gtk-sharp-2.0 gtk-sharp-2.0 gtk-sharp-2.8
Modified: trunk/release/website/mk-sources-index.py
===================================================================
--- trunk/release/website/mk-sources-index.py 2006-08-30 03:48:34 UTC (rev
64529)
+++ trunk/release/website/mk-sources-index.py 2006-08-30 04:06:29 UTC (rev
64530)
@@ -42,7 +42,10 @@
tarballs = []
for pack in args:
pack_obj = packaging.package("", pack,
bundle_obj=bundle_conf, source_basepath=sources_dir)
- tarballs.append(pack_obj.get_source_file())
+ source_file = pack_obj.get_source_file()
+ # Skip if there is no source for this bundle
+ if source_file:
+ tarballs.append(source_file)
print tarballs
Modified: trunk/release/website/sources-index
===================================================================
--- trunk/release/website/sources-index 2006-08-30 03:48:34 UTC (rev 64529)
+++ trunk/release/website/sources-index 2006-08-30 04:06:29 UTC (rev 64530)
@@ -7,7 +7,7 @@
<h1>Mono [[version]] Sources</h1>
<h3>Mono</h3>
-# mono libgdiplus
+# mono mono-basic libgdiplus
<h3>XSP/mod_mono</h3>
# xsp mod_mono
@@ -16,7 +16,7 @@
# gtk-sharp
<h3>Development Tools</h3>
-# monodoc mono-tools gecko-sharp gecko-sharp-2.0 gtksourceview-sharp-2.0
monodevelop boo ikvm mono-debugger heap-buddy cocoa-sharp nant ironpython
mono-basic
+# monodoc mono-tools gecko-sharp gecko-sharp-2.0 gtksourceview-sharp-2.0
monodevelop boo ikvm mono-debugger heap-buddy cocoa-sharp nant ironpython
<h3>Gtk# 2</h3>
# gtk-sharp-2.0 gtk-sharp-2.8
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches