fyi, "bogus" is fixed ---------- Forwarded message ---------- From: andk <notificati...@github.com> Date: Wed, Feb 12, 2014 at 12:39 AM Subject: Re: [pause] Should not index non-lax VERSON numbers (#73) To: andk/pause <pa...@noreply.github.com> Cc: David Golden <x...@xdg.me>
David Golden <notificati...@github.com> writes: > We should probably purge from 02packages (and the underlying table) any such > examples. Thanks for the note, first aid: mysql> select package,version,dist from packages where version = 'bogus' ; +-----------------------------------+---------+----------------------------------------------+ | package | version | dist | +-----------------------------------+---------+----------------------------------------------+ | Mail::SpamAssassin::Plugin | bogus | K/KM/KMCGRAIL/Mail-SpamAssassin-3.3.2.tar.gz | | Mail::SpamAssassin::PluginHandler | bogus | K/KM/KMCGRAIL/Mail-SpamAssassin-3.3.2.tar.gz | | Mail::SpamAssassin::Reporter | bogus | K/KM/KMCGRAIL/Mail-SpamAssassin-3.3.2.tar.gz | | Mail::SpamAssassin::Dns | bogus | K/KM/KMCGRAIL/Mail-SpamAssassin-3.3.2.tar.gz | | Mail::SpamAssassin::Conf | bogus | K/KM/KMCGRAIL/Mail-SpamAssassin-3.3.2.tar.gz | +-----------------------------------+---------+----------------------------------------------+ 5 rows in set (0.06 sec) mysql> delete from packages where version = 'bogus' ; Query OK, 5 rows affected (0.10 sec) -- andreas — Reply to this email directly or view it on GitHub. -- David Golden <x...@xdg.me> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg On Tue, Feb 11, 2014 at 4:19 PM, David Golden <x...@xdg.me> wrote: > On Tue, Feb 11, 2014 at 3:40 PM, Kevin A. McGrail <kmcgr...@pccc.com> wrote: >> >> (2) You can use C<< eval { HTML::Parser->VERSION(3.46) >> for your >> comparison which won't get picked up by mistake. >> >> I can look at changing that for 3.4.1 but SA 3.4.0 is effectively a >> released artifact at this point so it sounds like we'll need a 3.4.1 release >> to handle this. I've been handling the release all day and night now so I'm >> running on empty. With the eval above, how would you recommend implementing >> it because I don't know the C<< syntax you are showing. This is the current >> block. A little direction would help a lot! >> > > Sorry. That was POD code quoting, which I use occasionally in email. I > mean this: > > unless ( eval { HTML::Parser->VERSION(3.46) } ) { > ... > } > > The VERSION method (see "perldoc UNIVERSAL") with an argument is an > assertion so it needs to be wrapped with eval. >> >> Finally, could you tell me more for a second about the real world >> impact of this indexing issue? From a CPAN lay-perspective, I was >> able to run cpan and do install Mail-SpamAssassin and things appear >> to have worked. >> http://search.cpan.org/~kmcgrail/Mail-SpamAssassin-3.4.0/ also looks >> ok. > > > As long as "Mail::SpamAssassin" was indexed, then people can install it. > The things that failed to index did not get updated. So, for example, > compare these index entries: > > Mail::SpamAssassin 3.004000 > K/KM/KMCGRAIL/SpamAssassin/Mail-SpamAssassin-3.4.0.tar.gz > Mail::SpamAssassin::Conf bogus > K/KM/KMCGRAIL/Mail-SpamAssassin-3.3.2.tar.gz > > Should some crazy person do "cpan Mail::SpamAssassin::Conf" they would get > the 3.3.2 tarball. > > Realistically, you probably don't need to care. > > David > > -- > David Golden <x...@xdg.me> > Take back your inbox! → http://www.bunchmail.com/ > Twitter/IRC: @xdg -- David Golden <x...@xdg.me> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg