gen-components revision 5404
0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 2362N/A# You may not use this file except in compliance with the License. 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 0N/A# fields enclosed by brackets "[]" replaced with your own identifying 0N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2362N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. 0N/A# Hashtable of RE's, RM's and Teams keyed by component path. 0N/A# Initial HTML for the generated web page. 0N/A background-color: gold; 0N/A $('#components').dataTable({ 0N/A aLengthMenu: [ [ 10, 50, -1], [ 10, 50, 'All'] ] 0N/A<h1>Userland Components</h1> 0N/A<table align='center' id='components'> 0N/A <th>ARC Case(s)</th> 0N/A# Final HTML for the generated web page. 0N/A# Get a complete list of package names for the repo associated with this 0N/A# Userland workspace. 0N/A# Return a hashtable of RE's, RM's and Teams keyed by component path. 0N/A# Return a sorted list of the directories containing one or more .p5m files. 0N/A# Return the RE, RM and Team for this component. 0N/A# Generate an HTML table entry for all the information for the component 0N/A# in the given directory. This generates a file called 'component-report' 0N/A# under the components build directory. 0N/A template +=
"gmake COMPONENT_HOOK='gmake %s component-report' %s" 0N/A# The package name(s) in the component-report files will be incorrectly 0N/A# generated if there was a <whatever>VER.p5m file in the component 0N/A# directory. For those components we've got to use the package names 0N/A# from the repo associated with this Userland workspace. 0N/A# Write out a usage message showing valid options to this script. 0N/A gen-components [OPTION...] 0N/A Build version script to look for (and strip off) from package FMRIs. 0N/A Location of a file containing a list of RE's /RM's per component 0N/A Repo containing the packages associated with this Userland workspace 0N/A Location of the Userland workspace 0N/A [ "build-version=", "debug", "owners=", "repo=", "workspace=" ])