Skip Menu |

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 62271
Status: resolved
Priority: 0/
Queue: DBIx-Class-Schema-Loader

People
Owner: Nobody in particular
Requestors: IRONCAMEL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: clarifying comment at bottom of auto generated classes
Here is the reason for this patch: < Khisanth> ironcamel: did you miss this? "# You can replace this text with custom content, and it will be preserved on regeneration" < ironcamel> Khisanth: i saw that. but that text was a comment < ironcamel> so i assumed it meant i could add whatever comments i wnated < ironcamel> and they wouldn't be squashed < mst> ... < mst> wow. < mst> ironcamel: patch to change it to say '# You can add whatever code or comments you like' instead then, please
Subject: dbicloader.diff
diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index baf36b1..f714ac2 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -1347,7 +1347,7 @@ sub _default_moose_custom_content { sub _default_custom_content { my $self = shift; my $default = qq|\n\n# You can replace this text with custom| - . qq| content, and it will be preserved on regeneration|; + . qq| code or comments, and it will be preserved on regeneration|; if ($self->use_moose) { $default .= $self->_default_moose_custom_content; }
applied. http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits/DBIx-Class- Schema- Loader.git;a=commitdiff;h=b8e1a9d54674d1aae149f314f95e7a0dc62995fa On Tue Oct 19 07:34:01 2010, IRONCAMEL wrote: Show quoted text
> Here is the reason for this patch: > > < Khisanth> ironcamel: did you miss this? "# You can replace this text > with custom content, and it will be preserved on regeneration" > < ironcamel> Khisanth: i saw that. but that text was a comment > < ironcamel> so i assumed it meant i could add whatever comments i
wnated Show quoted text
> < ironcamel> and they wouldn't be squashed > < mst> ... > < mst> wow. > < mst> ironcamel: patch to change it to say '# You can add whatever
code Show quoted text
> or comments you like' instead then, please
Fixed in 0.07003 .