[petsc-dev] Pushing non-working code
Matthew Knepley
knepley at gmail.com
Sun Feb 3 11:37:10 CST 2013
On Sun, Feb 3, 2013 at 12:31 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>
> On Sun, Feb 3, 2013 at 11:23 AM, Matthew Knepley <knepley at gmail.com>wrote:
>
>> How do you identify what the feature is when it's in 10 commits
>>> interspersed over 200 in the history. My claim is that you should make
>>> those 10 commits on top of each other without merging (unless you need
>>> sometIhing specific that was pushed to petsc-dev) and merge when it's
>>> complete. Pushing to petsc-dev should _mean_ that it's ready for review.
>>> This does not take more work.
>>>
>>
>> Again, hyperbole is not useful. This is a single commit, where I add
>> functionality to a few functions for a single purpose.
>>
>
> Matt, I was referring to the general "push as checkpoint" workflow rather
> than that single commit with the memory leak. While I think that patch
> could have been split into "generalize existing functionality" followed by
> "add new functionality", it's a bug that could have happened to anyone and
> is more reliably caught by proper testing.
>
> I've given a lot of reasons why "push as checkpoint" is bad for everyone
> else working on the project. You have not explained how it helps so much.
>
It is burdensome to cordon off work into separate channels, which may have
to be updated between them. And
you can say that VC has features to do this, which is true, but it is
simply wrong to assert that they entail no cost.
You consider this cost low, but that does not mean that I do as well. When
I raise this as an objection, you ignore it.
It is not fair to say that I have not explained how this is detrimental,
because I have reiterated this point several times
only to have it dismissed out of hand.
Matt
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130203/7542868b/attachment.html>
More information about the petsc-dev
mailing list