RhodeCode /

Filename Size Date modified Message
docs
pylons_app
pylons_app.egg-info
202 B
816 B
17.6 KB
380 B
3.0 KB
2.4 KB
4.5 KB
9.5 KB
1.2 KB
1.9 KB
4.5 KB
638 B
1.5 KB
4.6 KB

Pylons based replacement for hgwebdir

Fully customizable, with authentication, permissions. Based on vcs library.

Overview

  • has it's own middleware to handle mercurial protocol request each request can be logged and authenticated + threaded performance unlikely to hgweb
  • full permissions per project read/write/admin access even on mercurial request
  • mako templates let's you cusmotize look and feel of application.
  • diffs annotations and source code all colored by pygments.
  • mercurial branch graph and yui-flot powered graphs with zooming
  • admin interface for performing user/permission managments as well as repository managment.
  • full text search of source codes with indexing daemons using whoosh (no external search servers required all in one application)
  • async tasks for speed and performance using celery (works without them too)
  • Additional settings for mercurial web, (hooks editable from admin panel !) also manage paths, archive, remote messages
  • backup scripts can do backup of whole app and send it over scp to desired location
  • setup project descriptions and info inside built in db for easy, non file-system operations
  • added cache with invalidation on push/repo managment for high performance and always upto date data.
  • rss / atom feeds, gravatar support
  • based on pylons 1.0 / sqlalchemy 0.6

Incoming

  • code review based on hg-review (when it's stable)
  • git support (when vcs can handle it - almost there !)
  • commit based wikis
  • in server forks
  • clonning from remote repositories into hg-app
  • other cools stuff that i can figure out (or You can help me figure out)

Note

This software is still in beta mode. I don't guarantee that it'll work correctly.

Installation

Note

I recomend to install tip version of vcs while the app is in beta mode.

  • create new virtualenv and activate it - highly recommend that you use separate virtual-env for whole application
  • download hg app from default branch from bitbucket and run 'python setup.py install' this will install all required dependencies needed
  • run paster setup-app production.ini it should create all needed tables and an admin account make sure You specify correct path to repositories.
  • remember that the given path for mercurial repositories must be write accessible for the application
  • run paster serve development.ini - or you can use manage-hg_app script. the app should be available at the 127.0.0.1:5000
  • use admin account you created to login.
  • default permissions on each repository is read, and owner is admin. So remember to update these.
  • in order to use full power of async tasks, You must install message broker preferrably rabbitmq and start celeryd daemon. The app should gain some speed than. For installation instructions You can visit: http://ask.github.com/celery/getting-started/index.html. All needed configs are inside hg-app ie. celeryconfig.py
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.