Merge 'helper_refactor' into 'trunk'
Tomas Doran [Tue, 1 Dec 2009 03:32:02 +0000 (03:32 +0000)]
r10260@t0mlaptop (orig r10259):  dhoss | 2009-05-23 22:34:47 +0100
Created new helper refactor branch
r10261@t0mlaptop (orig r10260):  dhoss | 2009-05-23 22:43:10 +0100
added temporary test app to diff current C::H generation with progressive api updates
r10262@t0mlaptop (orig r10261):  dhoss | 2009-05-23 23:09:30 +0100
added gsoc todo stuff
r10263@t0mlaptop (orig r10262):  t0m | 2009-05-24 12:09:45 +0100
Erm, the test app for comparison needs to be generated with the current code, or it doesn't compare the same
r10264@t0mlaptop (orig r10263):  t0m | 2009-05-24 12:10:12 +0100
Add script to check that the testapp we generate compares the same
r10265@t0mlaptop (orig r10264):  t0m | 2009-05-24 12:10:46 +0100
Adjust ignore props so we don't accidentally commit the wrong TestApp
r10266@t0mlaptop (orig r10265):  t0m | 2009-05-24 12:21:15 +0100
Make sure changing the templates makes the test break
r10267@t0mlaptop (orig r10266):  t0m | 2009-05-24 12:21:47 +0100
And back out so test passes again
r10311@t0mlaptop (orig r10310):  dhoss | 2009-05-27 09:33:17 +0100
Fixed up test to check to see if user has a diff program installed
r10312@t0mlaptop (orig r10311):  dhoss | 2009-05-27 10:33:13 +0100
added test file for new file dealings, as well as get_template_files, get_image, and get_version dir. Now using Moose, Path::Class and File::ShareDir
r10313@t0mlaptop (orig r10312):  dhoss | 2009-05-27 10:35:17 +0100
changed get_images to get_files so get_file doesn't break (more)

r10314@t0mlaptop (orig r10313):  dhoss | 2009-05-27 10:40:41 +0100
need to fix create_files.t to pass (no tests currently being run)
need to fix regex to look for .tt/.tt2 files

r10317@t0mlaptop (orig r10316):  t0m | 2009-05-27 20:47:11 +0100
Sharedir in Makefile.PL
r10318@t0mlaptop (orig r10317):  t0m | 2009-05-27 20:51:45 +0100
Fix not generating any files by: svn merge -r 10313:10310 .
r10319@t0mlaptop (orig r10318):  t0m | 2009-05-27 21:07:17 +0100
Make the favicon be in the sharedir
r10333@t0mlaptop (orig r10332):  dhoss | 2009-05-28 07:35:44 +0100
pulled all files out, i believe i got everything.
fixed code to use File::ShareDir instead of __DATA__

r10334@t0mlaptop (orig r10333):  dhoss | 2009-05-28 07:36:45 +0100
added lingering files

r10335@t0mlaptop (orig r10334):  dhoss | 2009-05-28 07:37:35 +0100
removed wrongly named tt files

r10336@t0mlaptop (orig r10335):  dhoss | 2009-05-28 07:51:17 +0100
added missing test files

r10337@t0mlaptop (orig r10336):  dhoss | 2009-05-28 09:26:39 +0100
unfucked get_file

r10338@t0mlaptop (orig r10337):  dhoss | 2009-05-28 09:47:32 +0100
added # Do not touch this method, *EVER*, it is needed for back compat.
comment to respective methods

r10339@t0mlaptop (orig r10338):  t0m | 2009-05-28 09:51:11 +0100
Fix image files
r10340@t0mlaptop (orig r10339):  dhoss | 2009-05-28 10:09:20 +0100
added stuff to gsoc plan

r10341@t0mlaptop (orig r10340):  dhoss | 2009-05-28 10:17:30 +0100
removed crap

r10355@t0mlaptop (orig r10354):  dhoss | 2009-05-29 09:39:42 +0100
added a few fixes

r10356@t0mlaptop (orig r10355):  t0m | 2009-05-29 09:40:05 +0100
Give a shit about blank lines, I do not
r10357@t0mlaptop (orig r10356):  t0m | 2009-05-29 09:56:30 +0100
Should detect if we're in a checkout. I'm still not happy with this
r10384@t0mlaptop (orig r10383):  dhoss | 2009-05-30 03:14:36 +0100
updated todo

