public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* New packages: unison2.51+4.04.2, unison2.51+4.10.0
@ 2021-12-22 16:21 Andrew Schulman
  2021-12-22 16:40 ` Marco Atzeri
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Schulman @ 2021-12-22 16:21 UTC (permalink / raw)
  To: cygwin-apps

Please add me as maintainer of two new unison packages:

unison2.51+4.04.2
unison2.51+4.10.0

These will obsolete the current unison2.51 package.

Thanks, Andrew


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

* Re: New packages: unison2.51+4.04.2, unison2.51+4.10.0
  2021-12-22 16:21 New packages: unison2.51+4.04.2, unison2.51+4.10.0 Andrew Schulman
@ 2021-12-22 16:40 ` Marco Atzeri
  2021-12-22 17:30   ` Andrew Schulman
  2021-12-22 18:51   ` Andrew Schulman
  0 siblings, 2 replies; 8+ messages in thread
From: Marco Atzeri @ 2021-12-22 16:40 UTC (permalink / raw)
  To: cygwin-apps

On 22.12.2021 17:21, Andrew Schulman via Cygwin-apps wrote:
> Please add me as maintainer of two new unison packages:
> 
> unison2.51+4.04.2
> unison2.51+4.10.0
> 
> These will obsolete the current unison2.51 package.
> 
> Thanks, Andrew
> 

added.

Question: why Unison need all these versions ?

$ grep "unison" cygwin-pkg-maint
unison2.27                                   Andrew Schulman
unison2.32                                   Andrew Schulman
unison2.40                                   Andrew Schulman
unison2.45                                   Andrew Schulman
unison2.48                                   Andrew Schulman
unison2.48+4.04.2                            Andrew Schulman
unison2.48+4.08.1                            Andrew Schulman
unison2.49                                   Andrew Schulman
unison2.51                                   Andrew Schulman
unison2.51+4.04.2                            Andrew Schulman
unison2.51+4.10.0                            Andrew Schulman

Regards
Marco

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

* Re: New packages: unison2.51+4.04.2, unison2.51+4.10.0
  2021-12-22 16:40 ` Marco Atzeri
@ 2021-12-22 17:30   ` Andrew Schulman
  2021-12-22 18:51   ` Andrew Schulman
  1 sibling, 0 replies; 8+ messages in thread
From: Andrew Schulman @ 2021-12-22 17:30 UTC (permalink / raw)
  To: cygwin-apps

> On 22.12.2021 17:21, Andrew Schulman via Cygwin-apps wrote:
> > Please add me as maintainer of two new unison packages:
> > 
> > unison2.51+4.04.2
> > unison2.51+4.10.0
> > 
> > These will obsolete the current unison2.51 package.
> > 
> > Thanks, Andrew
> > 
> 
> added.

Thanks.

> Question: why Unison need all these versions ?
> 
> $ grep "unison" cygwin-pkg-maint
> unison2.27                                   Andrew Schulman
> unison2.32                                   Andrew Schulman
> unison2.40                                   Andrew Schulman
> unison2.45                                   Andrew Schulman
> unison2.48                                   Andrew Schulman
> unison2.48+4.04.2                            Andrew Schulman
> unison2.48+4.08.1                            Andrew Schulman
> unison2.49                                   Andrew Schulman
> unison2.51                                   Andrew Schulman
> unison2.51+4.04.2                            Andrew Schulman
> unison2.51+4.10.0                            Andrew Schulman

Yeah. It's too complicated. The problem is that different versions of
unison are only compatible with each other if the first two numbers of the
Unison version are the same, AND they were compiled with compatible
versions of OCaml. 

The underlying problem is that both Unison and OCaml have changed their
"marshaling" or data serialization format over time. If the marshaling
formats are different, data could be corrupted. To prevent that, Unison
will quit if it connects to an incompatible version on the other end.

So this is a headache for packagers. We don't know what version might be
running on the other end, so we have to provide a bunch of different
versions, so users are likely to have one that works for them. The Unison
README.Cygwin file has more information.

This problem has been discussed a lot recently on the Unison lists. The
Unison devs are aware of it and are working towards a future release that
will start to preserve backwards compatibility if the marshaling format
changes again in the future.

Andrew


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

* Re: New packages: unison2.51+4.04.2, unison2.51+4.10.0
  2021-12-22 16:40 ` Marco Atzeri
  2021-12-22 17:30   ` Andrew Schulman
@ 2021-12-22 18:51   ` Andrew Schulman
  2021-12-22 19:30     ` Jon Turney
  2021-12-22 19:37     ` Marco Atzeri
  1 sibling, 2 replies; 8+ messages in thread
