This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setup patch to keep test version if test version installed

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:
> >>
> >>
> >>
> >>
> >>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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpxMDS7Ub5tQ.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]