We recently converted to P4 from CVS and are attempting to
migrate/translate the existing build process. Traditionally we were able
to include $Name:$ tags in the application which would be expanded to
the CVS tag name used when a checkout was performed. This is very useful
as it marks the build with a textual description of the version. The
build number may be 987654 but our customers know it as "App v. 2.3.5"
as it was advertised in the milestones.
The closest equivalent to cvs tag in P4 is label. However, I do not see
any RCS keyword expansion or equivalent strategy for automatically
embedding the label in the application. It would be equally helpful if
there was support for branch name expansion as our release builds are
branched off of the main line. This can be easily programmed (as we have
done) with a search and replace command line script, but it seems to me
that it should be something P4 supplies natively.
Any thoughts?
-john s.