Show More
@@ -8,11 +8,13 b' Fully customizable, with authentication,' | |||
|
8 | 8 | |
|
9 | 9 | - has it's own middleware to handle mercurial protocol request each request can |
|
10 | 10 | be logged and authenticated + threaded performance unlikely to hgweb |
|
11 | - full permissions per project read/write/admin access even on mercurial request | |
|
11 | 12 | - mako templates let's you cusmotize look and feel of appplication. |
|
12 | 13 | - diffs annotations and source code all colored by pygments. |
|
13 | 14 | - mercurial branch graph |
|
14 | 15 | - admin interface for performing user/permission managments as well as repository |
|
15 | 16 | managment |
|
17 | - backup scripts can do backup of whole app and send it over scp to desired location | |
|
16 | 18 | - setup project descriptions and info inside built in db for easy, non |
|
17 | 19 | file-system operations |
|
18 | 20 | - added cache with invalidation on push/repo managment for high performance and |
@@ -23,8 +25,9 b' Fully customizable, with authentication,' | |||
|
23 | 25 | |
|
24 | 26 | **Incoming** |
|
25 | 27 | |
|
26 | - full permissions per project | |
|
28 | - code review based on hg-review (when it's stable) | |
|
27 | 29 | - git support (when vcs can handle it) |
|
30 | - other cools stuff that i can figure out | |
|
28 | 31 | |
|
29 | 32 | .. note:: |
|
30 | 33 | This software is still in beta mode. I don't guarantee that it'll work. |
@@ -33,14 +36,21 b' Fully customizable, with authentication,' | |||
|
33 | 36 | ------------- |
|
34 | 37 | Installation |
|
35 | 38 | ------------- |
|
39 | .. note:: | |
|
40 | I recomend to install tip version of vcs while the app is in beta mode. | |
|
41 | ||
|
42 | ||
|
36 | 43 | - create new virtualenv and activate it |
|
37 | - download hg app and run python setup.py install | |
|
38 | - goto build/ directory | |
|
44 | - download hg app from default (not demo) branch from bitbucket and run | |
|
45 | 'python setup.py install' this will install all required dependencies needed | |
|
39 | 46 | - goto pylons_app/lib and run python db_manage.py it should create all |
|
40 | needed tables and an admin account. | |
|
47 | needed tables and an admin account. You can play with this file if you wish to | |
|
48 | use different db than sqlite | |
|
41 | 49 | - edit file repositories.config and change the [paths] where you keep your |
|
42 | 50 | mercurial repositories, remember about permissions for accessing this dir by |
|
43 | 51 | hg app. |
|
44 | 52 | - run paster serve development.ini |
|
45 | 53 | the app should be available at the 127.0.0.1:5000 |
|
46 |
- use admin account you created to login. |
|
|
54 | - use admin account you created to login. | |
|
55 | - default permissions on each repository is read, and owner is admin. So remember | |
|
56 | to update those. |
@@ -2,7 +2,6 b'' | |||
|
2 | 2 | # encoding: utf-8 |
|
3 | 3 | # Model for hg app |
|
4 | 4 | # Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> |
|
5 | from sqlalchemy.orm import joinedload | |
|
6 | 5 | |
|
7 | 6 | # This program is free software; you can redistribute it and/or |
|
8 | 7 | # modify it under the terms of the GNU General Public License |
@@ -31,6 +30,7 b' from mercurial.hgweb.hgwebdir_mod import' | |||
|
31 | 30 | from vcs.exceptions import RepositoryError, VCSError |
|
32 | 31 | from pylons_app.model.meta import Session |
|
33 | 32 | from pylons_app.model.db import Repository |
|
33 | from sqlalchemy.orm import joinedload | |
|
34 | 34 | import logging |
|
35 | 35 | import os |
|
36 | 36 | import sys |
General Comments 0
You need to be logged in to leave comments.
Login now