upset, genini: different version ordering

Corinna Vinschen
Thu Jul 23 19:51:00 GMT 2015

On Jul 23 21:37, Achim Gratz wrote:
> Corinna Vinschen writes:
> > Yes.  In the function itself prematch is generated from some regex if
> > it's not given as parameter.  There are three places calling Normalize,
> > two of them with a 2nd parameter.
> >
> > On closer inspection it seems there's already some provisioning for
> > different versioning schemes.  At one point the second parameter
> > is constructed from an entry in setup.hint called "verpat" and a keyword
> > "verpat" is recognized for that.  If "verpat: ,,," is not given for a package,
> > the pattern used as 2nd parameter is set to the package name, a dash,
> > followed by any character string,
> Any character string or starting with a digit?

Any string.  I guess that works because the string prefix is fixed.
It's the name of the package.

> > I'm really sorry, but AFAICS the code should be able to win the
> > obfuscated perl contest hands down.  No noticable commenting either.
> Perl that doesn't look like line noise even to the person that wrote it
> four weeks ago is inefficient.  :-)


> > We could really need help from somebody knowing perl well enough
> > to understand and describe code :}
> I'd rather write new code when the objectives can be agreed upon.

New code as in "new version checks for upset"?  Or as in "new upset
from scratch"?

Still, it would be helpful to have some perl guru understanding the
code being able to describe it to a coder.


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: <>

More information about the Cygwin-apps mailing list