Doubts w.r.t. development models using Bazaar
Rohit Rai
rohitbrai at gmail.com
Mon Apr 23 05:07:32 BST 2007
>
> On 4/23/07, Rohit Rai <rohitbrai at gmail.com> wrote:
> > Point 1:
> >
> > On the website it says,
> > Although Bazaar's major focus is software development, it can be used
> for
> > other kinds of projects, as well. It works best with textual files, like
> > source code, marked-up text ( e.g. HTML), and plaintext. It is less
> > effective with tree-structured data (e.g. XML), and is most limited in
> > dealing with opaque binary files (e.g. Microsoft Word documents).
How does Bazaar compare to SVN or the commercial SCMs like Perforce,
Clearcase on this one? Means how weak/stromng it is in their comparison
while dealing with non plaintext data. Specially, XML.
>
> > I am preparing a model for implementing open source practices and tools
> to a
> > software factory. And I see distributed SCMs as the way to go. Out of
> all
> > the distributed SVNs I have found Bazaar and Hg most appealing with
> various
> > features and an important criterion being support for Windows as well as
> > Linux OS.
> > But I am not sure about the maturity of these systems as compared to SVN
> and
> > other client-server SCMs.
>
> Alexander can tell you more about our Windows support - I think it is
> pretty good. You can get an idea from the list that we do regularly
> test on Windows and fix problems if they come up. Ian is working
> towards doing regular cross-platform tests.
Yes, that is one reason I hhave picked up Bazaar
> On important consideration will be how well can these non text data in
> > comparison to SVN.
> >
> > Point 2:
> >
> > I have a strong gut feeling and am analyzing the implementation using
> > automatic gatekeeper as the way to go, with might be a reviewer in
> between.
> >
> > So it is,
> > developer -> reviewer -> gatekeeper -> main repository line.
> >
> > Will this preserve the change history and logs from the developer unto
> the
> > main repository???
>
> That is the model we use for developing Bazaar, and it works very
> well. People do their individual development on their own branch -
> this can be either totally distributed, or it can be a bound branch
> shared by a team if they want to work more closely as in cvs/svn.
> When their work has got to a good stage of completion they post a
> bundle to the list for others to review.
Will the record log that developer XYZ had made the particular change be
maintained when the PQM commits the paatch to the main repository, or
everything on the main repository will show up as a commit/development done
by the PQM. That is important with statistical point of view in a software
company.At one location I have seen similar flow using SVN, but finally in
the log we notice that all the commits are made by PQM, and the name of the
original developer are lost.
We have a great tool Bundle
> Buggy that keeps track of things that need review and what comments
> have been made:
>
> http://bundlebuggy.aaronbentley.com/
>
> We normally require one core developer to review a change from
> another, or two developers to review a change from a less experienced
> person.
>
> After that the change goes to pqm (the patch queue manager), which
> checks that all the tests pass. This includes some structural tests
> like checking copyright statements, checking that particular
> constructs are not used and so on. Another installation at Canonical
> makes checks depending on the project state - sometimes no database
> changes are allowed.
The tool's cool :) What happenes when the patch is rejected?
It's more of a toolkit than the integrated solution of Aegis, but
> being able to mix central control and close cooperation with
> distributed work is a very nice feature of Bazaar.
>
> --
> Martin
>
I have been wondering about this thing for long, and these are a few
questions I came up with,
But then I see quite few problems in this approach too, and wonder will the
existing tools actually work in this manner,
1. First problem is the commit time of the patch may be prolonged at
reviewer of gateway post
2. Will all the histroy of modifications by the developer and his log
comments be maintained?
3. There are a few interesting use cases when, Developer writes a
patch and sends it to the reviewer and coninues writing his next patch. What
code base should he write this patch against. The global base or his
modified base?
1. Suppose he writes it against the global code base, in the
meanwhile, the reviewer and gatekeeper approve the patch1 and
it makes to
the global repos. Does the next patch that the developer sends
apply to the
global repos when it is sent?
2. Suppose he works against his local copy and generates patch2,
in the meanwhile his patch1 is rejected and returned to him, he has to
revert that patch and keep patch2, how does that work? Does the
patch2 apply
to the global codebase when approved?
3. How important is the sequence of patches?
4. There are few other problems with respect to applying the
patch at the global repos and it requiring manual help and stuff.
5. can you think of more???
Regarding to why I am thinking all this, you may visit my blog,
http://mytechrantings.blogspot.com where I have starteed writing a series of
articles for the next generation software factory and role of Open Source
systems in this.
Kind regards,
Rohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20070423/c6b3de99/attachment-0001.htm
More information about the bazaar
mailing list