Kubla:Meeting Notepad: Difference between revisions

m
Line 15: Line 15:
** Drupal opens up new security problems (I got six new security announcements on the drupal mailing list last week)
** Drupal opens up new security problems (I got six new security announcements on the drupal mailing list last week)


So, the plan:
* Current mozilla.com
** Essentially remains unchanged (continues to be the production tag in SVN)
** /press/ pages will be handled inside of drupal, we'll need a way to integrate the two
* Current Kubla:
** Write an interface to view a file system (check for something that exists)
** Write an interface to edit flat files
** Write any svn interface stuff we need - look at PEAR's VersionControl_SVN
One of the main problems with using SVN as a backend in our current products is speed - SVN is ridiculously slow.  I think this might make fix our problems in this area, but input would be awesome:
* Create SVN post commit hook script
** Script will ping back to kubla on update script (details below)
* Kubla's update script
** Will accept file paths that have been updated in SVN
** Will `svn up` those paths (upping the individual paths should be pretty quick...I hope)
* When user wants to create a new file:
* When user wants to edit a file:
** User clicks "edit" or "create" on file
** Give user a textarea where they can input changes.
** User clicks save
** Kubla checks for an svn lock in .svn.  If the lock exists, prompt user to retry later; exit.  If the lock is over $x seconds old, watchdog() it.
** If no lock exists, save changes to disk
** `svn commit` the file with appropriate message
* New Questions:
** How will updates be managed on mozilla.com? (oremj)
** How will we sync SVN and Drupal permissions? (oremj)
** How will we be able to make new accounts? (oremj)


== Sep 10, 2007 ==
== Sep 10, 2007 ==
Confirmed users, Bureaucrats and Sysops emeriti
1,737

edits