Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: brent [...] blismedia.com
Cc:
AdminCc:

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



Subject: Generated schema files cannot be perltidied, if you add #<<< #>>> markers it can be.
Date: Tue, 10 Mar 2015 15:18:07 +0000
To: bug-DBIx-Class-Schema-Loader [...] rt.cpan.org
From: Brent Cowgill <brent [...] blismedia.com>
If you can output #<<< and #>>> markers around the checksummed section of the file when you generate it, then perltidy will be able to operate on the file tidying the custom methods and leaving the auto-generated checksummed area alone. Or, is there some option I don't know about to do this already? -- Brent Cowgill *Senior UI Engineer* brent-blismedia.com <http://tinyurl.com/opwuuav> [image: Skype icon] [image: Blis logo] <http://www.blismedia.com/> <http://www.blismedia.com/> <https://www.facebook.com/BlisMedia?fref=ts> <https://twitter.com/BlisMedia> <https://www.linkedin.com/company/blismedia> <https://plus.google.com/u/0/103190831541608378945/about> -- This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of BlisMedia Ltd, a company registered in England and Wales with registered number 06455773. Its registered office is 3rd Floor, 101 New Cavendish St, London, W1W 6XH, United Kingdom. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.
This can be achieved with the filter_generate_code, which will have the perltidy markers case documented in the next release, thanks to https://github.com/dbsrgits/dbix-class-schema-loader/pull/4