public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* setup libsolv: getting rid of ".any"
@ 2017-12-13  0:04 Ken Brown
  2018-01-05 14:08 ` Jon Turney
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Brown @ 2017-12-13  0:04 UTC (permalink / raw)
  To: cygwin-apps

Jon,

I've been trying to think of a way to get rid of the suffix ".any" that 
gets appended to package names.  I think users will be confused by this 
when they see it in log files and, more importantly, in problem reports. 
  The only thing I can come up with is patching libsolv so that 
pool_solvable2str() suppresses 'arch' when arch == ARCH_ANY.  Can you 
think of a better way?

Ken

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

* Re: setup libsolv: getting rid of ".any"
  2017-12-13  0:04 setup libsolv: getting rid of ".any" Ken Brown
@ 2018-01-05 14:08 ` Jon Turney
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Turney @ 2018-01-05 14:08 UTC (permalink / raw)
  To: Ken Brown, cygwin-apps

On 13/12/2017 00:04, Ken Brown wrote:
> I've been trying to think of a way to get rid of the suffix ".any" that 
> gets appended to package names.  I think users will be confused by this 
> when they see it in log files and, more importantly, in problem reports. 
>   The only thing I can come up with is patching libsolv so that 
> pool_solvable2str() suppresses 'arch' when arch == ARCH_ANY.  Can you 
> think of a better way?

Ideally, we'd have the actual archness of the package, but we don't have 
that information for installed packages, so I didn't bother with keeping 
it around for anything.

I'm not too worried about this appearing in the log file, but we could 
post-process problem strings in SolverSolution::report() to remove '.any'

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

end of thread, other threads:[~2018-01-05 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-13  0:04 setup libsolv: getting rid of ".any" Ken Brown
2018-01-05 14:08 ` 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).