From: Andrew Schulman @ 2021-12-22 18:51 UTC (permalink / raw)
  To: cygwin-apps

> On 22.12.2021 17:21, Andrew Schulman via Cygwin-apps wrote:
> > Please add me as maintainer of two new unison packages:
> > 
> > unison2.51+4.04.2
> > unison2.51+4.10.0
> > 
> > These will obsolete the current unison2.51 package.
> > 
> > Thanks, Andrew
> > 
> 
> added.

Since I marked unison2.51+4.04.2 as obsoletes: unison2.51, it seems that
unison2.51 now needs to be removed as a separate package? calm says:

ERROR: package 'unison2.51' is at paths unison2.51 and
unison2.51+4.10.0/unison2.51

Can you help with that?

Thanks, Andrew


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

* Re: New packages: unison2.51+4.04.2, unison2.51+4.10.0
  2021-12-22 18:51   ` Andrew Schulman
@ 2021-12-22 19:30     ` Jon Turney
  2021-12-22 19:37     ` Marco Atzeri
  1 sibling, 0 replies; 8+ messages in thread
From: Jon Turney @ 2021-12-22 19:30 UTC (permalink / raw)
  To: Schulman, Andrew, cygwin-apps

On 22/12/2021 18:51, Andrew Schulman via Cygwin-apps wrote:
>> On 22.12.2021 17:21, Andrew Schulman via Cygwin-apps wrote:
>>> Please add me as maintainer of two new unison packages:
>>>
>>> unison2.51+4.04.2
>>> unison2.51+4.10.0
>>>
>>> These will obsolete the current unison2.51 package.
>>>
>>> Thanks, Andrew
>>>
>>
>> added.
> 
> Since I marked unison2.51+4.04.2 as obsoletes: unison2.51, it seems that
> unison2.51 now needs to be removed as a separate package? calm says:

Yeah, this is an unfortunate side-effect of the way upload authorization 
works at the moment.

> ERROR: package 'unison2.51' is at paths unison2.51 and
> unison2.51+4.10.0/unison2.51
> 
> Can you help with that?

I've moved the existing unison2.51 packages to 
unison2.51+4.10.0/unison2.51, which should allow this upload to succeed.

Please try again, and apologies for the inconvenience.


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

* Re: New packages: unison2.51+4.04.2, unison2.51+4.10.0
  2021-12-22 18:51   ` Andrew Schulman
  2021-12-22 19:30     ` Jon Turney
@ 2021-12-22 19:37     ` Marco Atzeri
  2021-12-22 19:50       ` Andrew Schulman
  1 sibling, 1 reply; 8+ messages in thread
From: Marco Atzeri @ 2021-12-22 19:37 UTC (permalink / raw)
  To: cygwin-apps

On 22.12.2021 19:51, Andrew Schulman via Cygwin-apps wrote:
>> On 22.12.2021 17:21, Andrew Schulman via Cygwin-apps wrote:
>>> Please add me as maintainer of two new unison packages:
>>>
>>> unison2.51+4.04.2
>>> unison2.51+4.10.0
>>>
>>> These will obsolete the current unison2.51 package.
>>>
>>> Thanks, Andrew
>>>
>>
>> added.
> 
> Since I marked unison2.51+4.04.2 as obsoletes: unison2.51, it seems that
> unison2.51 now needs to be removed as a separate package? calm says:
> 
> ERROR: package 'unison2.51' is at paths unison2.51 and
> unison2.51+4.10.0/unison2.51

this says that unison2.51+4.10.0 obsolets unison2.51
not unison2.51+4.04.

Can you confirm ?

> Can you help with that?

my usual solution is

create directory unison2.51+4.10.0
move directory unison2.51 under unison2.51+4.10.0

this will allow the upload.
Eventually we need to wait 4 hours for "calm" to  perform a full index 
rebuild.




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

* Re: New packages: unison2.51+4.04.2, unison2.51+4.10.0
  2021-12-22 19:37     ` Marco Atzeri
