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