r10387@t0mlaptop (orig r10386):  dhoss | 2009-05-30 07:55:18 +0100
restructured dirs. need to write test to test how helper is invoked. also need to get helper to play with new dir struct well
r10398@t0mlaptop (orig r10397):  dhoss | 2009-05-30 23:57:34 +0100
fixed invocation test

r10399@t0mlaptop (orig r10398):  dhoss | 2009-05-31 00:02:23 +0100
updated todo, rfc time?

r10416@t0mlaptop (orig r10415):  dhoss | 2009-06-02 05:32:11 +0100
updated todo

r10417@t0mlaptop (orig r10416):  dhoss | 2009-06-02 06:43:38 +0100
updated todo again (kd: bug fixes)

r10428@t0mlaptop (orig r10427):  dhoss | 2009-06-04 02:06:21 +0100
updated todo
r10429@t0mlaptop (orig r10428):  dhoss | 2009-06-04 02:56:16 +0100
Added deprecated methods test.
Renamed .png files to .png.bin
split up render_file into a method to take in new template files
and a backwards compatible method to take in __DATA__.
2/3 tests pass for this, but the render_file test in back_compat.t is
still having issues.

r10430@t0mlaptop (orig r10429):  dhoss | 2009-06-04 03:44:15 +0100
added list of done stuff to keep track of
r10481@t0mlaptop (orig r10480):  dhoss | 2009-06-09 07:10:23 +0100
added static directory, removed .png files

r10482@t0mlaptop (orig r10481):  dhoss | 2009-06-09 07:25:01 +0100
removed old invocation checking test

r10483@t0mlaptop (orig r10482):  dhoss | 2009-06-09 08:20:45 +0100
fixed render_sharedir_file, we were passing $self twice

r10484@t0mlaptop (orig r10483):  dhoss | 2009-06-09 09:00:37 +0100
tests now pass!

r10487@t0mlaptop (orig r10486):  dhoss | 2009-06-09 10:25:09 +0100
updated list of things done

r10488@t0mlaptop (orig r10487):  dhoss | 2009-06-09 10:26:45 +0100
updated TODO

r10508@t0mlaptop (orig r10507):  t0m | 2009-06-12 01:29:43 +0100
Basic test for get_sharedir_file
r10509@t0mlaptop (orig r10508):  t0m | 2009-06-12 01:42:35 +0100
Unfuck, tests pass again
r10510@t0mlaptop (orig r10509):  t0m | 2009-06-12 01:42:45 +0100
Delete crap
r10511@t0mlaptop (orig r10510):  t0m | 2009-06-12 01:44:41 +0100
Fix favicon to final location, delete more crap
r10512@t0mlaptop (orig r10511):  t0m | 2009-06-12 01:46:25 +0100
Remove more crap
r10513@t0mlaptop (orig r10512):  t0m | 2009-06-12 01:47:18 +0100
Stuff removal from root/ finished
r10514@t0mlaptop (orig r10513):  t0m | 2009-06-12 01:49:51 +0100
Move images to correct place
r10515@t0mlaptop (orig r10514):  dhoss | 2009-06-12 01:58:04 +0100
renamed!
r10517@t0mlaptop (orig r10516):  t0m | 2009-06-12 10:00:11 +0100
Fix Helper.pm, additional rename
r10520@t0mlaptop (orig r10519):  t0m | 2009-06-13 00:32:53 +0100
Be consistent with renaming
r10521@t0mlaptop (orig r10520):  dhoss | 2009-06-13 00:56:46 +0100
updated todo

r10522@t0mlaptop (orig r10521):  dhoss | 2009-06-13 01:07:51 +0100
removed TestAppForInvocation

r10523@t0mlaptop (orig r10522):  t0m | 2009-06-13 01:08:07 +0100
Misspelled, useless test. dhoss - please rename and run with this crap?

r10524@t0mlaptop (orig r10523):  dhoss | 2009-06-13 01:11:10 +0100
renamed per request of senor t0m

r10525@t0mlaptop (orig r10524):  dhoss | 2009-06-13 01:30:28 +0100
Fixed podcoverage

r10537@t0mlaptop (orig r10536):  t0m | 2009-06-14 20:14:09 +0100
remove warning.

r10544@t0mlaptop (orig r10543):  dhoss | 2009-06-15 22:52:27 +0100
fixed apptest.tt per #PXVL (hiveminder)
removed stupid SKIP line in check_testapp_the_same (not needed)

r10545@t0mlaptop (orig r10544):  dhoss | 2009-06-15 23:13:34 +0100
lolwut.

