svn - tiding subversion Perl repo with PerlTidy? -


i clean existing subversion repository containing badly formatted perl code. since not sure if comparisons old code necessary, ideally have same formatting revisions.

on other hand creating new repo checking out old revisions, reformatting perltidy , checking in have keep original log messages.

are there tools/recipes it?

what want do? clean old revisions?

don't it. you'll destroy history, , though should generating same perl script (just tidied up), end funking released revision. besides isn't worth effort.

i recommend checkout current revisions, run perl tidy, , check in changes. won't change old code, give clean stuff work on.

of course, if perl code poorly formatted want run whole thing perl tidy, have more issues. prevents making mess of code again?

i recommend @ jenkins part of continuous build process. don't compile perl code, use jenkins run tests make sure new perl scripts , modifications perl scripts have been tidied up. if perl script has bad formatting, you'll fail build , email , developer.

developers learn use perl tidy before checking in new perl code of face public embarrassment of having failed build.

by way, rest of development team support effort? if not, first thing have convince them perl formatting can reduce bugs, , give them tools automate formatting efforts.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -