Skip to main content

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

Project description

About

RhodeCode is a fast and powerful management tool for Mercurial and GIT with a built in push/pull server and full text search and code-review. It works on http/https and has a built in permission/authentication system with the ability to authenticate via LDAP or ActiveDirectory. RhodeCode also provides simple API so it’s easy integrable with existing external systems.

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 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

Installation

Stable releases of RhodeCode are best installed via:

easy_install rhodecode

Or:

pip install rhodecode

Detailed instructions and links may be found on the Installation page.

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

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: demo12

Source code

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

MIRRORS:

Issue tracker and sources at bitbucket

http://bitbucket.org/marcinkuzminski/rhodecode

Sources at github

https://github.com/marcinkuzminski/rhodecode

RhodeCode Features

  • Has its 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.

  • Have built in users groups for easier permission management

  • Repository groups let you group repos and manage them easier.

  • Users can fork other users repo. RhodeCode have also compare view to see combined changeset for all changeset made within single push.

  • Build in commit-api let’s you add, edit and commit files right from RhodeCode interface using simple editor or upload form for binaries.

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

  • Beautiful diffs, annotations and source code browsing all colored by pygments. Raw diffs are made in git-diff format, including git binary-patches

  • 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. You can even write Your own hooks and install them

  • code review with notification system, inline commenting, all parsed using rst syntax

  • rst and markdown README support for repositories

  • 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

  • Finer granular permissions per branch, repo group or subrepo

  • pull requests and web based merges

  • per line file history

  • SSH based authentication with server side key management

  • Commit based built in wiki system

  • 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.

Getting help

Listed bellow are various support resources that should help.

Online documentation

Online documentation for the current version of RhodeCode is available at

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.3.0 (2012-02-28)

status:

in-progress

branch:

beta

news

  • code review, inspired by github code-comments

  • #215 rst and markdown README files support

  • #252 Container-based and proxy pass-through authentication support

  • #44 branch browser. Filtering of changelog by branches

  • mercurial bookmarks support

  • new hover top menu, optimized to add maximum size for important views

  • configurable clone url template with possibility to specify protocol like ssh:// or http:// and also manually alter other parts of clone_url.

  • enabled largefiles extension by default

  • optimized summary file pages and saved a lot of unused space in them

  • #239 option to manually mark repository as fork

  • #320 mapping of commit authors to RhodeCode users

  • #304 hashes are displayed using monospace font

  • diff configuration, toggle white lines and context lines

  • #307 configurable diffs, whitespace toggle, increasing context lines

  • sorting on branches, tags and bookmarks using YUI datatable

  • improved file filter on files page

  • implements #330 api method for listing nodes ar particular revision

  • #73 added linking issues in commit messages to chosen issue tracker url based on user defined regular expression

  • added linking of changesets in commit messages

  • new compact changelog with expandable commit messages

  • firstname and lastname are optional in user creation

  • #348 added post-create repository hook

  • #212 global encoding settings is now configurable from .ini files

  • #227 added repository groups permissions

  • markdown gets codehilite extensions

  • new API methods, delete_repositories, grante/revoke permissions for groups and repos

fixes

  • rewrote dbsession management for atomic operations, and better error handling

  • fixed sorting of repo tables

  • #326 escape of special html entities in diffs

  • normalized user_name => username in api attributes

  • fixes #298 ldap created users with mixed case emails created conflicts on saving a form

  • fixes issue when owner of a repo couldn’t revoke permissions for users and groups

  • fixes #271 rare JSON serialization problem with statistics

  • fixes #337 missing validation check for conflicting names of a group with a repositories group

  • #340 fixed session problem for mysql and celery tasks

  • fixed #331 RhodeCode mangles repository names if the a repository group contains the “full path” to the repositories

  • #355 RhodeCode doesn’t store encrypted LDAP passwords

1.2.5 (2012-01-28)

news

fixes

  • #340 Celery complains about MySQL server gone away, added session cleanup for celery tasks

  • #341 “scanning for repositories in None” log message during Rescan was missing a parameter

  • fixed creating archives with subrepos. Some hooks were triggered during that operation leading to crash.

  • fixed missing email in account page.

  • Reverted Mercurial to 2.0.1 for windows due to bug in Mercurial that makes forking on windows impossible

1.2.4 (2012-01-19)

news

  • RhodeCode is bundled with mercurial series 2.0.X by default, with full support to largefiles extension. Enabled by default in new installations

  • #329 Ability to Add/Remove Groups to/from a Repository via AP

  • added requires.txt file with requirements

fixes

  • fixes db session issues with celery when emailing admins

  • #331 RhodeCode mangles repository names if the a repository group contains the “full path” to the repositories

  • #298 Conflicting e-mail addresses for LDAP and RhodeCode users

  • DB session cleanup after hg protocol operations, fixes issues with mysql has gone away errors

  • #333 doc fixes for get_repo api function

  • #271 rare JSON serialization problem with statistics enabled

  • #337 Fixes issues with validation of repository name conflicting with a group name. A proper message is now displayed.

  • #292 made ldap_dn in user edit readonly, to get rid of confusion that field doesn’t work

  • #316 fixes issues with web description in hgrc files

1.2.3 (2011-11-02)

news

  • added option to manage repos group for non admin users

  • added following API methods for get_users, create_user, get_users_groups, get_users_group, create_users_group, add_user_to_users_groups, get_repos, get_repo, create_repo, add_user_to_repo

  • implements #237 added password confirmation for my account and admin edit user.

  • implements #291 email notification for global events are now sent to all administrator users, and global config email.

fixes

  • added option for passing auth method for smtp mailer

  • #276 issue with adding a single user with id>10 to usergroups

  • #277 fixes windows LDAP settings in which missing values breaks the ldap auth

  • #288 fixes managing of repos in a group for non admin user

1.2.2 (2011-10-17)

news

  • #226 repo groups are available by path instead of numerical id

fixes

  • #259 Groups with the same name but with different parent group

  • #260 Put repo in group, then move group to another group -> repo becomes unavailable

  • #258 RhodeCode 1.2 assumes egg folder is writable (lockfiles problems)

  • #265 ldap save fails sometimes on converting attributes to booleans, added getter and setter into model that will prevent from this on db model level

  • fixed problems with timestamps issues #251 and #213

  • fixes #266 RhodeCode allows to create repo with the same name and in the same parent as group

  • fixes #245 Rescan of the repositories on Windows

  • fixes #248 cannot edit repos inside a group on windows

  • fixes #219 forking problems on windows

1.2.1 (2011-10-08)

news

fixes

  • fixed problems with basic auth and push problems

  • gui fixes

  • fixed logger

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.3.0.tar.gz (1.9 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