some fuckery with this test now. HALP ME t0m

r10546@t0mlaptop (orig r10545):  t0m | 2009-06-15 23:18:35 +0100
Erm, the app wasn't there..

r10549@t0mlaptop (orig r10548):  t0m | 2009-06-16 09:27:20 +0100
Nuke comparison testapp test. It has done it's job now well enough and can be replaced with more fine grained tests now
r10567@t0mlaptop (orig r10566):  dhoss | 2009-06-17 10:16:05 +0100
renamed scripts

r10568@t0mlaptop (orig r10567):  dhoss | 2009-06-17 10:21:13 +0100
renamed tests

r10569@t0mlaptop (orig r10568):  dhoss | 2009-06-17 10:28:00 +0100
renamed these two files

r10570@t0mlaptop (orig r10569):  dhoss | 2009-06-17 10:31:10 +0100
fixed paths to proper files

r10571@t0mlaptop (orig r10570):  dhoss | 2009-06-17 10:55:28 +0100
added names to generated_app.t
reverted 01app.t to old version so that compatability remains (for now)
made changes to C::Helper.pm to reflect new and moar bettar names

r10572@t0mlaptop (orig r10571):  dhoss | 2009-06-17 11:12:27 +0100
updated changelog

r10573@t0mlaptop (orig r10572):  dhoss | 2009-06-17 12:09:18 +0100
added tests for new methods

r10574@t0mlaptop (orig r10573):  dhoss | 2009-06-17 12:36:14 +0100
updated todo, and donelist

r10604@t0mlaptop (orig r10603):  dhoss | 2009-06-20 16:22:00 +0100
udpated gsoc todo

r10621@t0mlaptop (orig r10620):  dhoss | 2009-06-23 19:36:18 +0100
udpated done stuff

r10622@t0mlaptop (orig r10621):  dhoss | 2009-06-23 19:58:13 +0100
updated todo

r10628@t0mlaptop (orig r10627):  dhoss | 2009-06-23 21:11:08 +0100
added test to check to see if our generated app passes tests
need to fix so that prove -l t/ finds the correct stuff in @INC, or
correct stuff is *put* into @INC. Whatever.

r10629@t0mlaptop (orig r10628):  dhoss | 2009-06-23 21:12:50 +0100
updated done list

r10630@t0mlaptop (orig r10629):  dhoss | 2009-06-23 21:25:39 +0100
File::Spec->catfile'd everything

r10631@t0mlaptop (orig r10630):  dhoss | 2009-06-23 21:26:47 +0100
updated done list

r10633@t0mlaptop (orig r10632):  dhoss | 2009-06-23 22:50:11 +0100
updated generated app
fixed 01app.t.tt (had a hardcoded app name in BEGIN {...})

r10634@t0mlaptop (orig r10633):  dhoss | 2009-06-23 23:35:53 +0100
moosified server template.
added test to make sure new server works.  Can't seem to connect, so
test doesn't pass.

r10635@t0mlaptop (orig r10634):  dhoss | 2009-06-23 23:49:55 +0100
added kmx's patch, still fails

r10636@t0mlaptop (orig r10635):  dhoss | 2009-06-23 23:52:50 +0100
updated done list

r10637@t0mlaptop (orig r10636):  dhoss | 2009-06-24 00:03:47 +0100
updated done

r10642@t0mlaptop (orig r10641):  kmx | 2009-06-24 11:13:36 +0100
C::Devel (branche helper_refactor) generated_app.t fixed, now works well for me on Win32 and Linux
r10665@t0mlaptop (orig r10664):  dhoss | 2009-06-25 11:44:03 +0100
updated script templates to reflect new -Runtime scripts

r10715@t0mlaptop (orig r10714):  t0m | 2009-06-28 23:07:24 +0100
Clean up crap
r10716@t0mlaptop (orig r10715):  t0m | 2009-06-28 23:26:50 +0100
Avoid .svn in your sharedir problem by adding an INSTALL.SKIP file
r10719@t0mlaptop (orig r10718):  t0m | 2009-06-29 00:11:42 +0100
Somewhat fix the scripts and tests
r10767@t0mlaptop (orig r10766):  t0m | 2009-07-01 00:53:59 +0100
This is even more horrible, but stops catalyst.pl from being bork in checkouts
r10864@t0mlaptop (orig r10863):  dhoss | 2009-07-12 01:13:56 +0100
fixed path to comptest.tt

