clone 465184 -1
tag 465184 pending
retitle -1 Please add a $VERSION variable to the Perl modules.
reassign -1 dpkg-dev
severity -1 wishlist
thanks
Guillem Jover <[EMAIL PROTECTED]> writes:

> This package is using some Dpkg perl modules, but those are private
> to dpkg-dev.

Well, I found the modules in /usr/share/perl5, so I assumed I could
just use them. (Gee, Dpkg::Cdata is even documented!)

> We expect to make them a public API in the future but that's not the
> case yet. So we don't guarantee any kind of stability in the API.

That's okay, I'll consider any breakage that may occur a bug in my
package until the API stabilizes. And TBH, I don't really think that
the interface of

    $obj = Dpkg::Cdata::parsecdata($input, $file, %options)

will change in incompatible ways.

I suggest putting a $VERSION variable in each of the Dpkg::* packages,
as suggested in perlmodlib(1).

That way, we'd have a chance of coping with changing APIs.

-Hilko



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to