public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* setup 2.886 release candidate - please test
@ 2018-02-01 15:06 Jon Turney
  2018-02-01 20:21 ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Turney @ 2018-02-01 15:06 UTC (permalink / raw)
  To: cygwin-apps


A new setup release candidate is available at:

   https://cygwin.com/setup/setup-2.886.x86.exe    (32 bit version)
   https://cygwin.com/setup/setup-2.886.x86_64.exe (64 bit version)

Since this contains many internal changes, I think this could use some 
wider testing before being deployed. Please test and report any problems 
here.

This is not the place for setup feature requests.

Changes compared to 2.885:
- Apply default problem solutions in unattended mode
- Make --include-source work correctly in unattended mode
- Allow parser to accept an empty depends: list (2.885 (only) will 
report syntax errors when parsing setup.ini containing these, when the 
corresponding change to calm is deployed)

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

* Re: setup 2.886 release candidate - please test
  2018-02-01 15:06 setup 2.886 release candidate - please test Jon Turney
@ 2018-02-01 20:21 ` Achim Gratz
  2018-02-02 19:25   ` Jon Turney
  0 siblings, 1 reply; 6+ messages in thread
From: Achim Gratz @ 2018-02-01 20:21 UTC (permalink / raw)
  To: cygwin-apps

Jon Turney writes:
> A new setup release candidate is available at:
>
>   https://cygwin.com/setup/setup-2.886.x86.exe    (32 bit version)
>   https://cygwin.com/setup/setup-2.886.x86_64.exe (64 bit version)

Locally compiled, but not well tested yet.

> Changes compared to 2.885:
> - Apply default problem solutions in unattended mode
> - Make --include-source work correctly in unattended mode
> - Allow parser to accept an empty depends: list (2.885 (only) will
> report syntax errors when parsing setup.ini containing these, when the
> corresponding change to calm is deployed)

