changeset 224:fdcef6ea3b55

Added readme, and changed version display
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 26 May 2010 00:05:30 +0200
parents 4cf00c939e88
children 710e7a75bb6b
files README.txt pylons_app/lib/base.py
diffstat 2 files changed, 19 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/README.txt	Tue May 25 23:41:03 2010 +0200
+++ b/README.txt	Wed May 26 00:05:30 2010 +0200
@@ -1,19 +1,18 @@
-This file is for you to describe the pylons_app application. Typically
-you would include information such as the information below:
-
-Installation and Setup
-======================
-
-Install ``pylons_app`` using easy_install::
-
-    easy_install pylons_app
+Pylons based replacement for hgwebdir. Fully customizable, 
+with authentication, permissions. Based on vcs library.
+- has it's own middleware to handle mercurial protocol request each request can
+  be logged and authenticated +threaded performance unlikely to hgweb
+- mako templates let's you cusmotize look and feel of appplication.
+- diffs annotations and source code all colored by pygments.
+- admin interface for performing user/permission managments as well as repository
+  managment
+- added cache with invalidation on push/repo managment for high performance and
+  always upto date data.
+- rss /atom feed customizable
+- future support for git
+- based on pylons 1.0 / sqlalchemy 0.6
 
-Make a config file as follows::
-
-    paster make-config pylons_app config.ini
-
-Tweak the config file as appropriate and then setup the application::
-
-    paster setup-app config.ini
-
-Then you are ready to go.
+===
+This software is still in beta mode. I don't guarantee that it'll work.
+I started this project since i was tired of sad looks, and zero controll over
+our company regular hgwebdir.
--- a/pylons_app/lib/base.py	Tue May 25 23:41:03 2010 +0200
+++ b/pylons_app/lib/base.py	Wed May 26 00:05:30 2010 +0200
@@ -10,7 +10,7 @@
 from pylons_app.lib.utils import get_repo_slug
 from pylons_app.model import meta
 from pylons_app.model.hg_model import HgModel
-from pylons_app import get_version
+from pylons_app import __version__
 
 @cache_region('long_term', 'cached_repo_list')
 def _get_repos_cached():
@@ -23,7 +23,7 @@
 class BaseController(WSGIController):
     
     def __before__(self):
-        c.hg_app_version = get_version()
+        c.hg_app_version = __version__
         c.repos_prefix = config['hg_app_name']
         c.repo_name = get_repo_slug(request)
         c.hg_app_user = session.get('hg_app_user', AuthUser())