We're in the trenches developing software just like you, and we're excited to share our first-hand experiences using Task Streams.
Perforce's Task Streams open the door to lightweight branching without the administrative resources and performance overhead commonly associated with branching.
Join Perforce engineers, Steph Turner and Gabe Weiss as they discuss and demonstrate how Task Streams support software development best practices.
We'll show how Task Streams...
- Improve software quality
- Reduce complex merges
- Encourage experimentation
- Control scope
12. You don’t change a single file!
Archive
Files
100K
Revs 3x
Integ 2x
To and From
300K
300K
200K
300K
200K
300K
200K
300K
200K
Lightweight Branching with
Perforce Task Streams
13. The Metadata Upside…
Tracks Branch Relationships
Smarter & Safer Merges
Lightweight Branching with
Perforce Task Streams
15. The Techniques to Control Metadata…
Overlay (+) Mappings
Obliterate
Lightweight Branching with
Perforce Task Streams
16. Overlay (+) Mappings Branch a Slice
Code Base
Archived
Files
branched
Lightweight Branching with
Perforce Task Streams
Revs
Integ 2x
To and From
17. Overlay Branched Slice on Workspace
Workspace
Code Base
Archived
Files
branched
Lightweight Branching with
Perforce Task Streams
Revs
Integ 2x
To and From
18. The Overlay Issues…
Where are my files?
Where is the branch point?
Lightweight Branching with
Perforce Task Streams
19. Obliterate – Identify unnecessary metadata
Archive
Files
Code
Dev
Branch
Lightweight Branching with
Perforce Task Streams
Revs
Integs
To and From
23. Streams puts code into a container
Code Base
Server
Swarm
Archive
Files
P4V
Lightweight Branching with
Perforce Task Streams
Revs
24. Streams “Import” is the key…
Code Base
Server
Swarm
Archive
Files
Server
Swarm
P4V
Lightweight Branching with
Perforce Task Streams
Revs
25. 3 Cool Things About Streams Import
Lightweight Protections Scheme
Up-to-date Files
Lean metadata
Lightweight Branching with
Perforce Task Streams
26. Oh yeah…1 more cool thing…
Lightweight Branching with
Perforce Task Streams
27. Workspaces generated from stream rules
Code Base
Server
Swarm
Server
Server
Swarm
Swarm
P4V
P4V
Lightweight Branching with
Perforce Task Streams
Archive
Files
Revs
28. Developers Fear the “Uns”
Uncontrolled Merge
Unstable Environment
Unnecessary Recompiles
Lightweight Branching with
Perforce Task Streams
29. Workspaces generated from stream rules
Server
Swarm
Server
Swarm
File
Archive
P4V
Server
Swarm
P4V
Lightweight Branching with
Perforce Task Streams
Revs
Integ To
and From
33. Now task metadata is put into shadow tables
Server
Swarm
Archive
Files
Parent Stream
P4V
Server
Task Stream
Swarm
P4V
Lightweight Branching with
Perforce Task Streams
Revs
Integ To
and From
34.
35. Archive and metadata for file
Archive
Files
Parent Stream
Revs
p#3, t#1
p#3
p#3
t#1
Task Stream
t#1
Lightweight Branching with
Perforce Task Streams
Integ To
and From
36. Submit a new version of file…
Archive
Files
Revs
p#3, t#1
p#3
t#2
t#1
Task Stream
t#2
Lightweight Branching with
Perforce Task Streams
t#2
Integ To
and From
37. Shadow integ & rev metadata copied to real table
Archive
Files
Revs
p#3, t#1
p#3
t#2
t#1
t#2
t#1
Task Stream
t#2
t#2
Lightweight Branching with
Perforce Task Streams
Integ To
and From
38. Only interesting metadata gets copied!
Archive
Files
Revs
p#3, t#1
p#3
t#2
t#1
t#2
t#1
Task Stream
t#2
t#2
Lightweight Branching with
Perforce Task Streams
Integ To
and From
39.
40. Shadow integ & rev metadata copied to real table
Archive
Files
p#3, t#1
p#3
t#2
Parent Stream
Revs
t#1
t#2
p#3
t#1
Task Stream
t#2
t#2
Lightweight Branching with
Perforce Task Streams
Integ To
and From
41. Shadow integ & rev metadata copied to real table
Archive
Files
p#3, t#1
p#3
t#2
Parent Stream
Revs
t#1
t#2
p#3
Task Stream
t#2
Lightweight Branching with
Perforce Task Streams
Integ To
and From
42.
43. Task Stream Guidelines
Quick fix
Short term feature development
No reparenting
No children
Lightweight Branching with
Perforce Task Streams
44. Try Perforce for Free
Free for up to 20 users, 20 workspaces, forever.
Lightweight Branching with
Perforce Task Streams
45. THANK YOU!!!
Steph Turner: sturner@perforce.com
Gabe Weiss: gweiss@perforce.com
Lightweight Branching with
Perforce Task Streams
P4Ideax
Forums
46. NEXT DEV TALK
Hacking Perforce with
Matt Attaway
Lightweight Branching with
Perforce Task Streams