Do you have an idea yet why the last package gets orphaned (or did, if
it's already fixed)?  I will need to remove my workaround of placing an
empty dummy at the end to try.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

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

* Re: setup 2.886 release candidate - please test
  2018-02-01 20:21 ` Achim Gratz
@ 2018-02-02 19:25   ` Jon Turney
  2018-02-02 19:38     ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Turney @ 2018-02-02 19:25 UTC (permalink / raw)
  To: cygwin-apps

On 01/02/2018 20:21, Achim Gratz wrote:
> Jon Turney writes:
>> A new setup release candidate is available at:
>>
>>    https://cygwin.com/setup/setup-2.886.x86.exe    (32 bit version)
>>    https://cygwin.com/setup/setup-2.886.x86_64.exe (64 bit version)
> 
> Locally compiled, but not well tested yet.
> 
>> Changes compared to 2.885:
>> - Apply default problem solutions in unattended mode
>> - Make --include-source work correctly in unattended mode
>> - Allow parser to accept an empty depends: list (2.885 (only) will
>> report syntax errors when parsing setup.ini containing these, when the
>> corresponding change to calm is deployed)
> 
> Do you have an idea yet why the last package gets orphaned (or did, if

'Yet'?  This is the first time I've heard of this!

Is this regression?

> it's already fixed)?  I will need to remove my workaround of placing an
> empty dummy at the end to try.

I guess you are saying that the last package listed in setup.ini appears 
as orphaned, when you have a re-written setup.ini which only contains 
one version per package?

Which I can easily believe happens, due to the rather weird way that the 
data from a parser reduction is transferred into the package database.

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

* Re: setup 2.886 release candidate - please test
  2018-02-02 19:25   ` Jon Turney
@ 2018-02-02 19:38     ` Achim Gratz
  2018-02-03 13:38       ` Jon Turney
  0 siblings, 1 reply; 6+ messages in thread
From: Achim Gratz @ 2018-02-02 19:38 UTC (permalink / raw)
  To: cygwin-apps

Jon Turney writes:
>> Do you have an idea yet why the last package gets orphaned (or did, if
>
> 'Yet'?  This is the first time I've heard of this!

Right you are.  I thought I had mentioned it already, but forgot since I
can't post from work.

> Is this regression?

Yes.

>> it's already fixed)?  I will need to remove my workaround of placing an
>> empty dummy at the end to try.
>
> I guess you are saying that the last package listed in setup.ini
> appears as orphaned, when you have a re-written setup.ini which only
> contains one version per package?

I've tested that again today.  The last package gets orphaned if there
is only a current section.  I believe that the last section is also not
processed, so in the standard Cygwin installation you'd not be able to
see the previous version of _update-info-dir.

> Which I can easily believe happens, due to the rather weird way that
> the data from a parser reduction is transferred into the package
> database.

All my packages only have a single (curr) version in the rewritten
setup.ini as I have different setup.ini files (or rather directories
they are in) for keeping older states of the installation around.  Some
of the processing seems to be associated with seeing the start of a new
package or a new section as I can make it process the last package
correctly if I either start a dummy package with absolutely no content
(just the "@ packagename" line) or a dummy section (either [prev] or
[test] works, again with no content).



Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

* Re: setup 2.886 release candidate - please test
  2018-02-02 19:38     ` Achim Gratz
@ 2018-02-03 13:38       ` Jon Turney
  2018-02-05 20:44         ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Turney @ 2018-02-03 13:38 UTC (permalink / raw)
  To: cygwin-apps; +Cc: Achim Gratz

[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]

On 02/02/2018 19:38, Achim Gratz wrote:
> Jon Turney writes:
>>> Do you have an idea yet why the last package gets orphaned (or did, if
>>
>> 'Yet'?  This is the first time I've heard of this!
> 
> Right you are.  I thought I had mentioned it already, but forgot since I
> can't post from work.
> 
>> Is this regression?
> 
> Yes.
> 
>>> it's already fixed)?  I will need to remove my workaround of placing an
>>> empty dummy at the end to try.
>>
>> I guess you are saying that the last package listed in setup.ini
>> appears as orphaned, when you have a re-written setup.ini which only
>> contains one version per package?
> 
> I've tested that again today.  The last package gets orphaned if there
> is only a current section.  I believe that the last section is also not
> processed, so in the standard Cygwin installation you'd not be able to
> see the previous version of _update-info-dir.
> 
>> Which I can easily believe happens, due to the rather weird way that
>> the data from a parser reduction is transferred into the package
>> database.

Can you test the attached patch, please?


[-- Attachment #2: 0001-Make-sure-we-process-the-last-version-description-in.patch --]
[-- Type: text/plain, Size: 605 bytes --]

From 467a8839a34b6bc7e88ad181bb5c4b089f297d47 Mon Sep 17 00:00:00 2001
From: Jon Turney <jon.turney@dronecode.org.uk>
Date: Fri, 2 Feb 2018 19:41:58 +0000
Subject: [PATCH setup] Make sure we process the last version description in
 setup.ini

---
 IniDBBuilderPackage.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/IniDBBuilderPackage.cc b/IniDBBuilderPackage.cc
index 4169634..8fa6ad9 100644
--- a/IniDBBuilderPackage.cc
+++ b/IniDBBuilderPackage.cc
@@ -36,6 +36,7 @@ currentSpec (0), _feedback (aFeedback){}
 
 IniDBBuilderPackage::~IniDBBuilderPackage()
 {
+  process();
 }
 
 void
-- 
2.16.1


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

* Re: setup 2.886 release candidate - please test
  2018-02-03 13:38       ` Jon Turney
@ 2018-02-05 20:44         ` Achim Gratz
  0 siblings, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2018-02-05 20:44 UTC (permalink / raw)
  To: cygwin-apps

Jon Turney writes:
>>> Which I can easily believe happens, due to the rather weird way that
>>> the data from a parser reduction is transferred into the package
>>> database.
>
> Can you test the attached patch, please?

Thanks, this works for the last package problem, although I can't
account for all the possible corner cases that may exist elsewhere.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

end of thread, other threads:[~2018-02-05 20:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-01 15:06 setup 2.886 release candidate - please test Jon Turney
2018-02-01 20:21 ` Achim Gratz
2018-02-02 19:25   ` Jon Turney
2018-02-02 19:38     ` Achim Gratz
2018-02-03 13:38       ` Jon Turney
2018-02-05 20:44         ` Achim Gratz

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