Infinity Perl : slack-get, Perl, Qt, KDE and other Open source stuffs

To content | To menu | To search

Perl modules

Entries feed - Comments feed

Friday 29 August 2008

Release: Slackware::Slackget v0.17

Hi,

A new version of the Slackware::Slackget module was released on CPAN.
This release features the followings changes :
 - lots of fix in order to make all classes of the module SGNC Compliant
 - Slackware::Slackget::GPG have had many methods implemented
 - change the to_string() behavior of the Slackware::Slackget::PackageList, Slackware::Slackget::Package and Slackware::Slackget::List to make them able to generate a Slackware's PACKAGES.TXT (supporting, of course, the slapt-get/swaret format for dependencies).

This module was in a need of a new release since the documentation have been updated a lot (and I personally use CPAN as my API doc reference ^^).

Arnaud Dupuis

Friday 15 February 2008

compatibility of the Slackware::Slackget Perl module version 0.15_99

Hi,
It looks like that the latest released version of the Slackware::Slackget Perl module is quite incompatible with the Solaris operating system.
I was expecting this kind of problem with this release because I added more tests to the test suite. And Slackware::Slackget, as its name said, is designed to run on Slackware GNU/Linux based distributions.
So before the 0.15 final release, in order to provide a very usefull test suite, I will add some more tests.
And unfortunately, I expect more issues... The more the test suite is accurate, the more it will point the problem with Slackware incompatible systems.

The problem with the Solaris systems is that the `file` command do not support the -b switch. I use the file command instead of a CPAN module to reduce the amount of dependencies of Slackware::Slackget but I will look at this and try to make the Slackware::Slackget::File class use a CPAN module if installed (like File::Type).

Arnaud Dupuis

Saturday 2 February 2008

Release: Slackware::Slackget v0.15_99 and SGNC documentation

Hi,

A new version of the Slackware::Slackget module was released few hours ago on CPAN.
This release features the followings changes :
    - modify Slackware::Slackget::File->filename() behavior to allow it to set the filename
    - fix is_heavy_word() method in Slackware::Slackget::Package, wich now return the correct result
    - update Slackware::Slackget::Date to make it fill the month-name from the month-number
    - update Slackware::Slackget::Date by overloading '<=>' and 'cmp'
    - changed all classes of the Slackware::Slackget module to be compliant with the slack-get naming convention (SGNCC : Slack-Get Naming Convention Compliant) (http://www.infinityperl.org/post/2008/01/30/slack-get-API-review)
    - add more tests to the test suite for the followings classes :
        * Slackware::Slackget::File (SGNCC & backward compatible)
        * Slackware::Slackget::Media (SGNCC & backward compatible)
        * Slackware::Slackget::Date (SGNCC& backward compatible)
        * Slackware::Slackget::Package (SGNCC & backward compatible)

It is tagged as a developers' release for the moment since all the test for all modified (SGNCC) modules, the documentation is not yet up-to-date considering all the changes made, and I still need some time to test if their is absolutely no side effects due to the changes I made in the API.

Arnaud Dupuis


Thursday 6 December 2007

Slackware::Slackget is born !

Hi,
As I announced many times, the slackget10 is now dead since the Slackware::Slackget namespace was created on CPAN.
I already released 2 versions of this module and will keep going !
With the last release, I finally managed to fix the test suite in in order to pass all tests on all testers architectures (even on Cygwin !).
I also improved a lot the network backend system by making it stackable and even if some problems are still here the global thing is on the rails.

What I'm not very happy with is the remaining problems with the S::Sg::Network module... On the paper it works just great, I can take the output of the decode() method to give it as input to the encode() one and all runs perfectly smoothly (see the network-backend.pl test script). But in real life... the sg_daemon and slack-get have some difficulties to talk to each other...

Anyway things are going pretty well and I have a lot to write in the "development diary" !!

Cya !

Arnaud Dupuis

Monday 3 December 2007

slack-get perl module change its name !

Hi,
Like I announced on the developers' mailing list, the slackget10 was about to die. It's now done. The PAUSE (Perl Authors Upload SErver) admins sent me an email confirming the creation of the Slackware::Slackget registered namespace on PAUSE/CPAN.
I will modify all the library to fit the new namespace and release the changes as soon as possible.
One more thing : I created a new branch on the SVN for the GUI tests ;-)

Cya,

Arnaud Dupuis

Sunday 11 November 2007

New slackget10 Perl Module release - version 0.11

Hi,

Well.. I changed so much slackget10::Network::Connection* modules that I made a release of the whole module on CPAN !
This release features :
  • Dynamic driver loading. As explained in another post I made the driver loading code completly dynamic. From now on, you just have a slackget10::Network::Connection::<PROTOCOL>.pm module to add support for <protocol>:// protocol to slackget10::Network::Connection.pm.
  • New slackget10::Network::Connection API. Loads of things have changed in the API of this class. First it's now event driven and it means you have to pass a InlineStates => {} parameter to the constructor. Then the old construction behavior (with only one parameter) is now deprecated and unsupported. Please have a look at the documentation for more information about this.
  • New slackget10::Network::Connection::*.pm API. It's now way easier to create a protocol driver ! You just have to create a module with the 3 followings methods defined inside : __test_server(), __get_file(), __fetch_file(). They'll be called by slackget10::Network::Connection.pm wich will take care of everything (like event throwing).
This class is now fully usable out of the box in other programs than just slack-get, and that was one of the goal of the slackget10 module !
I'll made a HOWTO on the wiki to explain how to create a driver.

Good day

Arnaud Dupuis