Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2022 03:33:46 +0200
From:      Felix Palmen <felix@palmen-it.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: Portscout wrong 'New version'
Message-ID:  <20220724013346.3x2lyd6ehumzbtjv@nexus.home.palmen-it.de>
In-Reply-To: <CAFDf7UKU%2BCWtKW2rVoo5pEGZ3YWyUC6_OhkkVBmH83G6ngqigQ@mail.gmail.com>
References:  <CAFDf7UKqrN-n4obHhnPdvKX%2BLDF_CudUg%2BhDTvYUb77ATv6Cfg@mail.gmail.com> <20220723225651.i7x7a322g2owgnh5@nexus.home.palmen-it.de> <CAFDf7UKU%2BCWtKW2rVoo5pEGZ3YWyUC6_OhkkVBmH83G6ngqigQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--tlhhqvw44ixoprzi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello Nuno,

* Nuno Teixeira <eduardo@freebsd.org> [20220724 01:53]:
> PORTSCOUT=3D limit:^[0-9.]+$$ # ignore master.mint* tags

regarding this, portscout is documented to use perl regex. I didn't try
myself so far, but this *should* mean [0-9] could be simplified to \d.

Of course, then it wouldn't include a dot (.)

But then, no version number will ever *start* with a dot (I assume).
With PORTSCOUT limit, I'd try to be as permissive as possible. \d\.\d
seems to be a (perl regex) pattern matching most "sane" version numbers
(and reject other tags appearing on github).

Cheers, Felix

--=20
 Dipl.-Inform. Felix Palmen  <felix@palmen-it.de>   ,.//..........
 {web}  http://palmen-it.de  {jabber} [see email]   ,//palmen-it.de
 {pgp public key}     http://palmen-it.de/pub.txt   //   """""""""""
 {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A

--tlhhqvw44ixoprzi
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEqJE9VV8uOnQ5ZbmXPvKLCrwC2ioFAmLcoXkACgkQPvKLCrwC
2iopOAgAjW6fuKvAaFOsrZAbfGoLXt2gL2haTnUyrDjfFVbRe67j5ExVEXUXFTYv
g8zzBWFv/ucR2qPpc93MbHKy9n5mnM/jY9+TX23QILrgtrE9tWOSk5FDWmy8pis0
rGdtHpoahtEybGd8PnVVXYo2MKc9i1VB7SjLPUuEltA2+PxxT9BQay9Qlr9HE383
BzohO5/sEGYqrb01FoAhaYlE1m/1QBQ3gnNmIqJZDHatQ2UShd3VjaLSiYS4m55h
uevQxRiqtyFbqShEBtziD9oUoSYHfPVvvqA35lLkA/Iz9Dj0C+XKbHT/Ug1pUWLk
+1Gldbs2MOFoHid6lUfhAkktYy2eQA==
=VczX
-----END PGP SIGNATURE-----

--tlhhqvw44ixoprzi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220724013346.3x2lyd6ehumzbtjv>