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