public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Which rsync version is current?
@ 2020-05-27 18:35 Bill Stewart
  2020-05-27 19:16 ` Andrey Repin
  2020-05-27 19:27 ` Andrey Repin
  0 siblings, 2 replies; 8+ messages in thread
From: Bill Stewart @ 2020-05-27 18:35 UTC (permalink / raw)
  To: cygwin

When I run rsync --version, I see this:

rsync  version 3.2.0dev  protocol version 31

However the Cygwin Setup program says that my rsync is current and is
listed as this version:

3.1.3+20200429+gitf7746d0-1

rsync.samba.org says the current version is 3.1.3.

So...what's actually the latest? What's the difference between these?

Thanks

Bill

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Which rsync version is current?
  2020-05-27 18:35 Which rsync version is current? Bill Stewart
@ 2020-05-27 19:16 ` Andrey Repin
  2020-05-27 19:34   ` Bill Stewart
  2020-05-27 19:27 ` Andrey Repin
  1 sibling, 1 reply; 8+ messages in thread
From: Andrey Repin @ 2020-05-27 19:16 UTC (permalink / raw)
  To: Bill Stewart, cygwin

Greetings, Bill Stewart!

> When I run rsync --version, I see this:

> rsync  version 3.2.0dev  protocol version 31

> However the Cygwin Setup program says that my rsync is current and is
> listed as this version:

> 3.1.3+20200429+gitf7746d0-1

> rsync.samba.org says the current version is 3.1.3.

> So...what's actually the latest? What's the difference between these?

Run `which rsync` to see which one is responding to you.

3.2-dev is likely a snapshot from ongoing development branch.


-- 
With best regards,
Andrey Repin
Wednesday, May 27, 2020 22:11:18

Sorry for my terrible english...


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Which rsync version is current?
  2020-05-27 18:35 Which rsync version is current? Bill Stewart
  2020-05-27 19:16 ` Andrey Repin
@ 2020-05-27 19:27 ` Andrey Repin
  1 sibling, 0 replies; 8+ messages in thread
From: Andrey Repin @ 2020-05-27 19:27 UTC (permalink / raw)
  To: Bill Stewart, cygwin

Greetings, Bill Stewart!

> When I run rsync --version, I see this:

> rsync  version 3.2.0dev  protocol version 31

> However the Cygwin Setup program says that my rsync is current and is
> listed as this version:

> 3.1.3+20200429+gitf7746d0-1

Ok, I think I have a better explanation.

https://git.samba.org/?p=rsync.git;a=commit;h=f7746d0

> rsync.samba.org says the current version is 3.1.3.

> So...what's actually the latest? What's the difference between these?

3.1.3, but Cygwin release is a tad bit ahead of it.


-- 
With best regards,
Andrey Repin
Wednesday, May 27, 2020 22:26:56

Sorry for my terrible english...


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Which rsync version is current?
  2020-05-27 19:16 ` Andrey Repin
@ 2020-05-27 19:34   ` Bill Stewart
  2020-05-27 20:19     ` Ken Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Bill Stewart @ 2020-05-27 19:34 UTC (permalink / raw)
  To: cygwin

On Wed, May 27, 2020 at 1:20 PM Andrey Repin wrote:

> > When I run rsync --version, I see this:
> >
> > rsync  version 3.2.0dev  protocol version 31
> >
> > However the Cygwin Setup program says that my rsync is current and is
> > listed as this version:
> >
> > 3.1.3+20200429+gitf7746d0-1
> >
> > rsync.samba.org says the current version is 3.1.3.
> >
> > So...what's actually the latest? What's the difference between these?
>
> Run `which rsync` to see which one is responding to you.
>
> 3.2-dev is likely a snapshot from ongoing development branch.

`which rsync` outputs

/usr/bin/rsync

as expected.

What I am saying is that the Setup program says the installed version
is 3.1.3+20200429+gitf7746d0-1.

For that installed version, `rsync --version` says the version is 3.2.0dev

Thus it seems that "3.1.3+20200429+gitf7746d0-1" is really identical
to "3.2.0dev".

Is this statement correct?

If this statement is indeed correct, I would say that this is
confusing (at the least) and that Setup or the rsync source code (or
both) should be updated to reflect the correct version number.

Bill

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Which rsync version is current?
  2020-05-27 19:34   ` Bill Stewart
@ 2020-05-27 20:19     ` Ken Brown
  2020-05-27 21:02       ` Bill Stewart
  2020-05-28  2:58       ` Marco Atzeri
  0 siblings, 2 replies; 8+ messages in thread
From: Ken Brown @ 2020-05-27 20:19 UTC (permalink / raw)
  To: cygwin; +Cc: Jari Aalto

[Adding the rsync maintainer to the Cc in case he wants to add something.]

On 5/27/2020 3:34 PM, Bill Stewart wrote:
> On Wed, May 27, 2020 at 1:20 PM Andrey Repin wrote:
> 
>>> When I run rsync --version, I see this:
>>>
>>> rsync  version 3.2.0dev  protocol version 31
>>>
>>> However the Cygwin Setup program says that my rsync is current and is
>>> listed as this version:
>>>
>>> 3.1.3+20200429+gitf7746d0-1
>>>
>>> rsync.samba.org says the current version is 3.1.3.
>>>
>>> So...what's actually the latest? What's the difference between these?
>>
>> Run `which rsync` to see which one is responding to you.
>>
>> 3.2-dev is likely a snapshot from ongoing development branch.
> 
> `which rsync` outputs
> 
> /usr/bin/rsync
> 
> as expected.
> 
> What I am saying is that the Setup program says the installed version
> is 3.1.3+20200429+gitf7746d0-1.

