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