@ 2021-12-22 19:50       ` Andrew Schulman
  2021-12-22 20:21         ` Jon Turney
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Schulman @ 2021-12-22 19:50 UTC (permalink / raw)
  To: cygwin-apps

> > Since I marked unison2.51+4.04.2 as obsoletes: unison2.51, it seems that
> > unison2.51 now needs to be removed as a separate package? calm says:
> > 
> > ERROR: package 'unison2.51' is at paths unison2.51 and
> > unison2.51+4.10.0/unison2.51
> 
> this says that unison2.51+4.10.0 obsolets unison2.51
> not unison2.51+4.04.
> 
> Can you confirm ?

Sorry for the confusion. I posted the wrong error message.

Since unison2.51 can only appear in one place, it should be obsoleted by
unison2.51+4.04.2, which uses the same OCaml version.

So Jon, can you please move unison2.51 under unison2.51+4.04.2 ?
 
> > Can you help with that?
> 
> my usual solution is
> 
> create directory unison2.51+4.10.0
> move directory unison2.51 under unison2.51+4.10.0
> 
> this will allow the upload.

I did that, but I still got the error message, I think when calm tried to
move my upload into the main file location.

Andrew


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

* Re: New packages: unison2.51+4.04.2, unison2.51+4.10.0
  2021-12-22 19:50       ` Andrew Schulman
@ 2021-12-22 20:21         ` Jon Turney
  0 siblings, 0 replies; 8+ messages in thread
From: Jon Turney @ 2021-12-22 20:21 UTC (permalink / raw)
  To: cygwin-apps, Schulman, Andrew

On 22/12/2021 19:50, Andrew Schulman via Cygwin-apps wrote:
>>> Since I marked unison2.51+4.04.2 as obsoletes: unison2.51, it seems that
>>> unison2.51 now needs to be removed as a separate package? calm says:
>>>
>>> ERROR: package 'unison2.51' is at paths unison2.51 and
>>> unison2.51+4.10.0/unison2.51
>>
>> this says that unison2.51+4.10.0 obsolets unison2.51
>> not unison2.51+4.04.
>>
>> Can you confirm ?
> 
> Sorry for the confusion. I posted the wrong error message.
> 
> Since unison2.51 can only appear in one place, it should be obsoleted by
> unison2.51+4.04.2, which uses the same OCaml version.

Yes, note that only one of unison2.51+4.04.2 and unison2.51+4.04.2 can 
obsolete unison2.51.

> So Jon, can you please move unison2.51 under unison2.51+4.04.2 ?

Done.

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

end of thread, other threads:[~2021-12-22 20:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22 16:21 New packages: unison2.51+4.04.2, unison2.51+4.10.0 Andrew Schulman
2021-12-22 16:40 ` Marco Atzeri
2021-12-22 17:30   ` Andrew Schulman
2021-12-22 18:51   ` Andrew Schulman
2021-12-22 19:30     ` Jon Turney
2021-12-22 19:37     ` Marco Atzeri
2021-12-22 19:50       ` Andrew Schulman
2021-12-22 20:21         ` Jon Turney

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).