Help!

Creating perl modules for dpkg-dev


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PacKaGe RSS
Next:  Wig & Pen  
Author Message
Guillem Jover
External


Since: Nov 13, 2004
Posts: 429



PostPosted: Thu May 31, 2007 9:30 am    Post subject: Creating perl modules for dpkg-dev
Archived from groups: linux>debian>maint>dpkg (more info?)

Hi,

As part of the clean up of dpkg-dev perl scripts, I plan to start
moving part of the functionlity to proper new style perl modules. At
least for now «controllib.pl». Those will be private modules, no other
package should expect a stable api, this might (or not) change in the
future.

regards,
guillem


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Raphael Hertzog
External


Since: May 28, 2005
Posts: 461



PostPosted: Thu May 31, 2007 10:20 am    Post subject: Re: Creating perl modules for dpkg-dev [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

On Thu, 31 May 2007, Guillem Jover wrote:
> As part of the clean up of dpkg-dev perl scripts, I plan to start
> moving part of the functionlity to proper new style perl modules. At
> least for now «controllib.pl». Those will be private modules, no other
> package should expect a stable api, this might (or not) change in the
> future.

Full ack. My current work on improved dpkg-shlideps creates a few object
to parse objdump output, and to handle symbols files. It would be great if
those modules could be integrated in a Dpkg:: namespace later.

While I understand the lack of API for what's intern to dpkg-dev I also
believe that we should provide a public API because some functions are
badly needed.

For instance, a perl function to compare Debian versions. First
implementation could rely on dpkg --compare-versions (or specific perl
code) and later when you introduce libdpkg, the function can be modified
to use a perl binding.

Cheers,
--
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PacKaGe All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum