Skip to main content

Mercurial repository browser/management with build in push/pull server and full text search

Project description

RhodeCode (formerly hg-app) is a Pylons framework based Mercurial repository browser/management tool with a built in push/pull server and full text search. It works on http/https and has a built in permission/authentication system with the ability to authenticate via LDAP.

RhodeCode is similar in some respects to github or bitbucket, however RhodeCode can be run as standalone hosted application on your own server. It is open source and donation ware and focuses more on providing a customized, self administered interface for Mercurial(and soon GIT) repositories. RhodeCode is powered by a vcs library that Lukasz Balcerzak and I created to handle multiple different version control systems.

RhodeCode uses Semantic Versioning

RhodeCode demo

http://demo.rhodecode.org

The default access is anonymous but you can login to an administrative account using the following credentials:

  • username: demo

  • password: demo

Source code

The latest sources can be obtained from official RhodeCode instance https://hg.rhodecode.org

MIRRORS:

Issue tracker and sources at bitbucket

http://bitbucket.org/marcinkuzminski/rhodecode

Sources at github

https://github.com/marcinkuzminski/rhodecode

Installation

Please visit http://packages.python.org/RhodeCode/installation.html

RhodeCode Features

  • Has it’s own middleware to handle mercurial protocol requests. Each request can be logged and authenticated.

  • Runs on threads unlike hgweb. You can make multiple pulls/pushes simultaneous. Supports http/https and LDAP

  • Full permissions (private/read/write/admin) and authentication per project. One account for web interface and mercurial push/pull/clone operations.

  • Mako templates let’s you customize the look and feel of the application.

  • Beautiful diffs, annotations and source code browsing all colored by pygments.

  • Mercurial branch graph and yui-flot powered graphs with zooming and statistics

  • Admin interface with user/permission management. Admin activity journal, logs pulls, pushes, forks, registrations and other actions made by all users.

  • Server side forks. It is possible to fork a project and modify it freely without breaking the main repository.

  • Full text search powered by Whoosh on the source files, and file names. Build in indexing daemons, with optional incremental index build (no external search servers required all in one application)

  • Setup project descriptions and info inside built in db for easy, non file-system operations

  • Intelligent cache with invalidation after push or project change, provides high performance and always up to date data.

  • Rss / atom feeds, gravatar support, download sources as zip/tar/gz

  • Async tasks for speed and performance using celery (works without them too)

  • Backup scripts can do backup of whole app and send it over scp to desired location

  • Based on pylons / sqlalchemy / sqlite / whoosh / vcs

Incoming / Plans

  • Project grouping

  • User groups/teams

  • SSH based authentication with server side key management

  • Code review (probably based on hg-review)

  • Full git support, with push/pull server (currently in beta tests)

  • Redmine integration

  • Public accessible activity feeds

  • Commit based built in wiki system

  • Clone points and cloning from remote repositories into RhodeCode

  • More statistics and graph (global annotation + some more statistics)

  • Other advancements as development continues (or you can of course make additions and or requests)

License

RhodeCode is released under the GPLv3 license.

Mailing group Q&A

Join the Google group

Open an issue at issue tracker

Join #rhodecode on FreeNode (irc.freenode.net) or use http://webchat.freenode.net/?channels=rhodecode for web access to irc.

Online documentation

Online documentation for the current version of RhodeCode is available at http://packages.python.org/RhodeCode/. You may also build the documentation for yourself - go into docs/ and run:

make html

(You need to have sphinx installed to build the documentation. If you don’t have sphinx installed you can install it via the command: easy_install sphinx)

Changelog

1.1.8 (2011-04-12)

news

  • improved windows support

fixes

  • fixed #140 freeze of python dateutil library, since new version is python2.x incompatible

  • setup-app will check for write permission in given path

  • cleaned up license info issue #149

  • fixes for issues #137,#116 and problems with unicode and accented characters.

  • fixes crashes on gravatar, when passed in email as unicode

  • fixed tooltip flickering problems

  • fixed came_from redirection on windows

  • fixed logging modules, and sql formatters

  • windows fixes for os.kill issue #133

  • fixes path splitting for windows issues #148

  • fixed issue #143 wrong import on migration to 1.1.X

  • fixed problems with displaying binary files, thanks to Thomas Waldmann

  • removed name from archive files since it’s breaking ui for long repo names

  • fixed issue with archive headers sent to browser, thanks to Thomas Waldmann

  • fixed compatibility for 1024px displays, and larger dpi settings, thanks to Thomas Waldmann

  • fixed issue #166 summary pager was skipping 10 revisions on second page

1.1.7 (2011-03-23)

news

fixes

  • fixed (again) #136 installation support for FreeBSD

1.1.6 (2011-03-21)

news

fixes

  • fixed #136 installation support for FreeBSD

  • RhodeCode will check for python version during installation

1.1.5 (2011-03-17)

news

  • basic windows support, by exchanging pybcrypt into sha256 for windows only highly inspired by idea of mantis406

fixes

  • fixed sorting by author in main page

  • fixed crashes with diffs on binary files

  • fixed #131 problem with boolean values for LDAP

  • fixed #122 mysql problems thanks to striker69

  • fixed problem with errors on calling raw/raw_files/annotate functions with unknown revisions

  • fixed returned rawfiles attachment names with international character

  • cleaned out docs, big thanks to Jason Harris

