16245054 Auto-generation of Userland gate list - Phase 6
authorRich Burridge <rich.burridge@oracle.com>
Sat, 02 Feb 2013 09:38:05 -0800
changeset 1139 2fe2a52488cb
parent 1138 6e1f85fa0151
child 1140 501d8b6b07c2
16245054 Auto-generation of Userland gate list - Phase 6
make-rules/component-report
tools/gen-components
--- a/make-rules/component-report	Fri Feb 01 18:32:13 2013 -0800
+++ b/make-rules/component-report	Sat Feb 02 09:38:05 2013 -0800
@@ -4,6 +4,7 @@
 HGWEB_BASE_URL = http://userland.us.oracle.com/hg/file/tip/
 ARIA_BASE_URL = http://people.us.oracle.com/pls/oracle/find_person?p_string=
 ARC_BASE_URL = http://psarc.us.oracle.com/
+BUGDB_URL = http://userland.us.oracle.com/bugdb?cat-subcat=
 
 REPORT_TRANSFORMS = $(WS_TOP)/transforms/report
 CDIR=$(COMPONENT_DIR:$(WS_TOP)/%=%)
@@ -26,7 +27,7 @@
 	 done ; echo "</td>" >>$@
 	@echo "<td>$(TPNO)</td>" >>$@
 	@echo "<td>" >>$@ ; for bugdb in $(COMPONENT_BUGDB) ; do \
-	     echo "$$bugdb<br>" >>$@ ; \
+	     echo "<a href='$(BUGDB_URL)$$bugdb'>$$bugdb</a><br>" >>$@ ; \
 	 done ; echo "</td>" >>$@
 	@echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_ENGINEER)'>$(RESPONSIBLE_ENGINEER)</a></td>" >>$@
 	@echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_MANAGER)'>$(RESPONSIBLE_MANAGER)</a></td>" >>$@
--- a/tools/gen-components	Fri Feb 01 18:32:13 2013 -0800
+++ b/tools/gen-components	Sat Feb 02 09:38:05 2013 -0800
@@ -19,7 +19,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, Oracle and/or it's affiliates.  All rights reserved.
+# Copyright (c) 2012, 2013, Oracle and/or it's affiliates.  All rights reserved.
 #
 #
 # gen_components
@@ -237,7 +237,7 @@
     print  >> sys.stderr, \
 """
 Usage: 
-      update_man_pages.py [OPTION...]
+      gen-components [OPTION...]
 
 -d, --debug
       Turn on debugging
@@ -254,7 +254,7 @@
 
 if __name__ == "__main__":
     workspace = os.getenv('WS_TOP')
-    owners_file = "/net/userland.us.oracle.com/gates/private/RM-RE-list.txt"
+    owners_file = "/net/userland.us.oracle.com/gates/private/RE-RM-list.txt"
 
     try:
         opts, args = getopt.getopt(sys.argv[1:], "do:w:",