diff --git a/README.rst b/README.rst --- a/README.rst +++ b/README.rst @@ -8,11 +8,13 @@ Fully customizable, with authentication, - has it's own middleware to handle mercurial protocol request each request can be logged and authenticated + threaded performance unlikely to hgweb +- full permissions per project read/write/admin access even on mercurial request - 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 +- backup scripts can do backup of whole app and send it over scp to desired location - 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 @@ -23,8 +25,9 @@ Fully customizable, with authentication, **Incoming** -- full permissions per project +- code review based on hg-review (when it's stable) - git support (when vcs can handle it) +- other cools stuff that i can figure out .. note:: This software is still in beta mode. I don't guarantee that it'll work. @@ -33,14 +36,22 @@ Fully customizable, with authentication, ------------- Installation ------------- +.. note:: + I recomend to install tip version of vcs while the app is in beta mode. + + - create new virtualenv and activate it -- download hg app and run python setup.py install -- goto build/ directory +- download hg app from default (not demo) branch from bitbucket and run + 'python setup.py install' this will install all required dependencies needed - goto pylons_app/lib and run python db_manage.py it should create all - needed tables and an admin account. + needed tables and an admin account. You can play with this file if you wish to + use different db than sqlite - 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 +- use admin account you created to login. +- default permissions on each repository is read, and owner is admin. So remember + to update those. + \ No newline at end of file diff --git a/pylons_app/model/hg_model.py b/pylons_app/model/hg_model.py --- a/pylons_app/model/hg_model.py +++ b/pylons_app/model/hg_model.py @@ -2,7 +2,6 @@ # encoding: utf-8 # Model for hg app # Copyright (C) 2009-2010 Marcin Kuzminski -from sqlalchemy.orm import joinedload # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -31,6 +30,7 @@ from mercurial.hgweb.hgwebdir_mod import from vcs.exceptions import RepositoryError, VCSError from pylons_app.model.meta import Session from pylons_app.model.db import Repository +from sqlalchemy.orm import joinedload import logging import os import sys diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( description='', author='marcin kuzminski', author_email='marcin@python-works.com', - url='', + url='http://hg.python-works.com', install_requires=[ "Pylons>=1.0.0", "SQLAlchemy>=0.6",