r10868@t0mlaptop (orig r10867):  dhoss | 2009-07-12 03:20:33 +0100
fixed compclass

r10871@t0mlaptop (orig r10870):  t0m | 2009-07-12 18:29:43 +0100
Strip trailing whitespace
r10872@t0mlaptop (orig r10871):  t0m | 2009-07-12 18:31:24 +0100
Fix Makefile.PL
r10873@t0mlaptop (orig r10872):  t0m | 2009-07-12 18:31:46 +0100
Clean up
r10874@t0mlaptop (orig r10873):  dhoss | 2009-07-12 18:43:03 +0100
unfucked

r10875@t0mlaptop (orig r10874):  t0m | 2009-07-12 18:44:06 +0100
Fix issues
r10895@t0mlaptop (orig r10894):  dhoss | 2009-07-16 10:26:40 +0100
added myapp_deploy_schema prototype

r10914@t0mlaptop (orig r10913):  dhoss | 2009-07-17 02:51:03 +0100
added DBIx::Class schema "migration" script + test in generated_app.t

r10979@t0mlaptop (orig r10978):  dhoss | 2009-07-25 00:38:48 +0100
added frif's patch

r11223@t0mlaptop (orig r11222):  dhoss | 2009-08-23 22:32:35 +0100
cleaned up File::Spec->cat(file|dir) stuff

r11224@t0mlaptop (orig r11223):  dhoss | 2009-08-23 22:59:26 +0100
added some notes, and removed $self->_mk_dbic_deploy since it's not going to be default

r11225@t0mlaptop (orig r11224):  dhoss | 2009-08-23 23:03:59 +0100
cleaned up steps to create an app/component

r11335@t0mlaptop (orig r11306):  t0m | 2009-09-05 16:15:20 +0100
 r11313@tomas-dorans-macbook-pro:  t0m | 2009-09-05 12:03:30 +0100
 Clean up, no moose here.

r11336@t0mlaptop (orig r11307):  t0m | 2009-09-05 16:15:25 +0100
 r11314@tomas-dorans-macbook-pro:  t0m | 2009-09-05 12:04:58 +0100
 Remove gsoc notes

r11337@t0mlaptop (orig r11308):  t0m | 2009-09-05 16:15:31 +0100
 r11315@tomas-dorans-macbook-pro:  t0m | 2009-09-05 12:08:47 +0100
 Tidy up dependencies

r11338@t0mlaptop (orig r11309):  t0m | 2009-09-05 16:15:37 +0100
 r11316@tomas-dorans-macbook-pro:  t0m | 2009-09-05 12:11:59 +0100
 Change generated application skeleton to use Moose

r11339@t0mlaptop (orig r11310):  t0m | 2009-09-05 16:15:44 +0100
 r11317@tomas-dorans-macbook-pro:  t0m | 2009-09-05 12:23:28 +0100
 Fix syntax errors and warnings

r11340@t0mlaptop (orig r11311):  t0m | 2009-09-05 16:15:48 +0100
 r11318@tomas-dorans-macbook-pro:  t0m | 2009-09-05 12:30:42 +0100
 Add Moose so we have a constructor and fix changes generation

r11341@t0mlaptop (orig r11312):  t0m | 2009-09-05 16:15:50 +0100
 r11319@tomas-dorans-macbook-pro:  t0m | 2009-09-05 12:32:51 +0100
 Remove dbic deploy stub

r11371@t0mlaptop (orig r11341):  dhoss | 2009-09-09 18:27:25 +0100
added example skeleton
r11372@t0mlaptop (orig r11342):  dhoss | 2009-09-09 18:33:13 +0100
moved stuff around so that it sorta reflects a real Catalyst app
r11411@t0mlaptop (orig r11381):  zts | 2009-09-17 23:20:48 +0100
Fixed get_sharedir_file.t checking for the wrong exception text.

r11490@t0mlaptop (orig r11460):  t0m | 2009-10-05 23:11:21 +0100
Fix the restarter in devel branch hopefully
r11496@t0mlaptop (orig r11462):  t0m | 2009-10-05 23:58:56 +0100
 r11492@t0mlaptop:  t0m | 2009-10-05 23:23:34 +0100
 Remove spurios warning. Remove dead script. Still fails, CURSE YOU

r11497@t0mlaptop (orig r11463):  t0m | 2009-10-05 23:59:03 +0100
 r11493@t0mlaptop:  t0m | 2009-10-05 23:52:34 +0100
 Call config as a method rather than poking the hash directly. Less gross

