public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* setup: problems with local install
@ 2018-03-05 18:34 Ken Brown
  2018-03-06  2:18 ` Ken Brown
  2018-03-06 15:18 ` Jon Turney
  0 siblings, 2 replies; 15+ messages in thread
From: Ken Brown @ 2018-03-05 18:34 UTC (permalink / raw)
  To: cygwin-apps

This is a followup to the thread started here:

   https://cygwin.com/ml/cygwin/2018-03/msg00027.html

There are two problems with installing from a local directory.

1. In the Category view, "No packages found" is displayed where it 
should say "All" in the first line of the list.  This is probably just a 
cosmetic issue, and I haven't tried to track it down yet.

2. In several of the views, all packages from setup.ini are listed, even 
if there is no corresponding archive in the local directory.  What 
happens is that packagemeta::scan() calls pkg.source()->sites.clear() 
for such packages, but this information is never used to prevent the 
package from appearing in the list.

It used to be that such packages would be declared inaccessible, but 
SolvableVersion::accessible() no longer does this.

Jon, you wrote the following comment in the definition of 
SolvableVersion::accessible():

"The 'accessible' check used to test if an archive was available locally 
or from a mirror.  This seems utterly pointless as binary packages which 
aren't 'accessible' never get to appear in the package list."

Do we need to reinstate the old function of the accessibility check?

Ken

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

end of thread, other threads:[~2018-03-15 21:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-05 18:34 setup: problems with local install Ken Brown
2018-03-06  2:18 ` Ken Brown
2018-03-06 16:38   ` Jon Turney
2018-03-06 15:18 ` Jon Turney
2018-03-06 18:47   ` Jon Turney
2018-03-07 21:53     ` Ken Brown
2018-03-08 15:59       ` Ken Brown
2018-03-08 21:59         ` Ken Brown
2018-03-12 13:22           ` Ken Brown
2018-03-14 16:07             ` Jon Turney
2018-03-14 19:25               ` Ken Brown
2018-03-15 21:02                 ` Jon Turney
2018-03-06 19:31   ` Ken Brown
2018-03-06 22:13     ` Jon Turney
2018-03-07  7:32     ` 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).