[Insight-developers] Staged but not merged

Bill Lorensen bill.lorensen at gmail.com
Sat Oct 16 14:30:57 EDT 2010


Marcus,

I think your new alias' may help here.

Many of us don't really understand what is going on in detail. But, we
know how to follow instructions. We need good instructions.

Here is the current situation...

Just a few of us are on the bleeding edge. We are your guinea pigs. We
have a gut feeling that git and gerrit are the way to go. We are also
process geeks. Some of us are still algorithm developers or do real
research. But we recognize that these software engineering processes
are valuable.

Soon, many folks with different skills and interests will be
contributing to ITK. Some of them will be more focussed on algorithms
and research. If they become frustrated with our processes we will
have real problems. These folks will not be able to meet their
deliverables for their ITK contracts. And  the process could be the
problem (excuse).

So, if the ITK process geeks are having problems, you "ain't seen nothing yet."

Bill

On Sat, Oct 16, 2010 at 2:16 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> On Fri, Oct 15, 2010 at 3:11 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>>
>> Folks,
>>
>> If I run:
>> ssh git at itk.org stage ITK print
>>
>> I get this: (and I don't know what it means)
>> BUG_0011157 | master=0
>>
>> But it shows up as merged in gerrit:
>> http://review.source.kitware.com/#q,status:merged,p,000ff48d00000060
>>
>> Checking the code, I see that the changes have made it into master.
>>
> Bill,
> This looks like it is due to the topic being rebased, and then pushed with a
> different topic name. This is why we do not want people to rebase topics,
> additionally it does not have the Change-Id and so Gerrit could not
> automatically recognize this commit (I think it is one of the two I had to
> manually mark as merged in the database).
> I can remove this topic, but the commit that was merged had a hash
> of 09f2103f7f81e371007142d8c6d9939fd587bd12, whereas the one in the topic
> had a hash of 13e80443a94672521e553ec7db81102ea52e2485, the topic that was
> merged was called BUG11157, and the dangling topic is BUG_0011157. I will
> remove the topic from the stage, this is done by simply issuing the command,
> git push stage :topic-to-remove
> I hope that clears up what happened. A large advantage of merging rather
> that using the CVS linear style workflow is that the commit objects are
> merged as-is, and so Git and Gerrit see them as the same commit. The merge
> commit is what brings them into the integration branch, and gives extra
> information on when the code was merged into a given integration branch.
> This also makes release management much easier (merging topic branches into
> bug fix releases etc).
> Marcus


More information about the Insight-developers mailing list