P4 Blog

  • August 26, 2013

    Sharp-eyed users may have noticed the addition of a new undoc option to the command line client in 2013.2:

  • August 22, 2013

    What is accessible software?

    This term is hard to define, and many definitions exist. My personal take on this is that to make a piece of software accessible is to allow it to be accessed using interfaces other than the “normal” and for the application information to be presented in a meaningful way to the users of these other interfaces.

    Because this definition covers a wide range of assistive devices and user groups, I will limit my examples to screen reader users. However, many of the concepts can be applied to other user groups.

    Posted In:
  • August 20, 2013



    Most Perforce installations have only a single server, which is no surprise, since a single well-administered Perforce server can easily serve the needs of several hundred very active users.

    But at some point, as your Perforce installation grows in size and complexity, it is quite likely that you will find yourself deploying multiple servers.

  • August 16, 2013

    Image: A moment from the Eclipse project via http://www.michaelogawa.com/code_swarm/

    You're probably familiar with the very useful data visualization tools Perforce provides to mine your file history and relationships such as revision graph, time-lapse view, and folder diff. They are all great tools, but I dare say they are too useful and too pragmatic. Some days you need something useless and fun, and in my next couple blog posts I'm going to talk about a couple applications that make version control fun.

    Posted In:
  • August 14, 2013

    swarm bee

    In my last article we covered how you can have any tool in your production pipeline add events to the Swarm activity feed. However sometimes you have the opposite issue; you need to prevent events from showing up in the activity stream. A common use case for filtering out events is to prevent automated processes from flooding the activity stream.

    Swarm has a couple ways to filter events. The easiest by far is to add a user to the 'ignored_users' list in Swarm. There is a configuration parameter in Swarm that allows you to specify users you never want to see activity for. For example, Swarm ships with the Git Fusion user filtered out, but you can add your own users as well. In your Swarm installation find your config.php file in data directory and include the following block:

    Posted In:
  • August 12, 2013

    p4-identifierSince the 2013.2 release adds a new piece of file metadata that may need to be resolved when merging (charset, associated with the undoc server.filecharset setting), this seems like a good time for a quick review of all of the different things that "p4 resolve" might ask you about.

    The function of resolve, at its heart, is to take changes from a depot file and make sure you've accounted for them in your workspace file. Different commands will schedule resolves for different reasons: