Practical Perforce by Wingerd Laura

Practical Perforce by Wingerd Laura

Author:Wingerd, Laura
Language: eng
Format: epub
Published: 2014-05-21T22:50:25.554000+00:00


Figure 6-2. P4Web’s Submitted Changelists page

You can have as many P4Web page bookmarks as you want to monitor activity in the depot paths that are important to you.

Hyperlinks to Perforce files and objects

P4Web is a standalone Perforce client program. It has two basic modes of operation. In “standard mode” it functions as a user-driven workspace manager with a web browser interface. A standard-mode P4Web serves a single user; it typically runs on the user’s machine.

P4Web’s other mode of operation is called “viewer mode.” The P4Web viewer is, in fact, a little web server. It can serve multiple users; users point their web browsers to it just as they would to any other web server. Unlike any other web server, however, P4Web can serve up information about what’s going on in the Perforce system.

For example, if P4Web is set up to run as a viewer on port 80 of a machine named intranet.ace.com, documents and email can use URLs that begin with http://intranet.ace.com/ to hyperlink to Perforce files and objects .

P4Web URLs for files and directories are very simple. For example, the URL that links to the //Ace/DEV/gui/active/mlpen.cpp file is:

http://intranet.ace.com//Ace/DEV/gui/active/mlpen.cpp

There are also P4Web URLs you can use to display directory structure, change history, file diffs, and so forth, making it possible to link to them in email and other documents. For example:

From [email protected] To [email protected] Subject Have you seen these changes? Message Tim — check out these changes: http://intranet.ace.com/Ace/DEV/gui/mapwin/...?ac=43 Is the test driver going to be able to handle these?



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.