bass-o-matic revision 34
2035N/A# The contents of this file are subject to the terms of the 2035N/A# Common Development and Distribution License (the "License"). 2035N/A# You may not use this file except in compliance with the License. 2035N/A# See the License for the specific language governing permissions 2035N/A# and limitations under the License. 2035N/A# When distributing Covered Code, include this CDDL HEADER in each 2035N/A# If applicable, add the following below this CDDL HEADER, with the 2035N/A# fields enclosed by brackets "[]" replaced with your own identifying 2035N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5680N/A# Copyright (c) 2010, Oracle and/or it's affiliates. All rights reserved. 2035N/A# A simple program to enumerate components in the userland gate and report 2035N/A# on dependency related information. 2035N/A# Locate SCM directories containing Userland components by searching from 2035N/A# from a supplied top of tree for .p5m files. Once a .p5m file is located, 2035N/A# that directory is added to the list and no children are searched. # get supplied packages (cd path ; gmake print-package-names) # get supplied paths (cd path ; gmake print-package-paths) # get required paths (cd path ; gmake print-required-paths) print "Usage: %s [-c|--components=(path|depend)] [-z|--zone (zone)]" %
(sys.argv[0].split('/')[-1]) [ "debug", "workspace=", "components=", "make", "component=", "template-zone=" ]) if opt in [
"-w",
"--workspace" ]:
elif opt in [
"-l",
"--components" ]:
elif opt in [
"--make" ]:
elif opt in [
"--component" ]:
elif opt in [
"--template-zone" ]:
elif opt in [
"-d",
"--debug" ]: