34
1 1 Matt Attaway Open Source Community Manager Perforce the Plentiful Platform

[Perforce] Perforce the Plentiful Platform

Embed Size (px)

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

Page 1: [Perforce] Perforce the Plentiful Platform

1  

1

Matt Attaway Open Source Community Manager

Perforce the Plentiful Platform

Page 2: [Perforce] Perforce the Plentiful Platform

2  

2

Page 3: [Perforce] Perforce the Plentiful Platform

3  

3

Page 4: [Perforce] Perforce the Plentiful Platform

4  

4

Page 5: [Perforce] Perforce the Plentiful Platform

5  

Perforce Data Sources

5

Page 6: [Perforce] Perforce the Plentiful Platform

6  

Perforce Data Sources

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

6

Page 7: [Perforce] Perforce the Plentiful Platform

7  

APIs

7

Page 8: [Perforce] Perforce the Plentiful Platform

8  

Command Line

8

Page 9: [Perforce] Perforce the Plentiful Platform

9  

Command Line Advantages

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

9

Page 10: [Perforce] Perforce the Plentiful Platform

10  

Command Line Disadvantages

§  Performance penalty §  Must parse text output yourself

10

Page 11: [Perforce] Perforce the Plentiful Platform

11  

APIs

11

Page 12: [Perforce] Perforce the Plentiful Platform

12  

APIs

§  Perl

§  Python

§  Ruby

12

§  Objective C

§  PHP

§  Java

§  .Net

§  Node.js

§  C++

Page 13: [Perforce] Perforce the Plentiful Platform

13  

API Advantages

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

13

Page 14: [Perforce] Perforce the Plentiful Platform

14  

API Disadvantages

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

14

Page 15: [Perforce] Perforce the Plentiful Platform

15  

P4Web

15

Page 16: [Perforce] Perforce the Plentiful Platform

16  

Git

16

Page 17: [Perforce] Perforce the Plentiful Platform

17  

P4VC

17

Page 18: [Perforce] Perforce the Plentiful Platform

18  

Commons Web Services

18

Page 19: [Perforce] Perforce the Plentiful Platform

19  

P4DTG

19

Page 20: [Perforce] Perforce the Plentiful Platform

20  

Chronicle

20

Page 21: [Perforce] Perforce the Plentiful Platform

21  

Integrating with Perforce

21

Page 22: [Perforce] Perforce the Plentiful Platform

22  

Integrating with Perforce Server

22

Page 23: [Perforce] Perforce the Plentiful Platform

23  

Server Triggers

23

Page 24: [Perforce] Perforce the Plentiful Platform

24  

Server triggers

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

§  Shelve §  Pre/Post/Delete

§  Archive

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

Page 25: [Perforce] Perforce the Plentiful Platform

25  

Server Broker

25

Page 26: [Perforce] Perforce the Plentiful Platform

26  

Broker Usage

§  Redirect users to replica servers §  Deny commands

26

Page 27: [Perforce] Perforce the Plentiful Platform

27  

Integrating with Perforce Clients

27

Page 28: [Perforce] Perforce the Plentiful Platform

28  

P4V

28

Page 29: [Perforce] Perforce the Plentiful Platform

29  

P4V Extension Points

§  Custom tools §  Alerts §  Tabs §  Submit dialog

29

Page 30: [Perforce] Perforce the Plentiful Platform

30  

Swarm

30

Page 31: [Perforce] Perforce the Plentiful Platform

31  

Insights

31

Page 32: [Perforce] Perforce the Plentiful Platform

32  

Data Storage

32

Page 33: [Perforce] Perforce the Plentiful Platform

33  

Data Storage

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

33

Page 34: [Perforce] Perforce the Plentiful Platform

34  

Questions?

Follow me Matt Attaway: [email protected], @p4mataway

P4IdeaX Forums