lsstream
Lists information about one or more streams
Applicability
Product |
Command type |
---|---|
VersionVault |
cleartool subcommand |
VersionVault Remote Client |
rcleartool subcommand |
Platform |
---|
UNIX® |
Linux® |
Windows® |
Synopsis
- VersionVault: lists information about one or
more streams:
- lsstream [ –s/hort | –l/ong | –fmt format-string
- | –tre/e [ –fmt
format-string ] [ –dep/th
depth ]
| –anc/estor [ –fmt format-string ] [ –dep/th depth ] ] [ –obs/olete ]
[ –inv/ob vob-selector | –in { project-selector | stream-selector [ –r/ecurse ] }
| –vie/w view-tag | –cvi/ew | stream-selector ... ]
- VersionVault Remote Client: lists information
about one or more streams:
- lsstream [ –s/hort | –l/ong | –tre/e [ –dep/th depth ] ]
-
| –anc/estor [ –dep/th depth ] ] [ –obs/olete ]
[ –inv/ob vob-selector | –in { project-selector | stream-selector [ –r/ecurse ] }
| –vie/w view-tag | –cvi/ew | stream-selector ... ]
- VersionVault: lists information about the
integration stream template:
- lsstream –template
- [–long ] [–invob vob-selector]
Description
The lsstream command displays information about one or more streams.
Restrictions
None.
Options and arguments
Selecting a display format
- Default
- One-line summary.
- –s/hort
- Displays only the name of each stream.
- –l/ong
- Displays the following information for each stream:
- Name
- The associated project
- An indicator if a Read-Only stream
- The default deliver stream
- Title (if different from the name)
- Child development streams
- Activities
- Foundation baselines
- Recommended baselines
- Attached views
- Policies
- Effective policies (policies set by project but not by stream)
- Baseline naming template
- –fmt format-string
- Displays information in the specified format. For details, see the fmt_ccase reference page.
- –tre/e [ –fmt format-string ] [ –dep/th depth ]
- Displays information for a stream, including its hierarchy of
streams and activities. You can modify how information is displayed
with the –fmt and –depth options.
The –fmt option presents information using the specified format string. For details, see the fmt_ccase reference page.
The –depth option specifies the number of levels to be displayed. The depth argument must be a positive integer.
- –anc/estor [ –fmt format-string ] [ –dep/th depth ]
- Displays information for a stream, including its containing project
and folders. You can modify how information is displayed with the –fmt and
–depth options.
The –fmt option presents information using the specified format string. For details, see the fmt_ccase reference page.
The –depth option sets the number of levels displayed. The depth argument must be a positive integer.
Listing obsolete streams
- Default
- Lists only nonobsolete streams.
- –obs/olete
- Includes obsolete streams in the listing. Obsolete streams are those that have been processed with lock –obsolete.
Specifying the stream
- Default
- –cview .
- –inv/ob vob-selector
- Displays a list of all streams in the specified project VOB.
- –in { project-selector | stream-selector [ –r/ecurse ] }
- Displays a list of all streams for the specified project, or a list of child streams for the specified stream. With –r/ecurse, includes children of child streams.
- –vie/w view-tag
- Displays information for the stream connected to the specified view.
- –cvi/ew
- Displays information for the stream connected to the current view.
- stream-selector ...
- Displays information for specified stream or streams.
You can specify the stream as a simple name or as an object selector of the form [stream]:name @ vob-selector, where vob-selector specifies a project VOB. If you specify a simple name and the current directory is not a project VOB, this command assumes that the stream resides in the project VOB associated with the current view. If the current directory is a project VOB, that project VOB is the context for identifying the stream.
Listing information for the integration stream template
- –template
- Lists information for the integration stream template.
- –long
- Displays a long description of the template.
- –invob vob-selector
- Displays the integration stream template for the specified project VOB.
Examples
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
- Display a one-line summary of
the stream attached to the specified view.
cmd-context lsstream –view java_int
2007-09-17T11:54:50 java_int bill "Deliver your changes here" - On a UNIX® or Linux® system,
for all streams in the project VOB, display a detailed listing for
the current stream using a tree format. The asterisk (*) indicates java_int is
the stream attached to the current view.
# cd /vobs_core_projects
cmd-context lsstream -tree
*java_int stream "Deliver your changes here"
rebase.java_int.20070917.132524 activity "rebase Deliver your
changes here on 2007-09-17T13:25:24."
activity20070917.133218 activity "activity20070917.133218"
activity20070917.133255 activity "my new activity"
new_activity activity "new_activity"
toms_edit activity "toms_edit"
activity20070917.134751 activity "activity20070917.134751"
deliver.java_dev.20070917.140443 activity "deliver java_dev
on 2007-09-17T14:04:43."
deliver.java_dev.19990917.141046 activity "deliver java_dev
on 2007-09-17T14:10:46."
java_dev stream "java_dev"
activity990917.140331 activity "activity990917.140331" - Display a detailed listing for development stream
p7_sheila_devstr1.
cmd-context lsstream -long p7_sheila_devstr1
stream "p7_sheila_devstr1"
2007-02-19T17:43:33 by Sheila Hunt (sheila.usr@echo01)
owner: sheila
group: user
project: p7@/vobs/sheila_testvob
default deliver stream: int7@/vobs/sheila_testpvob
development streams:
p7_kevin_devstr11@/vobs/sheila_testpvob
contains activities:
dact14@/vobs/sheila_testpvob
foundation baselines:
bld.bl3.161@/vobs/sheila_testpvob (c1@/vobs/sheila_testpvob)
(modifiable)
bld.bl2.181@/vobs/sheila_testpvob (c2@/vobs/sheila_testpvob)
(modifiable)
recommended baselines:
devstr.bl1.212
bld.bl2.181
views:
sheila_p7_devstr1
policies:
POLICY_DELIVER_REQUIRE_REBASE disabled
POLICY_DELIVER_NCO_DEVSTR disabled
POLICY_INTRAPROJECT_DELIVER_FOUNDATION_CHANGES disabled
POLICY_INTRAPROJECT_DELIVER_ALLOW_MISSING_TGTCOMPS disabled
POLICY_INTERPROJECT_DELIVER disabled
POLICY_INTERPROJECT_DELIVER_FOUNDATION_CHANGES disabled
POLICY_INTERPROJECT_DELIVER_REQUIRE_TGTCOMP_VISIBILITY disabled
POLICY_INTERPROJECT_DELIVER_ALLOW_NONMOD_TGTCOMPS disabled
policies (effective):
POLICY_DELIVER_REQUIRE_REBASE disabled
POLICY_DELIVER_NCO_DEVSTR disabled
POLICY_INTRAPROJECT_DELIVER_FOUNDATION_CHANGES disabled
POLICY_INTRAPROJECT_DELIVER_ALLOW_MISSING_TGTCOMPS disabled
POLICY_INTERPROJECT_DELIVER disabled
POLICY_INTERPROJECT_DELIVER_FOUNDATION_CHANGES disabled
POLICY_INTERPROJECT_DELIVER_REQUIRE_TGTCOMP_VISIBILITY disabled
POLICY_INTERPROJECT_DELIVER_ALLOW_NONMOD_TGTCOMPS enabled
baseline naming template: component_project_date_time - Display a detailed listing for Read-Only stream
rebuild.
cmd-context lsstream -l rebuild
stream "RE_build"
2007-02-19T14:41:02 by Mark Preston (mpreston.user@rptest)
owner: mpreston
group: user
project: rebuild_proj@/tmp/rebuild_pvob (read only stream)
default deliver stream:
development streams:
contains activities:
foundation baselines:
BL1@/tmp/rebuild_pvob (comp1@/tmp/rebuild_pvob) (modifiable)
recommended baselines:
BL1
views:
rebuild_view
policies: