* rsync deprecated?
@ 2008-12-17 23:41 Markus Heidelberg
2008-12-18 3:20 ` Junio C Hamano
0 siblings, 1 reply; 7+ messages in thread
From: Markus Heidelberg @ 2008-12-17 23:41 UTC (permalink / raw)
To: git
Hi,
in the "Merging external work" section of the gitcore-tutorial it is
stated that the rsync transport is deprecated. The description was added
in commit 914328a (Update tutorial., 2005-08-30) together with the
"deprecated" note. Having never heard/read this before and since this
commit is quite old, I wonder if it is still the case or there was a
solution for this problem.
Markus
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync deprecated?
2008-12-17 23:41 rsync deprecated? Markus Heidelberg
@ 2008-12-18 3:20 ` Junio C Hamano
2008-12-18 4:13 ` Markus Heidelberg
2008-12-20 8:15 ` Mike Hommey
0 siblings, 2 replies; 7+ messages in thread
From: Junio C Hamano @ 2008-12-18 3:20 UTC (permalink / raw)
To: markus.heidelberg; +Cc: git
Markus Heidelberg <markus.heidelberg@web.de> writes:
> in the "Merging external work" section of the gitcore-tutorial it is
> stated that the rsync transport is deprecated. The description was added
> in commit 914328a (Update tutorial., 2005-08-30) together with the
> "deprecated" note. Having never heard/read this before and since this
> commit is quite old, I wonder if it is still the case or there was a
> solution for this problem.
Sorry, I do not quite understand what you perceive as "this problem".
It has been deprecated for too long a time. Maybe it is time to remove
the support, instead of carrying the deprecated command forever? Is that
the problem you are talking about?
I tend to agree that rsync transport way outlived its usefulness, and not
maintained at all. There may be unnoticed and undiagnosed bugs lurking,
but nobody knows about it because nobody uses it.
But the next release (1.6.1) won't be a good timing for removal. Perhaps
we can make an announcement now that it will be removed in a future major
update, and actually remove it in 1.7.0 or so.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync deprecated?
2008-12-18 3:20 ` Junio C Hamano
@ 2008-12-18 4:13 ` Markus Heidelberg
2008-12-20 8:15 ` Mike Hommey
1 sibling, 0 replies; 7+ messages in thread
From: Markus Heidelberg @ 2008-12-18 4:13 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
Junio C Hamano, 18.12.2008:
> Markus Heidelberg <markus.heidelberg@web.de> writes:
>
> > in the "Merging external work" section of the gitcore-tutorial it is
> > stated that the rsync transport is deprecated. The description was added
> > in commit 914328a (Update tutorial., 2005-08-30) together with the
> > "deprecated" note. Having never heard/read this before and since this
> > commit is quite old, I wonder if it is still the case or there was a
> > solution for this problem.
>
> Sorry, I do not quite understand what you perceive as "this problem".
The problem described in the rsync section in gitcore-tutorial:
"can produce unexpected results when you download from the public
repository while the repository owner is uploading into it via rsync
transport. Most notably, it could update the files under refs/ which
holds the object name of the topmost commits before uploading the
files in objects/ - the downloader would obtain head commit object
name while that object itself is still not available in the
repository."
I only thought about git itself uploading into and downloading from the
repository with push and fetch, respectively. And wondered where the
problem with the order of refs and objects was. But I just realized, it
can of course be uploaded with plain rsync, too.
> It has been deprecated for too long a time. Maybe it is time to remove
> the support, instead of carrying the deprecated command forever? Is that
> the problem you are talking about?
Yes, this is the answer to my question. I thought maybe it's not
deprecated anymore, because the only place where it is called so, is
gitcore-tutorial.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync deprecated?
2008-12-18 3:20 ` Junio C Hamano
2008-12-18 4:13 ` Markus Heidelberg
@ 2008-12-20 8:15 ` Mike Hommey
2008-12-20 10:12 ` demerphq
1 sibling, 1 reply; 7+ messages in thread
From: Mike Hommey @ 2008-12-20 8:15 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
On Wed, Dec 17, 2008 at 07:20:59PM -0800, Junio C Hamano wrote:
> Markus Heidelberg <markus.heidelberg@web.de> writes:
>
> > in the "Merging external work" section of the gitcore-tutorial it is
> > stated that the rsync transport is deprecated. The description was added
> > in commit 914328a (Update tutorial., 2005-08-30) together with the
> > "deprecated" note. Having never heard/read this before and since this
> > commit is quite old, I wonder if it is still the case or there was a
> > solution for this problem.
>
> Sorry, I do not quite understand what you perceive as "this problem".
>
> It has been deprecated for too long a time. Maybe it is time to remove
> the support, instead of carrying the deprecated command forever? Is that
> the problem you are talking about?
>
> I tend to agree that rsync transport way outlived its usefulness, and not
> maintained at all. There may be unnoticed and undiagnosed bugs lurking,
> but nobody knows about it because nobody uses it.
Something that could well make this transport be maintained would be to
make it share code/internal API with the "local file transport".
Ideally, http, rsync and file could all share the same basis, and
ensuring the file transport to be functional would pretty much guarantee
all work.
Anyways, I'm not the right person to say that, as I've been failing to
deliver a beginning of such code for a year, now (damn, time goes too
fast).
Maybe libgit2 could be a good occasion to start some API like this,
though.
Mike
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync deprecated?
2008-12-20 8:15 ` Mike Hommey
@ 2008-12-20 10:12 ` demerphq
2008-12-20 17:02 ` Miklos Vajna
0 siblings, 1 reply; 7+ messages in thread
From: demerphq @ 2008-12-20 10:12 UTC (permalink / raw)
To: Mike Hommey; +Cc: Junio C Hamano, git
2008/12/20 Mike Hommey <mh@glandium.org>:
> On Wed, Dec 17, 2008 at 07:20:59PM -0800, Junio C Hamano wrote:
>> Markus Heidelberg <markus.heidelberg@web.de> writes:
>>
>> > in the "Merging external work" section of the gitcore-tutorial it is
>> > stated that the rsync transport is deprecated. The description was added
>> > in commit 914328a (Update tutorial., 2005-08-30) together with the
>> > "deprecated" note. Having never heard/read this before and since this
>> > commit is quite old, I wonder if it is still the case or there was a
>> > solution for this problem.
>>
>> Sorry, I do not quite understand what you perceive as "this problem".
>>
>> It has been deprecated for too long a time. Maybe it is time to remove
>> the support, instead of carrying the deprecated command forever? Is that
>> the problem you are talking about?
>>
>> I tend to agree that rsync transport way outlived its usefulness, and not
>> maintained at all. There may be unnoticed and undiagnosed bugs lurking,
>> but nobody knows about it because nobody uses it.
>
> Something that could well make this transport be maintained would be to
> make it share code/internal API with the "local file transport".
> Ideally, http, rsync and file could all share the same basis, and
> ensuring the file transport to be functional would pretty much guarantee
> all work.
Just for the record: cloning via rsync is broken currently. I reported
this actually only shortly before Junio made this comment. Apparently
the code to copy across HEAD is missing from the rsync code, although
it is present for HTTP code.
Is there a bug tracking tool that git uses? I asked on #git on irc and
they said to just mail the list, but ive not seen any response to my
mail at all and the timing of Junios comment makes me wonder if my
report was seen by list regulars at all.
cheers,
Yves
--
perl -Mre=debug -e "/just|another|perl|hacker/"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync deprecated?
2008-12-20 10:12 ` demerphq
@ 2008-12-20 17:02 ` Miklos Vajna
2008-12-20 17:08 ` demerphq
0 siblings, 1 reply; 7+ messages in thread
From: Miklos Vajna @ 2008-12-20 17:02 UTC (permalink / raw)
To: demerphq; +Cc: Mike Hommey, Junio C Hamano, git
[-- Attachment #1: Type: text/plain, Size: 599 bytes --]
On Sat, Dec 20, 2008 at 11:12:11AM +0100, demerphq <demerphq@gmail.com> wrote:
> Is there a bug tracking tool that git uses? I asked on #git on irc and
> they said to just mail the list, but ive not seen any response to my
> mail at all and the timing of Junios comment makes me wonder if my
> report was seen by list regulars at all.
You did the right thing, just nobody who read your mail had enough
time/knowledge/motivation to reply something constructive for you.
Similar to patches, I think if you get no answer in 3 days, you can try
to reply to your own mail, bringing the topic up again.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync deprecated?
2008-12-20 17:02 ` Miklos Vajna
@ 2008-12-20 17:08 ` demerphq
0 siblings, 0 replies; 7+ messages in thread
From: demerphq @ 2008-12-20 17:08 UTC (permalink / raw)
To: Miklos Vajna; +Cc: Mike Hommey, Junio C Hamano, git
2008/12/20 Miklos Vajna <vmiklos@frugalware.org>:
> On Sat, Dec 20, 2008 at 11:12:11AM +0100, demerphq <demerphq@gmail.com> wrote:
>> Is there a bug tracking tool that git uses? I asked on #git on irc and
>> they said to just mail the list, but ive not seen any response to my
>> mail at all and the timing of Junios comment makes me wonder if my
>> report was seen by list regulars at all.
>
> You did the right thing, just nobody who read your mail had enough
> time/knowledge/motivation to reply something constructive for you.
>
> Similar to patches, I think if you get no answer in 3 days, you can try
> to reply to your own mail, bringing the topic up again.
Ah, yes. Being new on this list it is all too easy to suffer from
Warnock Dilemma.
cheers,
Yves
--
perl -Mre=debug -e "/just|another|perl|hacker/"
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-12-20 17:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17 23:41 rsync deprecated? Markus Heidelberg
2008-12-18 3:20 ` Junio C Hamano
2008-12-18 4:13 ` Markus Heidelberg
2008-12-20 8:15 ` Mike Hommey
2008-12-20 10:12 ` demerphq
2008-12-20 17:02 ` Miklos Vajna
2008-12-20 17:08 ` demerphq
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).