Show More
@@ -1,44 +1,46 b'' | |||
|
1 | 1 | ------------------------------------- |
|
2 | 2 | Pylons based replacement for hgwebdir |
|
3 | 3 | ------------------------------------- |
|
4 | 4 | |
|
5 | 5 | Fully customizable, with authentication, permissions. Based on vcs library. |
|
6 | 6 | |
|
7 | 7 | **Overview** |
|
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 | 11 | - mako templates let's you cusmotize look and feel of appplication. |
|
12 | 12 | - diffs annotations and source code all colored by pygments. |
|
13 | - mercurial branch graph | |
|
13 | 14 | - admin interface for performing user/permission managments as well as repository |
|
14 | 15 | managment |
|
16 | - setup project descriptions and info inside built in db for easy, non | |
|
17 | file-system operations | |
|
15 | 18 | - added cache with invalidation on push/repo managment for high performance and |
|
16 | 19 | always upto date data. |
|
17 | 20 | - rss /atom feed customizable |
|
18 | 21 | - future support for git |
|
19 | 22 | - based on pylons 1.0 / sqlalchemy 0.6 |
|
20 | 23 | |
|
21 | 24 | **Incoming** |
|
22 | 25 | |
|
23 | 26 | - full permissions per project |
|
24 | - setup project descriptions and info into db | |
|
25 | 27 | - git support (when vcs can handle it) |
|
26 | 28 | |
|
27 | 29 | .. note:: |
|
28 | 30 | This software is still in beta mode. I don't guarantee that it'll work. |
|
29 | 31 | |
|
30 | 32 | |
|
31 | 33 | ------------- |
|
32 | 34 | Installation |
|
33 | 35 | ------------- |
|
34 | 36 | - create new virtualenv and activate it |
|
35 | 37 | - download hg app and run python setup.py install |
|
36 | 38 | - goto build/ directory |
|
37 | 39 | - goto pylons_app/lib and run python db_manage.py it should create all |
|
38 | 40 | needed tables and an admin account. |
|
39 | 41 | - edit file repositories.config and change the [paths] where you keep your |
|
40 | 42 | mercurial repositories, remember about permissions for accessing this dir by |
|
41 | 43 | hg app. |
|
42 | 44 | - run paster serve development.ini |
|
43 | 45 | the app should be available at the 127.0.0.1:5000 |
|
44 | 46 | - use admin account you created to login. No newline at end of file |
@@ -1,35 +1,35 b'' | |||
|
1 | 1 | #!/usr/bin/env python |
|
2 | 2 | # encoding: utf-8 |
|
3 | 3 | # Hg app, a web based mercurial repository managment based on pylons |
|
4 | 4 | # Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> |
|
5 | 5 | |
|
6 | 6 | # This program is free software; you can redistribute it and/or |
|
7 | 7 | # modify it under the terms of the GNU General Public License |
|
8 | 8 | # as published by the Free Software Foundation; version 2 |
|
9 | 9 | # of the License or (at your opinion) any later version of the license. |
|
10 | 10 | # |
|
11 | 11 | # This program is distributed in the hope that it will be useful, |
|
12 | 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 | 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 | 14 | # GNU General Public License for more details. |
|
15 | 15 | # |
|
16 | 16 | # You should have received a copy of the GNU General Public License |
|
17 | 17 | # along with this program; if not, write to the Free Software |
|
18 | 18 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 | 19 | # MA 02110-1301, USA. |
|
20 | 20 | |
|
21 | 21 | """ |
|
22 | 22 | Created on April 9, 2010 |
|
23 | 23 | Hg app, a web based mercurial repository managment based on pylons |
|
24 | 24 | @author: marcink |
|
25 | 25 | """ |
|
26 | 26 | |
|
27 |
VERSION = (0, 7, |
|
|
27 | VERSION = (0, 7, 8, 'beta') | |
|
28 | 28 | |
|
29 | 29 | __version__ = '.'.join((str(each) for each in VERSION[:4])) |
|
30 | 30 | |
|
31 | 31 | def get_version(): |
|
32 | 32 | """ |
|
33 | 33 | Returns shorter version (digit parts only) as string. |
|
34 | 34 | """ |
|
35 | 35 | return '.'.join((str(each) for each in VERSION[:3])) |
General Comments 0
You need to be logged in to leave comments.
Login now