Show More
@@ -1,56 +1,57 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 | - full permissions per project read/write/admin access even on mercurial request |
|
11 | - full permissions per project read/write/admin access even on mercurial request | |
12 | - mako templates let's you cusmotize look and feel of appplication. |
|
12 | - mako templates let's you cusmotize look and feel of appplication. | |
13 | - diffs annotations and source code all colored by pygments. |
|
13 | - diffs annotations and source code all colored by pygments. | |
14 | - mercurial branch graph |
|
14 | - mercurial branch graph | |
15 | - admin interface for performing user/permission managments as well as repository |
|
15 | - admin interface for performing user/permission managments as well as repository | |
16 | managment |
|
16 | managment. Additionall settings for mercurial web, (hooks editable from admin | |
|
17 | panel !) | |||
17 | - backup scripts can do backup of whole app and send it over scp to desired location |
|
18 | - backup scripts can do backup of whole app and send it over scp to desired location | |
18 | - setup project descriptions and info inside built in db for easy, non |
|
19 | - setup project descriptions and info inside built in db for easy, non | |
19 | file-system operations |
|
20 | file-system operations | |
20 | - added cache with invalidation on push/repo managment for high performance and |
|
21 | - added cache with invalidation on push/repo managment for high performance and | |
21 | always upto date data. |
|
22 | always upto date data. | |
22 | - rss /atom feed customizable |
|
23 | - rss /atom feed customizable | |
23 | - future support for git |
|
|||
24 | - based on pylons 1.0 / sqlalchemy 0.6 |
|
24 | - based on pylons 1.0 / sqlalchemy 0.6 | |
25 |
|
25 | |||
26 | **Incoming** |
|
26 | **Incoming** | |
27 |
|
27 | |||
28 | - code review based on hg-review (when it's stable) |
|
28 | - code review based on hg-review (when it's stable) | |
29 | - git support (when vcs can handle it) |
|
29 | - git support (when vcs can handle it) | |
30 | - other cools stuff that i can figure out |
|
30 | - other cools stuff that i can figure out | |
|
31 | - manage hg ui() per repo, add hooks settings, per repo, and not globally | |||
31 |
|
32 | |||
32 | .. note:: |
|
33 | .. note:: | |
33 | This software is still in beta mode. I don't guarantee that it'll work. |
|
34 | This software is still in beta mode. I don't guarantee that it'll work. | |
34 |
|
35 | |||
35 |
|
36 | |||
36 | ------------- |
|
37 | ------------- | |
37 | Installation |
|
38 | Installation | |
38 | ------------- |
|
39 | ------------- | |
39 | .. note:: |
|
40 | .. note:: | |
40 | I recomend to install tip version of vcs while the app is in beta mode. |
|
41 | I recomend to install tip version of vcs while the app is in beta mode. | |
41 |
|
42 | |||
42 |
|
43 | |||
43 | - create new virtualenv and activate it - highly recommend that you use separate |
|
44 | - create new virtualenv and activate it - highly recommend that you use separate | |
44 | virtual-env for whole application |
|
45 | virtual-env for whole application | |
45 | - download hg app from default (not demo) branch from bitbucket and run |
|
46 | - download hg app from default (not demo) branch from bitbucket and run | |
46 | 'python setup.py install' this will install all required dependencies needed |
|
47 | 'python setup.py install' this will install all required dependencies needed | |
47 | - run paster setup-app production.ini it should create all needed tables |
|
48 | - run paster setup-app production.ini it should create all needed tables | |
48 | and an admin account. Also it will create repositories.config for mercurial |
|
49 | and an admin account. | |
49 |
|
|
50 | - remember that the given path for mercurial repositories must be write | |
50 | accessible for the application |
|
51 | accessible for the application | |
51 | - run paster serve development.ini - or you can use manage-hg_app script. |
|
52 | - run paster serve development.ini - or you can use manage-hg_app script. | |
52 | 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 | |
53 | - use admin account you created to login. |
|
54 | - use admin account you created to login. | |
54 | - default permissions on each repository is read, and owner is admin. So remember |
|
55 | - default permissions on each repository is read, and owner is admin. So remember | |
55 | to update those. |
|
56 | to update those. | |
56 | No newline at end of file |
|
57 |
@@ -1,45 +1,45 b'' | |||||
1 | from pylons_app import get_version |
|
1 | from pylons_app import get_version | |
2 | try: |
|
2 | try: | |
3 | from setuptools import setup, find_packages |
|
3 | from setuptools import setup, find_packages | |
4 | except ImportError: |
|
4 | except ImportError: | |
5 | from ez_setup import use_setuptools |
|
5 | from ez_setup import use_setuptools | |
6 | use_setuptools() |
|
6 | use_setuptools() | |
7 | from setuptools import setup, find_packages |
|
7 | from setuptools import setup, find_packages | |
8 |
|
8 | |||
9 | setup( |
|
9 | setup( | |
10 | name='pylons_app', |
|
10 | name='pylons_app', | |
11 | version=get_version(), |
|
11 | version=get_version(), | |
12 | description='Mercurial repository serving and browsing app', |
|
12 | description='Mercurial repository serving and browsing app', | |
13 | keywords='mercurial web hgwebdir replacement serving hgweb', |
|
13 | keywords='mercurial web hgwebdir replacement serving hgweb', | |
14 | license='BSD', |
|
14 | license='BSD', | |
15 | author='marcin kuzminski', |
|
15 | author='marcin kuzminski', | |
16 | author_email='marcin@python-works.com', |
|
16 | author_email='marcin@python-works.com', | |
17 | url='http://hg.python-works.com', |
|
17 | url='http://hg.python-works.com', | |
18 | install_requires=[ |
|
18 | install_requires=[ | |
19 | "Pylons>=1.0.0", |
|
19 | "Pylons>=1.0.0", | |
20 | "SQLAlchemy>=0.6", |
|
20 | "SQLAlchemy>=0.6", | |
21 | "Mako>=0.3.2", |
|
21 | "Mako>=0.3.2", | |
22 |
"vcs>=0.1. |
|
22 | "vcs>=0.1.4", | |
23 | "pygments>=1.3.0", |
|
23 | "pygments>=1.3.0", | |
24 |
"mercurial>=1. |
|
24 | "mercurial>=1.6", | |
25 | "pysqlite" |
|
25 | "pysqlite" | |
26 | ], |
|
26 | ], | |
27 | setup_requires=["PasteScript>=1.6.3"], |
|
27 | setup_requires=["PasteScript>=1.6.3"], | |
28 | packages=find_packages(exclude=['ez_setup']), |
|
28 | packages=find_packages(exclude=['ez_setup']), | |
29 | include_package_data=True, |
|
29 | include_package_data=True, | |
30 | test_suite='nose.collector', |
|
30 | test_suite='nose.collector', | |
31 | package_data={'pylons_app': ['i18n/*/LC_MESSAGES/*.mo']}, |
|
31 | package_data={'pylons_app': ['i18n/*/LC_MESSAGES/*.mo']}, | |
32 | message_extractors={'pylons_app': [ |
|
32 | message_extractors={'pylons_app': [ | |
33 | ('**.py', 'python', None), |
|
33 | ('**.py', 'python', None), | |
34 | ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), |
|
34 | ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), | |
35 | ('public/**', 'ignore', None)]}, |
|
35 | ('public/**', 'ignore', None)]}, | |
36 | zip_safe=False, |
|
36 | zip_safe=False, | |
37 | paster_plugins=['PasteScript', 'Pylons'], |
|
37 | paster_plugins=['PasteScript', 'Pylons'], | |
38 | entry_points=""" |
|
38 | entry_points=""" | |
39 | [paste.app_factory] |
|
39 | [paste.app_factory] | |
40 | main = pylons_app.config.middleware:make_app |
|
40 | main = pylons_app.config.middleware:make_app | |
41 |
|
41 | |||
42 | [paste.app_install] |
|
42 | [paste.app_install] | |
43 | main = pylons.util:PylonsInstaller |
|
43 | main = pylons.util:PylonsInstaller | |
44 | """, |
|
44 | """, | |
45 | ) |
|
45 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now