The version number shown by setup indicates that the maintainer built the 
package from a snapshot of the upstream git repository rather than from a stable 
release.  The maintainer chose this version number, presumably to indicate that 
the snapshot was made on 2020-04-29 after git commit f7746d0.

> For that installed version, `rsync --version` says the version is 3.2.0dev

That version number is determined by the upstream rsync developers, and it 
indicates that the build is based on a snapshot of the development branch for a 
future 3.2.0 release.  (This is what Andrey was saying.)

The latest stable release, 3.1.3, is two years old.  I'm sure Jari had good 
reasons for wanting to make a more recent version available.

Ken

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Which rsync version is current?
  2020-05-27 20:19     ` Ken Brown
@ 2020-05-27 21:02       ` Bill Stewart
  2020-05-28  2:58       ` Marco Atzeri
  1 sibling, 0 replies; 8+ messages in thread
From: Bill Stewart @ 2020-05-27 21:02 UTC (permalink / raw)
  To: cygwin

On Wed, May 27, 2020 at 2:19 PM Ken Brown  wrote:

> The latest stable release, 3.1.3, is two years old.  I'm sure Jari had good
> reasons for wanting to make a more recent version available.

Right; except that 3.1.3 is not available for Cygwin (despite its age)
- at least, it doesn't appear as an option in the Cygwin Setup tool.

Presumably a new version of rsync will be available for Cygwin "real soon now".

I'm going to stick with 3.1.2 for now.

Bill

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Which rsync version is current?
  2020-05-27 20:19     ` Ken Brown
  2020-05-27 21:02       ` Bill Stewart
@ 2020-05-28  2:58       ` Marco Atzeri
  2020-05-28 13:48         ` Bill Stewart
  1 sibling, 1 reply; 8+ messages in thread
From: Marco Atzeri @ 2020-05-28  2:58 UTC (permalink / raw)
  To: cygwin

On 27.05.2020 22:19, Ken Brown via Cygwin wrote:
> [Adding the rsync maintainer to the Cc in case he wants to add something.]
> 
> On 5/27/2020 3:34 PM, Bill Stewart wrote:
>> On Wed, May 27, 2020 at 1:20 PM Andrey Repin wrote:
>>
>>
>> What I am saying is that the Setup program says the installed version
>> is 3.1.3+20200429+gitf7746d0-1.
> 
> The version number shown by setup indicates that the maintainer built 
> the package from a snapshot of the upstream git repository rather than 
> from a stable release.  The maintainer chose this version number, 
> presumably to indicate that the snapshot was made on 2020-04-29 after 
> git commit f7746d0.
> 

the main reason to put the date in the version is
to assure that subsequent releases from git repository
will be considered higher by setup and offered as "New"
package

Using only the git tag you can not reach the scope
these are the latest commits on the Rsync code
and we can not say from the tag alone which is the latest

  $ git log --oneline |head
8809f65b A couple minor tweaks.
5710d2fe Simplify the capabilities array.
bcb0a24a Convert NEWS & OLDNEWS into .md files.
96ed96da Fix the parsing of the --version capabilities.
8ad2ca9a Install yodl for the CI builds.
23a37eca Get indent right.
47bae3ab Improve output of capabilities in --version list.
dff9dd56 Remove xxhash from capabilities list.
7182508a Fix a couple deb names.
cb0fe9e1 Improve CI setup.

I see the maintainer have tested his
choice of f7746d0 and he saw no reason to pack
the older 3.1.3

specially as 3.1.3 was NOT building under cygwin
https://bugzilla.samba.org/show_bug.cgi?id=14365

Regards
Marco


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Which rsync version is current?
  2020-05-28  2:58       ` Marco Atzeri
@ 2020-05-28 13:48         ` Bill Stewart
  0 siblings, 0 replies; 8+ messages in thread
From: Bill Stewart @ 2020-05-28 13:48 UTC (permalink / raw)
  To: cygwin

On Wed, May 27, 2020 at 8:58 PM Marco Atzeri wrote:

> specially as 3.1.3 was NOT building under cygwin
> https://bugzilla.samba.org/show_bug.cgi?id=14365

...and that would be why 3.1.3 hasn't been available for Cygwin. Thanks.

For the benefit of others: In that bug report, Wayne Davison (rsync
maintainer) says that this problem is resolved in the upcoming rsync
3.2.0 release.

Thanks

Bill

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-05-28 13:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 18:35 Which rsync version is current? Bill Stewart
2020-05-27 19:16 ` Andrey Repin
2020-05-27 19:34   ` Bill Stewart
2020-05-27 20:19     ` Ken Brown
2020-05-27 21:02       ` Bill Stewart
2020-05-28  2:58       ` Marco Atzeri
2020-05-28 13:48         ` Bill Stewart
2020-05-27 19:27 ` Andrey Repin

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 read-only IMAP folder(s) and NNTP newsgroup(s).