r11498@t0mlaptop (orig r11464):  t0m | 2009-10-05 23:59:11 +0100
 r11494@t0mlaptop:  t0m | 2009-10-05 23:59:22 +0100
 More cleanups in the generated skeleton app

r11848@t0mlaptop (orig r11813):  t0m | 2009-11-13 00:56:03 +0000
Fix docs, put SCRIPT_GEN back in the server scripts
r11849@t0mlaptop (orig r11814):  t0m | 2009-11-13 00:56:37 +0000
Remove crap
r12048@t0mlaptop (orig r12013):  t0m | 2009-11-25 21:04:38 +0000
Bigger than the current version
r12049@t0mlaptop (orig r12014):  t0m | 2009-11-25 21:22:17 +0000
Fix issues, more tests
r12073@t0mlaptop (orig r12038):  t0m | 2009-11-26 22:58:09 +0000
Remove dependency on parent.pm and remove from generated component classes
r12074@t0mlaptop (orig r12039):  t0m | 2009-11-26 22:58:38 +0000
Add a short todo list
r12075@t0mlaptop (orig r12040):  t0m | 2009-11-26 23:06:57 +0000
Update options
r12076@t0mlaptop (orig r12041):  t0m | 2009-11-26 23:21:07 +0000
These have gone
r12077@t0mlaptop (orig r12042):  t0m | 2009-11-26 23:22:25 +0000
Actually switch the create script to new script style. Testing I did yesterday obviously lies
r12078@t0mlaptop (orig r12043):  t0m | 2009-11-26 23:25:07 +0000
No, it needs to be left so that other components outside devel still work
r12080@t0mlaptop (orig r12045):  t0m | 2009-11-26 23:42:06 +0000
Remove the ability to generate short name apps. Refactor trivial stuff into attributes
r12081@t0mlaptop (orig r12046):  t0m | 2009-11-26 23:42:31 +0000
We already need namespace::clean directly, so depend on it
r12082@t0mlaptop (orig r12047):  t0m | 2009-11-27 00:38:51 +0000
More refactoring. Yes, there are too many attributes at the moment.
r12083@t0mlaptop (orig r12048):  t0m | 2009-11-27 01:15:59 +0000
Fix bugs
r12084@t0mlaptop (orig r12049):  t0m | 2009-11-27 01:16:43 +0000
Return true from the tests so that I can require them
r12085@t0mlaptop (orig r12050):  t0m | 2009-11-27 01:17:35 +0000
Properly fix the generated app test. Run tests in the generated app using the new subtest stuff in Test::More
r12086@t0mlaptop (orig r12051):  t0m | 2009-11-27 01:18:47 +0000
What was that for, die in fire
r12087@t0mlaptop (orig r12052):  t0m | 2009-11-27 01:44:43 +0000
Fix up all test tests
r12088@t0mlaptop (orig r12053):  t0m | 2009-11-27 02:07:28 +0000
More tests, bump required Cat version, update TODO
r12090@t0mlaptop (orig r12055):  t0m | 2009-11-27 03:21:18 +0000
Add more tests, kill off the required attributes and start instead building a data structure which is waaay more sane. Component generation now works again and has tests, except it fails for controllers - guess I probably knackered the template
r12137@t0mlaptop (orig r12102):  t0m | 2009-12-01 02:29:08 +0000
Rip out all the refactoring as it doesn't really go anywhere and things are still horrible. I think app generation can/should just be hit with a big stick instead. This breaks component generation, to be fixed
r12139@t0mlaptop (orig r12104):  t0m | 2009-12-01 02:47:08 +0000
Fix bug with generated component classes and an issue with the test
r12140@t0mlaptop (orig r12105):  t0m | 2009-12-01 02:58:26 +0000
All got tested
r12141@t0mlaptop (orig r12106):  t0m | 2009-12-01 03:04:21 +0000
TT helper still works just fine
r12142@t0mlaptop (orig r12107):  t0m | 2009-12-01 03:06:55 +0000
Less extra whitespace, use done_testing rather than have a test count
r12143@t0mlaptop (orig r12108):  t0m | 2009-12-01 03:22:58 +0000
Depend on default plugin versions which won't spit warnings everywhere
r12144@t0mlaptop (orig r12109):  t0m | 2009-12-01 03:24:12 +0000
Changelog the branch
r12145@t0mlaptop (orig r12110):  t0m | 2009-12-01 03:28:48 +0000
Move the local ENV to the right place


Trivial merge