3

Whats the point of adding multiple components to a user repository workspace. From my understanding one component is required as this is the placeholder for the source code within the local repository, but why have multiple components ?

blue-sky
  • 51,962
  • 152
  • 427
  • 752

1 Answers1

3

As explained in "When to use multiple components within a stream in RTC source control", you define multiple components within a Stream in order to manage more easily your set of files into coherent sub-set.

This is the system approach, where you list all the components you need to build your system.

However, for a given task, you might not need all the component in order to complete said task.
That is why a repository workspace allows you to select only what you need to see in your "space" in order to work (work+space).
And even then, your local workspace (or sandbox) allows you to load (ie copy on your hard drive) only some of the selected components, or even a subset of one component (in order to avoid to copy too many files).

You would find a similar approach with the load rules of an ClearCase UCM Snapshot view, with:

  • a config spec selecting all the components of a Stream
  • but load rules only loading (copying) what you want on your hard-drive

So in the following schema (from Jazz Source Control FAQ), the repo workspace doesn't have t have all the components declared on the Stream, and the local workspace doesn't have to load all the components of the repo workspace.

enter image description here

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250