[Bps-public-commit] r14085 - in Pushmi/trunk: . Pushmi-Admin Pushmi-Admin/bin Pushmi-Admin/doc Pushmi-Admin/etc Pushmi-Admin/lib Pushmi-Admin/lib/Pushmi/Admin Pushmi-Admin/lib/Pushmi/Admin/Action Pushmi-Admin/lib/Pushmi/Admin/Model Pushmi-Admin/log Pushmi-Admin/share Pushmi-Admin/share/po Pushmi-Admin/share/web Pushmi-Admin/share/web/static Pushmi-Admin/share/web/templates Pushmi-Admin/t Pushmi-Admin/var Pushmi-Admin/var/mason

clkao at bestpractical.com clkao at bestpractical.com
Mon Jul 14 14:57:48 EDT 2008


Author: clkao
Date: Mon Jul 14 14:57:48 2008
New Revision: 14085

Added:
   Pushmi/trunk/Pushmi-Admin/
   Pushmi/trunk/Pushmi-Admin/Makefile.PL
   Pushmi/trunk/Pushmi-Admin/bin/
   Pushmi/trunk/Pushmi-Admin/bin/jifty   (contents, props changed)
   Pushmi/trunk/Pushmi-Admin/doc/
   Pushmi/trunk/Pushmi-Admin/etc/
   Pushmi/trunk/Pushmi-Admin/etc/config.yml
   Pushmi/trunk/Pushmi-Admin/lib/
   Pushmi/trunk/Pushmi-Admin/lib/Pushmi/
   Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/
   Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Action/
   Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/
   Pushmi/trunk/Pushmi-Admin/log/
   Pushmi/trunk/Pushmi-Admin/roadmap
   Pushmi/trunk/Pushmi-Admin/share/
   Pushmi/trunk/Pushmi-Admin/share/po/
   Pushmi/trunk/Pushmi-Admin/share/web/
   Pushmi/trunk/Pushmi-Admin/share/web/static/
   Pushmi/trunk/Pushmi-Admin/share/web/templates/
   Pushmi/trunk/Pushmi-Admin/t/
   Pushmi/trunk/Pushmi-Admin/var/
   Pushmi/trunk/Pushmi-Admin/var/mason/
Modified:
   Pushmi/trunk/   (props changed)

Log:
 r32420 at mtl:  clkao | 2008-07-14 11:57:21 -0700
 stub pushmi-admin app.


Added: Pushmi/trunk/Pushmi-Admin/Makefile.PL
==============================================================================
--- (empty file)
+++ Pushmi/trunk/Pushmi-Admin/Makefile.PL	Mon Jul 14 14:57:48 2008
@@ -0,0 +1,7 @@
+use inc::Module::Install;
+
+name        'Pushmi::Admin';
+version     '0.01';
+requires    'Jifty' => '0.80408';
+
+WriteAll;

Added: Pushmi/trunk/Pushmi-Admin/bin/jifty
==============================================================================
--- (empty file)
+++ Pushmi/trunk/Pushmi-Admin/bin/jifty	Mon Jul 14 14:57:48 2008
@@ -0,0 +1,10 @@
+#!/usr/bin/env perl
+use warnings;
+use strict;
+use UNIVERSAL::require;
+
+use Jifty;
+use Jifty::Script;
+
+local $SIG{INT} = sub { warn "Stopped\n"; exit; };
+Jifty::Script->dispatch();

Added: Pushmi/trunk/Pushmi-Admin/etc/config.yml
==============================================================================
--- (empty file)
+++ Pushmi/trunk/Pushmi-Admin/etc/config.yml	Mon Jul 14 14:57:48 2008
@@ -0,0 +1,74 @@
+--- 
+framework: 
+  AdminMode: 1
+  ApplicationClass: Pushmi::Admin
+  ApplicationName: Pushmi-Admin
+  ApplicationUUID: 6C36B9BA-51D6-11DD-AF68-1158ADF94B82
+  ConfigFileVersion: 4
+  Database: 
+    AutoUpgrade: 1
+    CheckSchema: 1
+    Database: pushmi_admin
+    Driver: SQLite
+    Host: localhost
+    Password: ''
+    RecordBaseClass: Jifty::DBI::Record::Cachable
+    User: ''
+    Version: 0.0.1
+  DevelMode: 1
+  L10N: 
+    PoDir: share/po
+  LogLevel: INFO
+  Mailer: Sendmail
+  MailerArgs: []
+
+  Plugins: 
+    - 
+      LetMe: {}
+
+    - 
+      SkeletonApp: {}
+
+    - 
+      REST: {}
+
+    - 
+      Halo: {}
+
+    - 
+      ErrorTemplates: {}
+
+    - 
+      OnlineDocs: {}
+
+    - 
+      CompressedCSSandJS: {}
+
+    - 
+      AdminUI: {}
+
+  PubSub: 
+    Backend: Memcached
+    Enable: ~
+  SkipAccessControl: 0
+  TemplateClass: Pushmi::Admin::View
+  View: 
+    FallbackHandler: Jifty::View::Mason::Handler
+    Handlers: 
+      - Jifty::View::Static::Handler
+      - Jifty::View::Declare::Handler
+      - Jifty::View::Mason::Handler
+  Web: 
+    BaseURL: http://localhost
+    DataDir: var/mason
+    Globals: []
+
+    MasonConfig: 
+      autoflush: 0
+      default_escape_flags: h
+      error_format: text
+      error_mode: fatal
+    Port: 8888
+    ServeStaticFiles: 1
+    StaticRoot: share/web/static
+    TemplateRoot: share/web/templates

Added: Pushmi/trunk/Pushmi-Admin/roadmap
==============================================================================
--- (empty file)
+++ Pushmi/trunk/Pushmi-Admin/roadmap	Mon Jul 14 14:57:48 2008
@@ -0,0 +1,35 @@
+- m1: single-instance configuration UI, with user configured apache or svnserve
+	- single-instance configure UI
+		- initialize replica, sanity check for installed hooks
+			- bonus: switch to svn::hook so the hooks are more managable programatically
+		- configure master address
+		- initiate sync
+	- build
+		- bundle pushmi and ui app
+
+- m2: more standalone replica appliance
+	- build
+		- bundle apache/mod_dav_svn
+			- or decide to use the OS's apache pkg
+		- mod_perl, apache::authenhook (for apache 2.2)
+	- ui improvements
+		- check master status
+		- show verification status
+		- apache config:
+			- use "try auth" to contact master (can't do authz)
+			- manage authn/authz in this replica
+				- apache auth module config
+				- mod_authz_svn if applicable
+
+- m3: semi-HA (auto-branch when master is down)
+	- master - send heartbeats and active updates
+	- slave (pushmi) detecting master connectivity
+	 	- on disconnect
+			- create a new DEAD-BEEF.svn.your-company.com
+			- install pre-commit-hook for replicate, showing switch --relocate info
+	    - on reconnect
+		      - auto-replay DEAD-BEEF and merge into replicate & source
+			- mark DEAD-BEEF as merged and 'done'
+			- install pre-commit-hook for DEAD-BEEF, telling svn up -rN, svn switch --relocate
+			- keep DEAD-BEEF for a while so people can get notified normal url is back
+



More information about the Bps-public-commit mailing list