Path: utzoo!mnetor!uunet!mcvax!ukc!stc!datlog!dlhpedg!cl
From: cl@dlhpedg.co.uk (Charles Lambert)
Newsgroups: comp.software-eng
Subject: Development Control: terminology needed
Message-ID: <336@dlhpedg.co.uk>
Date: 15 Dec 87 15:37:57 GMT
Sender: news@dlhpedg.co.uk
Reply-To: cl@datlog.co.uk (Charles Lambert)
Organization: FSG@Data Logic Ltd, Queens House, Greenhill Way, Harrow, London.
Lines: 121

We have been developing tools and procedures (for use within our organisation)
to control those periods of intense development when many people are working
on a product at once, several of them perhaps altering the same source file
concurrently for different reasons.  Now I have to produce documents and I
need good terms to make the concepts clear and easy to discuss.  The
vocabulary that has grown up around the prototype is rather inconsistent
and misleading.

In my experience,  well chosen terms improve people's comprehension of a
system dramatically,  while fuzzy ones litter the mind with misconceptions.
So I hope that some of the technically literate out there will help me.

Let me outline what we have and ask anyone with constructive suggestions
to mail them to me.

ORGANISATION
------------

Division
--------
The development community is divided into teams, each working on some 
functional aspect of the same product.  There's the first slippery term:
"product".  It can mean either the final absolute object,  or that object
and all the components (e.g. source files) from which it is built.

There is a hierarchy (tree, structure) of directories that will contain this
product (i.e. all the components and the final object).

There is one public copy of the above hierarchy that is fully populated;
it contains a copy of every component, each one being the correct version
to build the latest stable version of the product.

Each development team has a private instance of the directory hierarchy
in which they keep copies of the components they have altered.  They do
not keep copies of components they have not altered;  the building tool
is capable of finding those in the public copy.  The private instance
is said to be sparsely populated. 

Here we need a term for an instance of the directory hierarchy, so that we
can talk about "our ***," "your ****," or "the public ***".  At the moment,
we call it a "build", after the mechanical engineering term referring to a
schedule of components.  This is a bad term because

i)	it is a verb doing service for a noun,
ii)	we need the verb anyway ("which build did you build?"),
iii)	it is not evocative - it doesn't portray what it means.

Relation
--------
Now an extra degree of complexity.  Besides the public "build" and the
"builds" assigned to each functional task,  a group of teams may share
an intermediate "build" where they deposit finished work that they all
want to incorporate, but is not for general release yet.  So, when one
of the teams builds the product, the building tool must search a vector
of "builds" starting with the team's private one, then the shared one
and finally the public one.  We have called this vector a "view" (with
acknowledgements to Erickson and Pellegrin of Bell Labs [1]).

Some of our developers have taken to referring to a "build" as a "view"
because:
i)	the view is an invariant attribute of the "build" - in our
	system, once you have declared the antecedence of the version
	you're working on you stay with it;
ii)	it rather neatly describes what a "build" is for - it is a place
	from which you get an alternative view of the product.
However, we need separate terms to differentiate between an individual
"build" and the ordered summation of several "builds";  I think "view"
serves the latter purpose best.

[By the way:  we rejected the term "node", as an alternative to "build",
because of its strong association with network topology and hence with
communications]

You will see that "views" converge from team "builds" through shared
"builds" to the public "build".  We might use the term "branch" instead
of "build",  but we would risk confusion with the terminology of the
Source Code Control System that maintains a history of changes for each
source file.

OPERATIONS
----------

Distribution
------------
When a development team needs to alter a component, they take a copy from
the first "build" in the view that contains a version of that component;
it may be copied from a shared "build" if a cooperating team has already
altered it,  or it may be copied from the public build.  After they have
started work on their copy,  someone may alter the version from which
they started - their "antecedent" version.  Eventually,  the team must
combine that alteration with their own so that a unified version of the
file can be deposited in the shared or public "build".

We have called this operation "reconciliation";  clumsy - any offers?

Integration
-----------
When a team completes a functional development,  it deposits the completed
work further down the view,  where cooperating teams will see it.  This
may involve combining their new version of a component with another version
that is already there.  This is called "integration".  It may appear to
be the same as reconciliation but there is an important distinction:
"reconciliation" takes place in the reconciler's "build" - several
"builds" may be "reconciled" with changes that have gone into a shared one
but the reconciled versions remain private and different from one another;
"integration" takes place further down the integrator's view where it
come within other views (and may cause other "builds" to need reconciliation).

REFERENCES
----------
[1] "Build - A Software Construction Tool"  V. B. Erickson and J. F. Pellegrin;
    AT&T Bell Laboratories Technical Journal, Vol. 63 No. 6 (July-August 1984)
    pp. 1049-1059
-------------------------------------------------------------------------------

DISCLAIMER:  The above article represents my own opinions, observations
	and conclusions;  they are not necessarily the opinions, observations
	or conclusions of my employer, Data Logic Ltd.

--------------------
Charles Lambert;	ukc!datlog!dlhpedg!cl