Setup patch to keep test version if test version installed

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Feb 3 15:28:00 GMT 2015


On Feb  3 08:04, Ken Brown wrote:
> On 2/3/2015 6:33 AM, Corinna Vinschen wrote:
> >Hey guys,
> >
> >On Jan 28 21:23, Corinna Vinschen wrote:
> >>
> >>   https://cygwin.com/setup-test-x86.exe
> >>   https://cygwin.com/setup-test-x86_64.exe
> >>
> >>These should fix the aforementioned bug I introduced, as well as another
> >>subtil problem when checking and unchecking the Bin/Src boxes.  If both
> >>boxes were deselected, the package got uninstalled without showing up in
> >>the "Pending" view.  I worked around that by setting the package state
> >>explicitely to "Uninstall" if both boxes got deselected.
> >>
> >>This version also introduces an experimental option -m/--mirror-mode.
> >>
> >>There's something bugging me for a long time as well.  We're running our
> >>own Cygwin mirror on a local Linux box.  The directory is mounted via
> >>NFS on my Windows boxes.  So, rather than installing from internet, I
> >>"Install from Local Directory", with the local directory being the
> >>NFS-mounted mirror directory.
> >>
> >>This works fine, except that, after parsing setup.ini, setup hangs
> >>unresponsive for about 2 minutes.  Only then the chooser window opens.
> >>
> >>It turned out that the 2 minutes are spent iterating throught the full
> >>set of packages and testing each package and each packageversion if the
> >>underlying package file exists in the download directory.
> >>
> >>Given that the directory is a mirror in my case, the test makes only
> >>marginal sense.  Therefore I added the -m option which avoids most file
> >>system access and only checks in a border case (installed version is not
> >>in setup.ini).
> >>
> >>If you're doing as I do, running a local mirror, you may welcome this
> >>option.  I just don't guarantee that it always works ;}  If you find a
> >>bug, don't hesitate to report it.
> >
> >Did you test this version?  Is it ok to become the release version of
> >setup?
> 
> It works fine for me.

Nice.  Are you a potential user of the -m option?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20150203/45c066fa/attachment.sig>


More information about the Cygwin-apps mailing list