Re: tv_grab_pt error 418: I'm a teapot

Nick Morrott <[email protected]> Mon, 10 Aug 2015 19:11:42 +0100
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <CAOQWjw2K+UejBxPwt_ewXq-MfpgH60rTyQ+Jy7gmOoYyOWVtFA@mail.gmail.com>
On 10 August 2015 at 16:16, Robert Eden <[email protected]> wrote:
> On 8/10/2015 7:51 AM, [email protected] wrote:
>> On Mon, 10 Aug 2015 13:40:01 +0100, José Silva wrote:
>>> That was fast! Thank you.
>>>
>>> About these dependencies, I'm on ubuntu 14.04. My Get_nice.pm is
>>> v0.005066 and JSON::PP is v2.27202
>>>
>>> If I must update them, is it correct to obtain the latest libxmltv-perl
>>> and libjson-pp-perl packages, extract those modules and replace on
>>> /usr/share/perl5/XMLTV/ and JSON/PP.pm? Or do I have to install the
>>> whole packages?
>>>
>>> Rgds,
>>> jss
>>
>> Hi,
>>
>> Get_nice.pm v0.005067 won't be in a package yet, but you can download from CVS:
>> http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/grab/Get_nice.pm?view=log
>> Just replace your existing file.
>>
>> Any version of JSON::PP should work so if you already have that package installed then you're good to go.

> Since get_nice is one of ours, shouldn't it just install with the new
> XMLTV?  (from the nightly tarball or cvs)
>

I have to say I'm not a fan *at all* of the appearance of versioning
individual XMLTV core libraries, especially with versioning that can
almost match that of the current stable release. E.g.:

$ ack '\$VERSION' lib
lib/Augment.pm:141:our $VERSION = 0.001001;

lib/Configure/Writer.pm:8:our $VERSION = 0.005065;

lib/Configure.pm:7:our $VERSION = 0.005066;

lib/Data/Recursive/Encode.pm:14:our $VERSION = '0.04';

lib/Date.pm:18:our $VERSION = 0.005066;

lib/IMDB.pm:49:our $VERSION = '0.10';      # version number of database
lib/IMDB.pm:153:    $VERSION=~m/^(\d+)\.(\d+)$/o || die "package
corrupt, VERSION string invalid ($VERSION)";

lib/Options.pm:8:our $VERSION = 0.005065;

lib/Supplement.pm:7:our $VERSION = 0.005065;

lib/Supplement.pm.in:7:our $VERSION = 0.005065;

lib/XMLTV.pm:15:our $VERSION = '0.5.66';

lib/XMLTV.pm.in:15:our $VERSION = '0.5.66';

lib/exe_wrap.pl:72:my $VERSION = '0.5.66'

The XMLTV core libraries are meant to be distributed together as a
distribution, and are all tied to the version of the core XMLTV.pm
library at release.

In addition to providing a maintainance overhead, what is an end-user
to think if they have version 0.5.65 of a library installed after
installing 0.5.66 (or later) XMLTV packages?

If a user ever needs to download an updated version of a specific
file, you can do this through the Sourceforge code browser by
downloading the current version of the file as Geoff suggests.

But I'd much prefer to see users understanding how to actually check
out the code as a whole from CVS, and configure, make (and optionally
make install) to ensure they get *all* of the most recent fixes.

Cheers,
Nick

------------------------------------------------------------------------------
_______________________________________________
xmltv-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltv-users