Changeset - 702c7e565c56
[Not reviewed]
Marcin Kuzminski - 15 years ago 2010-06-23 00:34:22
marcin@python-works.com
docs update, version bump
2 files changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
README.rst
Show inline comments
 
-------------------------------------
 
Pylons based replacement for hgwebdir
 
-------------------------------------
 

	
 
Fully customizable, with authentication, permissions. Based on vcs library.
 

	
 
**Overview**
 

	
 
- 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.
 
- mercurial branch graph
 
- admin interface for performing user/permission managments as well as repository
 
  managment
 
- setup project descriptions and info inside built in db for easy, non 
 
  file-system operations
 
- 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
 

	
 
**Incoming**
 

	
 
- full permissions per project
 
- setup project descriptions and info into db
 
- git support (when vcs can handle it)
 

	
 
.. note::
 
   This software is still in beta mode. I don't guarantee that it'll work.
 
   
 

	
 
-------------
 
Installation
 
-------------
 
- create new virtualenv and activate it
 
- download hg app and run python setup.py install 
 
- goto build/ directory
 
- goto pylons_app/lib and run python db_manage.py it should create all 
 
  needed tables and an admin account. 
 
- edit file repositories.config and change the [paths] where you keep your
 
  mercurial repositories, remember about permissions for accessing this dir by
 
  hg app.
 
- run paster serve development.ini 
 
  the app should be available at the 127.0.0.1:5000
 
- use admin account you created to login.   
 
\ No newline at end of file
pylons_app/__init__.py
Show inline comments
 
@@ -3,33 +3,33 @@
 
# Hg app, a web based mercurial repository managment based on pylons
 
# Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com>
 
 
 
# This program is free software; you can redistribute it and/or
 
# modify it under the terms of the GNU General Public License
 
# as published by the Free Software Foundation; version 2
 
# of the License or (at your opinion) any later version of the license.
 
# 
 
# This program is distributed in the hope that it will be useful,
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
# GNU General Public License for more details.
 
# 
 
# You should have received a copy of the GNU General Public License
 
# along with this program; if not, write to the Free Software
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 
# MA  02110-1301, USA.
 

	
 
"""
 
Created on April 9, 2010
 
Hg app, a web based mercurial repository managment based on pylons
 
@author: marcink
 
"""
 

	
 
VERSION = (0, 7, 7, 'beta')
 
VERSION = (0, 7, 8, 'beta')
 

	
 
__version__ = '.'.join((str(each) for each in VERSION[:4]))
 

	
 
def get_version():
 
    """
 
    Returns shorter version (digit parts only) as string.
 
    """
 
    return '.'.join((str(each) for each in VERSION[:3]))
0 comments (0 inline, 0 general)