#95 template-check changes

closed-accepted
Rob Malda
None
5
2003-05-22
2003-05-09
shane
No

Attached is (will) be a patch for template-check.

The changes let you specify two new options:

-b Specify the basedir to compare against
-t Specify the theme to use

The reason for these changes is that inorder to use
template-check to see if your theme's templates need
changing, you have to do a make install on the slash
src tree.

If this is a production box, you can't do a make
install on it until you have updated your theme's
templates and you know your templates will work with
the sourcecode.

With these changes, instead of having to specify the -u
opt, you can instead tell it the src directory (ie
/usr/local/src/slash) and the themename you want to
compare it with.

Hence, you could
cd /usr/local/src/slash
cvs update -dP
./bin/template-check -b /usr/local/src/slash/ -t
slashcode
/usr/local/src/slash/themes/lottadottheme/templates

and you'd get a diff of everything you need to change
in your templates. make the changes. do a make
install... and well, you'd better hope you checked your
templates tasks and perl scripts, but otherwise you're
good to go.

Discussion

  • shane
    shane
    2003-05-09

    patch for template-check

     
  • Rob Malda
    Rob Malda
    2003-05-12

    • labels: 310786 -->
    • milestone: 191917 -->
     
  • Chris Nandor
    Chris Nandor
    2003-05-20

    • assigned_to: nobody --> pudge
     
  • Chris Nandor
    Chris Nandor
    2003-05-21

    Logged In: YES
    user_id=3660

    Accepted, with some minor changes. Thanks!

     
  • Chris Nandor
    Chris Nandor
    2003-05-21

    • assigned_to: pudge --> cmdrtaco
    • status: open --> open-accepted
     
  • Rob Malda
    Rob Malda
    2003-05-22

    • status: open-accepted --> closed-accepted