[Perforce] Perforce the Plentiful Platform

Preview:

DESCRIPTION

Your software development pipeline is a key corporate asset. Your ability to extend and improve it by pulling data from and storing it in Perforce directly impacts the efficiency of your development teams. Tour the available Perforce data sources, tools, and APIs, including some off the beaten path.

Citation preview

1  

1

Matt Attaway Open Source Community Manager

Perforce the Plentiful Platform

2  

2

3  

3

4  

4

5  

Perforce Data Sources

5

6  

Perforce Data Sources

§  Standard commands §  Logtail §  Journal -> P4toDb §  Monitor §  Spec depot

6

7  

APIs

7

8  

Command Line

8

9  

Command Line Advantages

§  Runs Everywhere §  Output is easily parsed §  Access to full range of Perforce commands

9

10  

Command Line Disadvantages

§  Performance penalty §  Must parse text output yourself

10

11  

APIs

11

12  

APIs

§  Perl

§  Python

§  Ruby

12

§  Objective C

§  PHP

§  Java

§  .Net

§  Node.js

§  C++

13  

API Advantages

§  More performant §  Results parsed into data structures §  Uses language exception support

13

14  

API Disadvantages

§  Needs to be installed §  Not all commands available in some languages

14

15  

P4Web

15

16  

Git

16

17  

P4VC

17

18  

Commons Web Services

18

19  

P4DTG

19

20  

Chronicle

20

21  

Integrating with Perforce

21

22  

Integrating with Perforce Server

22

23  

Server Triggers

23

24  

Server triggers

§  Form §  Out/Pre/Parsed/Post/Delete

§  Shelve §  Pre/Post/Delete

§  Archive

§  Commit §  Pre/Content/Post §  Fix §  Add/Delete

25  

Server Broker

25

26  

Broker Usage

§  Redirect users to replica servers §  Deny commands

26

27  

Integrating with Perforce Clients

27

28  

P4V

28

29  

P4V Extension Points

§  Custom tools §  Alerts §  Tabs §  Submit dialog

29

30  

Swarm

30

31  

Insights

31

32  

Data Storage

32

33  

Data Storage

§  Files §  File attributes §  Counters/keys §  Index/search §  Properties

33

34  

Questions?

Follow me Matt Attaway: matt@perforce.com, @p4mataway

P4IdeaX Forums

Recommended