Author: wade
Date: 2007-10-17 11:44:09 -0400 (Wed, 17 Oct 2007)
New Revision: 87695
Modified:
trunk/release/monobuild/www/python/monobuild.py
trunk/release/packaging/
trunk/release/packaging/defs/mono-1.1.13
trunk/release/packaging/defs/mono-1.1.7
trunk/release/packaging/defs/mono-1.1.8
trunk/release/pyutils/build.py
Log:
add disable_webview keyword so you can select
what kinds of things show up on the webview
pyutils/build.py:
monobuild/www/python/monobuild.py:
-implement above
(also, ignore distro_source_key.pub as well)
Modified: trunk/release/monobuild/www/python/monobuild.py
===================================================================
--- trunk/release/monobuild/www/python/monobuild.py 2007-10-17 15:38:54 UTC
(rev 87694)
+++ trunk/release/monobuild/www/python/monobuild.py 2007-10-17 15:44:09 UTC
(rev 87695)
@@ -34,7 +34,7 @@
# Pull this in from the release repo
plat_objs = build.get_platform_objs()
- pack_objs, noarch_pack_objs = build.get_package_objs()
+ pack_objs, noarch_pack_objs =
build.get_package_objs(honor_disable_webview=True)
req.content_type = "text/html"
Property changes on: trunk/release/packaging
___________________________________________________________________
Name: svn:ignore
- packages
snapshot_packages
snapshot_zip_packages
zip_packages
external_zip_pkg
external_packages
logs
sources
snapshot_sources
tarball_map
distro_source_key
.smbpass
+ packages
snapshot_packages
snapshot_zip_packages
zip_packages
external_zip_pkg
external_packages
logs
sources
snapshot_sources
tarball_map
distro_source_key
distro_source_key.pub
.smbpass
Modified: trunk/release/packaging/defs/mono-1.1.13
===================================================================
--- trunk/release/packaging/defs/mono-1.1.13 2007-10-17 15:38:54 UTC (rev
87694)
+++ trunk/release/packaging/defs/mono-1.1.13 2007-10-17 15:44:09 UTC (rev
87695)
@@ -1,5 +1,7 @@
#web_index=1
+disable_webview=1
+
def_alias="mono"
version_selection_reg="1\.1\.13\.\d+"
Modified: trunk/release/packaging/defs/mono-1.1.7
===================================================================
--- trunk/release/packaging/defs/mono-1.1.7 2007-10-17 15:38:54 UTC (rev
87694)
+++ trunk/release/packaging/defs/mono-1.1.7 2007-10-17 15:44:09 UTC (rev
87695)
@@ -1,5 +1,7 @@
#web_index=2
+disable_webview=1
+
def_alias="mono"
version_selection_reg="1\.1\.7\.\d+"
Modified: trunk/release/packaging/defs/mono-1.1.8
===================================================================
--- trunk/release/packaging/defs/mono-1.1.8 2007-10-17 15:38:54 UTC (rev
87694)
+++ trunk/release/packaging/defs/mono-1.1.8 2007-10-17 15:44:09 UTC (rev
87695)
@@ -1,5 +1,7 @@
#web_index=3
+disable_webview=1
+
def_alias="mono"
version_selection_reg="1\.1\.8\.\d+"
Modified: trunk/release/pyutils/build.py
===================================================================
--- trunk/release/pyutils/build.py 2007-10-17 15:38:54 UTC (rev 87694)
+++ trunk/release/pyutils/build.py 2007-10-17 15:44:09 UTC (rev 87695)
@@ -89,7 +89,7 @@
return packages
-def get_package_objs():
+def get_package_objs(honor_disable_webview=False):
"""Returns two lists: packages, noarch_packages."""
packages = get_packages()
@@ -101,6 +101,9 @@
# Don't try to create the dirs and links because this code is
run by the web server
pack_obj = packaging.package("", package,
create_dirs_links=False)
+ if honor_disable_webview and
pack_obj.get_info_var("disable_webview"):
+ continue
+
# Handle normal package
# Add workaround for packages that build on multiple platforms,
but are noarch (currently mono-basic)
if pack_obj.info['get_destroot'].find('noarch') == -1 or
pack_obj.get_info_var('web_ignore_noarch'):
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches