git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Dec 2012, #03; Wed, 12)

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Dec 13, 2012, 19:06 UTC
Message-ID
<CAMP44s3Es-rLjwe6sgOi9OmwQouM4AbFKAbGB5UgS6sUtYRgKQ@mail.gmail.com>
In-Reply-To
<BF9B1394-0321-4F1C-AD1B-F40D02DBE71A@quendi.de>
On Thu, Dec 13, 2012 at 6:04 AM, Max Horn <postbox@quendi.de> wrote:
Show 17 quoted lines
>
> On 13.12.2012, at 11:08, Felipe Contreras wrote:
>
>> On Thu, Dec 13, 2012 at 2:11 AM, Junio C Hamano <gitster@pobox.com> wrote:
>>> Felipe Contreras <felipe.contreras@gmail.com> writes:
>>
>>>>> New remote helper for bzr (v3).  With minor fixes, this may be ready
>>>>> for 'next'.
>>>>
>>>> What minor fixes?
>>>
>>> Lookng at the above (fixup), $gmane/210744 comes to mind
>>
>> That doesn't matter. The code and the tests would work just fine.
>
>
> It doesn't matter? I find that statement hard to align with what the maintainer of git, and thus the person who decides whether your patch series gets merged or not, wrote just above? In fact, it seems to me that what Junio said matters a great deal...

So you think Junio knows more about remote-bzr than I do? I repeat; it doesn't affect the tests, it doesn't affect the code, it doesn't cause any problem. remote-bzr could be merged today, in fact, it could have been merged a month ago.

You don't trust me? Here, look:
	cmd=<<EOF
	import bzrlib
	bzrlib.initialize()
	import bzrlib.plugin
	bzrlib.plugin.load_plugins()
	import bzrlib.plugins.fastimport
	EOF
	if ! "$PYTHON_PATH" -c "$cmd"; then
		echo "consider setting BZR_PLUGIN_PATH=$HOME/.bazaar/plugins" 1>&2
		skip_all='skipping remote-bzr tests; bzr-fastimport not available'
		test_done
	fi

All this code is a no-op, because, as Junio pointed out, cmd is null. How is that a problem? It's not. The first version of remote-bzr relied on the bazaar fastimport plug-in, so this check was needed, in case you had bazaar, but not this particular plug-in, but today remote-bzr doesn't need this plug-in, so this chunk of code should be removed. The fact that this code does nothing (because python -c '' does nothing) is *not a problem*.

In fact, even if that code failed 100% of the time, it wouldn't hurt anybody, because 'make -C t' would work, everything would work, the only thing that would fail is 'make -C contrib/remote-helpers/ test-bzr', which very very few people would consider a problem. But it doesn't fail, it works.

Who benefits by delaying the merging of this code? Nobody. Who gets hurt? The users, of course.

> This is a very strange attitude...
>
> In another email, you complained about nobody reviewing your patches respectively nobody voicing any constructive criticism. Yet Junio did just that, and again in $gmane/210745 -- and you replied to neither, and acted on neither (not even by refuting the points brought up), and now summarily dismiss them as irrelevant. I find that quite disturbing :-(.

I didn't say it was irrelevant, it should be fixed, but Junio said "With minor fixes, this may be ready for 'next'." which is no true IMO, it's ready *now*, it was ready one month ago. For 'next', this problem doesn't matter.

The feedback is appreciated, but delaying the merging of this code for no reason makes little sense to me. Junio, of course, can do whatever he wants. The removal of this no-op code can wait, or it can be done on top of v3, there's no need for re-roll, and Junio already complained about the v3 re-roll.

And I didn't act because I was on vacations, git development is not my only priority. And even if I had time, I don't see why I should prioritize this fix, it's not important, the code is ready.

Show 7 quoted lines
>>> but there may be others.  It is the responsibility of a contributor to keep
>>> track of review comments others give to his or her patches and
>>> reroll them, so I do not recall every minor details, sorry.
>>
>> There is nothing that prevents remote-bzr from being merged.
>
> Well, I think that is up to Junio to decide in the end, though :-). He wrote

No. He can decide if the code gets merged, but he is not the voice of truth. Nothing prevents him from merging the code, except himself. There is no known issue with the code, that is a true fact.

Cheers.
-- 
Felipe Contreras
Previous: Max HornNext: Max Horn
Message 6 of 16 in “What's cooking in git.git (Dec 2012, #03; Wed, 12)”
  1. Junio C HamanoDec 12, 2012
  2. Felipe ContrerasDec 13, 2012
  3. Junio C HamanoDec 13, 2012
  4. Felipe ContrerasDec 13, 2012
  5. Max HornDec 13, 2012
  6. Felipe ContrerasDec 13, 2012
  7. Max HornDec 14, 2012
  8. Felipe ContrerasDec 15, 2012
  9. Michael HaggertyDec 15, 2012
  10. Felipe ContrerasDec 15, 2012
  11. Nguyen Thai Ngoc DuyDec 15, 2012
  12. Felipe ContrerasDec 15, 2012
  13. Junio C HamanoDec 13, 2012
  14. Felipe ContrerasDec 13, 2012
  15. Junio C HamanoDec 13, 2012
  16. Felipe ContrerasDec 14, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.