|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Fwd: Date::Calc 6.x and Date::Pcalc 6.xOn Mon, 2009-19-10 at 09:00 -0400, Jonathan Yu wrote:
> Thoughts on this, all? I'm still pretty confused, but here's what I > got from him: I read it and it all seems quite straightforward, if a bit complicated along the way. He's made two architectural changes from 6.0 to 6.2. It seems to me that you just want to use 6.2 and forget about the rest. Debian has a C compiler so you should make a single package including both pieces. At least, that's what I got out of it. -- --gh -- To UNSUBSCRIBE, email to debian-perl-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Fwd: Date::Calc 6.x and Date::Pcalc 6.x>From what I've read, it means both modules are now the same, except
the namespaces they use are different. I'm not sure if stuff depends on Pcalc directly vs Date::Calc... but from what he said: Date::Calc 6.1: contains Date::Calc 6.0 AND Date::Pcalc 6.0. Depending on availability of a C compiler and user choice, will install either of the two, INTO THE "Date::Calc" NAMESPACE. Date::Pcalc 6.1: contains Date::Calc 6.0 AND Date::Pcalc 6.0. Depending on availability of a C compiler and user choice, will install either of the two, INTO THE "Date::Pcalc" NAMESPACE. (This allows to upgrade existing Date::Pcalc installations to a faster C/XS version without any changes to existing code) So basically depending which 6.1 package we use (Date::Calc vs Date::Pcalc), you get the exact same code under a different namespace. Now, we've got the most recent Pcalc available already uploaded, as far as I know. This means it's probably unnecessary to upload Date::Calc, since they are functionally the same (short of a namespace change). It pains me to say this, but maybe we can create a native package under Date::Calc which will just present the Date::Pcalc stuff under the Date::Calc namespace, in order to maintain compatibility (where something requires Date::Calc vs Date::Pcalc). On Mon, Oct 19, 2009 at 9:17 AM, Guy Hulbert <gwhulbert@...> wrote: > On Mon, 2009-19-10 at 09:00 -0400, Jonathan Yu wrote: >> Thoughts on this, all? I'm still pretty confused, but here's what I >> got from him: > > I read it and it all seems quite straightforward, if a bit complicated > along the way. > > He's made two architectural changes from 6.0 to 6.2. > > It seems to me that you just want to use 6.2 and forget about the rest. > Debian has a C compiler so you should make a single package including > both pieces. > > At least, that's what I got out of it. > > -- > --gh > > > -- To UNSUBSCRIBE, email to debian-perl-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Fwd: Date::Calc 6.x and Date::Pcalc 6.xOn Mon, 2009-19-10 at 09:37 -0400, Jonathan Yu wrote:
> From what I've read, it means both modules are now the same, except You inserted his statements about 6.0 and 6.1. > the namespaces they use are different Ignore those and look only at 6.2. He said[*]: == Date::Calc 6.2 is now a wrapper which tries to load Date::Calc::XS 6.2, if available, and failing that, defaults to Date::Calc::PP. == There's finally only one namespace: Date::Calc Unless you *have* to support the old versions, just ditch them. [*] I delete most list mail ... had to cut-and-paste from the archive. -- --gh -- To UNSUBSCRIBE, email to debian-perl-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Fwd: Date::Calc 6.x and Date::Pcalc 6.xOn Mon, Oct 19, 2009 at 10:11 AM, Guy Hulbert <gwhulbert@...> wrote:
> On Mon, 2009-19-10 at 09:37 -0400, Jonathan Yu wrote: >> From what I've read, it means both modules are now the same, except > > You inserted his statements about 6.0 and 6.1. > >> the namespaces they use are different > > Ignore those and look only at 6.2. He said[*]: > > == > Date::Calc 6.2 is now a wrapper which tries to load Date::Calc::XS 6.2, > if available, and failing that, defaults to Date::Calc::PP. > == > > There's finally only one namespace: Date::Calc > > Unless you *have* to support the old versions, just ditch them. aven'jon(~)> apt-cache rdepends libdate-pcalc-perl libdate-pcalc-perl Reverse Depends: otrs2 otrs2 otrs2 libopensrs-perl I don't want to support duplicate code (as it effectively doubles the work of upgrading things), but at the same time, those old packages need something to use. We could, alternatively, just patch libopensrs-perl and otrs2 to use the new (proper) libdate-calc-perl (possibly: libdate-calc-perl | libdate-calc-xs-perl) > > [*] I delete most list mail ... had to cut-and-paste from the archive. > > -- > --gh > > > -- To UNSUBSCRIBE, email to debian-perl-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Fwd: Date::Calc 6.x and Date::Pcalc 6.xOn Mon, 2009-19-10 at 12:42 -0400, Jonathan Yu wrote:
> > There's finally only one namespace: Date::Calc > > > > Unless you *have* to support the old versions, just ditch them. > Unfortunately, libdate-pcalc-perl has a few reverse dependencies: > > aven'jon(~)> apt-cache rdepends libdate-pcalc-perl > libdate-pcalc-perl > Reverse Depends: > otrs2 > otrs2 > otrs2 > libopensrs-perl > > I don't want to support duplicate code (as it effectively doubles the > work of upgrading things), but at the same time, those old packages > need something to use. > > We could, alternatively, just patch libopensrs-perl and otrs2 to use > the new (proper) libdate-calc-perl (possibly: libdate-calc-perl | > libdate-calc-xs-perl) That seems more sensible to me. As long as Date::Calc is done changing. -- --gh -- To UNSUBSCRIBE, email to debian-perl-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
| Free embeddable forum powered by Nabble | Forum Help |