Bricolage SVN Access

[email protected] (David Wheeler) Sun, 8 May 2005 11:11:28 -0700
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
PHP-Sandwichers,

I've had each of the committers to PHP-Sandwich added as committers  
to Bricolage. The branch to work on is the trunk, which is where  
Bricolage 1.10 will come from this July (I'm hoping!). You'll find it  
here:

   http://svn.bricolage.cc/bricolage/trunk/

The usernames and passwords are the same as for PHP-Sandwich.

As I was telling George last week, there are currently very few tests  
of the Bricolage burn system. There is only one I know of, in t/Bric/ 
Util/Job/Pub/DevTest.pm. You can borrow the ideas there to work on  
tests for the new PHP burner.

Here's a short list of the things you'll need to know to start  
writing tests and working on the Bricolage integration:

* There are instructions for adding a new "Burner" to Bricolage here:

     http://www.bricolage.cc/docs/devel/api/Bric::Util::Burner

   Click on "ADDING A NEW BURNER" in the index. You can also read  
those docs
   in the POD in the source, of course. That devel docs on the site are
   updated nightly, IIRC.

* Templates can be deployed by calling the deploy() method on a
   Bric::Util::Burner object.

* The Mason burner is the canonical burner. But feel free to let the  
style
   vary as appropriate for PHP users.

* We'll need a way for the installer (yes, I know it's hideous) to
   prompt users for the optional installation of the required PHP code.
   If PHP::Sandwich (or whatever we end up calling it) will just be  
on CPAN,
   this will be fairly easy: Just add it to Bric::Admin with  
"(optional)"
   after it. But the code *will* need to detect that it's there, I  
assume in
   order to probe for PHP to make sure that it's installed and ready  
to be
   used with PHP::Sandwich.

I think that's good to start with for now. I will be taking family  
leave starting this Friday, but feel free to email me any questions  
you have (and, of course, I'm on the list, too). I'll be doing email  
for an hour or two every day through the leave to ensure that the  
business stays afloat. You can also feel free to ask questions on the  
Bricolage Developers mail list ([email protected]), where  
others can also provide feedback and pointers. There's also  
#bricolage on irc.develooper.com. Oh, and be sure to subscribe to  
[email protected] to get commit emails!

   http://www.bricolage.cc/support/lists/

Regards.

David