No subject


Sun Nov 20 20:48:46 GMT 2022


```=0D
---------- Forwarded message ----------=0D
From: Caleb Cushing <xenoterracide at gmail.com>=0D
Date: Wed, Jun 8, 2011 at 3:02 PM=0D
Subject: dbicdump and podweaver=0D
To: bugs-dbix-class-schema-loader-base at rt.cpan.org=0D
=0D
=0D
so I'm personally for a weaver dbic plugin an example of an addon that=0D=

one could put in weaver.ini then you add the SeeAlso to your=0D
weaver.ini and the section will automatically be added to all the pod=0D
in your dzil distribution. This seems to me like it'd be the right way=0D=

to add the ACCESSORS section. In which case then dbicdump wouldn't=0D
need anything, just tell it not to generate pod, and let people do it=0D
with weaver entirely.=0D
=0D
http://search.cpan.org/~apocal/Pod-Weaver-Section-SeeAlso-1.002/lib/Pod/W=
eaver/Section/SeeAlso.pm=0D
=0D
[14:22] <Caelum> ccushing: what doesn't podweaver like about my POD?=0D
[14:24] *** GumbyNET5 gives channel operator privileges to Bender.=0D
[14:25] <ccushing> Caelum: oh, I'm not sure it's entirely all=0D
podweaver but normally when you use dzil you don't have a NAME=0D
section, you have a # ABSTRACT and it builds out NAME and a whole=0D
bunch of pod stuff=0D
[14:26] <ccushing> actually if the pod was below the md5sum I could=0D
just modify it=0D
[14:29] <Caelum> ccushing: I'll look into adding an option to generate=0D=

podweaver-compatible POD=0D
[14:31] <ccushing> Caelum: actually maye just need an option not to=0D
include NAME =C3=82=C2=A0I think that's the only thing that needs to be=0D=

removed...=0D
[14:31] <Caelum> ccushing: which dzil pluginbundle do you use?=0D
[14:32] <ccushing> usually @basic=0D
[14:33] <Caelum> ccushing: what does NAME need to be replaced by?=0D
[14:34] <Caelum> ccushing: ABSTRACT?=0D
[14:34] <purl> i guess ABSTRACT is the landlord of xaven, apart of the=0D=

infobot development team at http://infobot.org or=0D
mailto:adam at infobot.org=0D
[14:34] <ccushing> # ABSTRACT: description=0D
[14:35] <ccushing> Caelum: ya=0D
[14:35] <Caelum> ccushing: ok, thanks=0D
[14:35] <ccushing> I personally usually put my pod at the end of my=0D
files so that the dzil build doesn't change the code lines=0D
[14:35] <ccushing> because podweaver will otherwise throw all the pod=0D
like below # ABSTRACT:=0D
[14:36] <Caelum> ccushing: I'll have the podweaver mode do that then=0D
[14:36] <ccushing> right, not sure how that affects the md5sum stuff thou=
gh=0D
[14:37] <ccushing> course for all it matters to me personally... you=0D
could throw pod below that...=0D
[14:37] <Caelum> ccushing: but then how do you update it=0D
[14:38] <ccushing> yeah there's the problem... because usually you=0D
need to put code below that md5 some so no matter what you end up with=0D=

code changing spots with pod in the end=0D
[14:38] <ccushing> idk=0D
[14:38] <ccushing> it's a no win situation=0D
[14:38] <ccushing> some people won't care where the pod ends up=0D
[14:39] <Caelum> ccushing: what if s::l would run podweaver itself?=0D
[14:39] <Caelum> ccushing: is there a marker for podweaver to say=0D
"already ran" or something=0D
[14:39] <ccushing> hmm=0D
[14:39] <ccushing> idk=0D
[14:39] <ccushing> better question for rjbs... though maybe you could=0D
write a module that generates all this documentation later=0D
[14:40] <ccushing> and has a marker=0D
[14:40] <Caelum> ccushing: ok, could I ask you to open an RT for me=0D
please? You can just paste the irc log if you want=0D
[14:40] <ccushing> like # DBIC_ACCESSORS=0D
[14:40] <ccushing> and then people can add that to weaver.ini=0D
[14:40] <ccushing> and just exclude pod, include that, and you've got=0D
it in the final build=0D
[14:41] <ccushing> yeah=0D
[14:42] <Caelum> ccushing: we could also exclude POD from the md5sum=0D
[14:43] <Caelum> ccushing: that's pretty easy to do=0D
[14:43] <ccushing> Caelum: well the more I think about it... just=0D
having it generated by podweaver later... without anyting added to the=0D=

files would be a great idea=0D
=0D
--=0D
Caleb Cushing=0D
=0D
http://xenoterracide.com=0D
=0D
=0D
=0D
-- =0D
Caleb Cushing=0D
=0D
http://xenoterracide.com=0D
```=0D
=0D


More information about the DBIx-Class-Devel mailing list