1.1.4 (2011-02-19)

news

fixes

  • fixed formencode import problem on settings page, that caused server crash when that page was accessed as first after server start

  • journal fixes

  • fixed option to access repository just by entering http://server/<repo_name>

1.1.3 (2011-02-16)

news

  • implemented #102 allowing the ‘.’ character in username

  • added option to access repository just by entering http://server/<repo_name>

  • celery task ignores result for better performance

fixes

  • fixed ehlo command and non auth mail servers on smtp_lib. Thanks to apollo13 and Johan Walles

  • small fixes in journal

  • fixed problems with getting setting for celery from .ini files

  • registration, password reset and login boxes share the same title as main application now

  • fixed #113: to high permissions to fork repository

  • fixed problem with ‘[’ chars in commit messages in journal

  • removed issue with space inside renamed repository after deletion

  • db transaction fixes when filesystem repository creation failed

  • fixed #106 relation issues on databases different than sqlite

  • fixed static files paths links to use of url() method

1.1.2 (2011-01-12)

news

fixes

  • fixes #98 protection against float division of percentage stats

  • fixed graph bug

  • forced webhelpers version since it was making troubles during installation

1.1.1 (2011-01-06)

news

  • added force https option into ini files for easier https usage (no need to set server headers with this options)

  • small css updates

fixes

  • fixed #96 redirect loop on files view on repositories without changesets

  • fixed #97 unicode string passed into server header in special cases (mod_wsgi) and server crashed with errors

  • fixed large tooltips problems on main page

  • fixed #92 whoosh indexer is more error proof

1.1.0 (2010-12-18)

news

  • rewrite of internals for vcs >=0.1.10

  • uses mercurial 1.7 with dotencode disabled for maintaining compatibility with older clients

  • anonymous access, authentication via ldap

  • performance upgrade for cached repos list - each repository has it’s own cache that’s invalidated when needed.

  • performance upgrades on repositories with large amount of commits (20K+)

  • main page quick filter for filtering repositories

  • user dashboards with ability to follow chosen repositories actions

  • sends email to admin on new user registration

  • added cache/statistics reset options into repository settings

  • more detailed action logger (based on hooks) with pushed changesets lists and options to disable those hooks from admin panel

  • introduced new enhanced changelog for merges that shows more accurate results

  • new improved and faster code stats (based on pygments lexers mapping tables, showing up to 10 trending sources for each repository. Additionally stats can be disabled in repository settings.

  • gui optimizations, fixed application width to 1024px

  • added cut off (for large files/changesets) limit into config files

  • whoosh, celeryd, upgrade moved to paster command

  • other than sqlite database backends can be used

fixes

  • fixes #61 forked repo was showing only after cache expired

  • fixes #76 no confirmation on user deletes

  • fixes #66 Name field misspelled

  • fixes #72 block user removal when he owns repositories

  • fixes #69 added password confirmation fields

  • fixes #87 RhodeCode crashes occasionally on updating repository owner

  • fixes #82 broken annotations on files with more than 1 blank line at the end

  • a lot of fixes and tweaks for file browser

  • fixed detached session issues

  • fixed when user had no repos he would see all repos listed in my account

  • fixed ui() instance bug when global hgrc settings was loaded for server instance and all hgrc options were merged with our db ui() object

  • numerous small bugfixes

(special thanks for TkSoh for detailed feedback)

1.0.2 (2010-11-12)

news

  • tested under python2.7

  • bumped sqlalchemy and celery versions

fixes

  • fixed #59 missing graph.js

  • fixed repo_size crash when repository had broken symlinks

  • fixed python2.5 crashes.

1.0.1 (2010-11-10)

news

  • small css updated

fixes

  • fixed #53 python2.5 incompatible enumerate calls

  • fixed #52 disable mercurial extension for web

  • fixed #51 deleting repositories don’t delete it’s dependent objects

1.0.0 (2010-11-02)

  • security bugfix simplehg wasn’t checking for permissions on commands other than pull or push.

  • fixed doubled messages after push or pull in admin journal

  • templating and css corrections, fixed repo switcher on chrome, updated titles

  • admin menu accessible from options menu on repository view

  • permissions cached queries

1.0.0rc4 (2010-10-12)

  • fixed python2.5 missing simplejson imports (thanks to Jens Bäckman)

  • removed cache_manager settings from sqlalchemy meta

  • added sqlalchemy cache settings to ini files

  • validated password length and added second try of failure on paster setup-app

  • fixed setup database destroy prompt even when there was no db

1.0.0rc3 (2010-10-11)

  • fixed i18n during installation.

1.0.0rc2 (2010-10-11)

  • Disabled dirsize in file browser, it’s causing nasty bug when dir renames occure. After vcs is fixed it’ll be put back again.

  • templating/css rewrites, optimized css.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

RhodeCode-1.1.8.tar.gz (2.3 MB view hashes)

Uploaded Source

Built Distributions

RhodeCode-1.1.8-py2.7.egg (1.7 MB view hashes)

Uploaded Source

RhodeCode-1.1.8-py2.6.egg (1.7 MB view hashes)

Uploaded Source

RhodeCode-1.1.8-py2.5.egg (1.7 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page