Skip to main content

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

Project description

RhodeCode 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 or ActiveDirectory. RhodeCode also supports simple API so it’s easy integrable with existing 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 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: 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

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.

  • 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

  • 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

  • notification and message system

  • 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 and other bugtrackers integration

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

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

1.2.0 (2011-10-07)

news

  • implemented #47 repository groups

  • implemented #89 Can setup google analytics code from settings menu

  • implemented #91 added nicer looking archive urls with more download options like tags, branches

  • implemented #44 into file browsing, and added follow branch option

  • implemented #84 downloads can be enabled/disabled for each repository

  • anonymous repository can be cloned without having to pass default:default into clone url

  • fixed #90 whoosh indexer can index chooses repositories passed in command line

  • extended journal with day aggregates and paging

  • implemented #107 source code lines highlight ranges

  • implemented #93 customizable changelog on combined revision ranges - equivalent of githubs compare view

  • implemented #108 extended and more powerful LDAP configuration

  • implemented #56 users groups

  • major code rewrites optimized codes for speed and memory usage

  • raw and diff downloads are now in git format

  • setup command checks for write access to given path

  • fixed many issues with international characters and unicode. It uses utf8 decode with replace to provide less errors even with non utf8 encoded strings

  • #125 added API KEY access to feeds

  • #109 Repository can be created from external Mercurial link (aka. remote repository, and manually updated (via pull) from admin panel

  • beta git support - push/pull server + basic view for git repos

  • added followers page and forks page

  • server side file creation (with binary file upload interface) and edition with commits powered by codemirror

  • #111 file browser file finder, quick lookup files on whole file tree

  • added quick login sliding menu into main page

  • changelog uses lazy loading of affected files details, in some scenarios this can improve speed of changelog page dramatically especially for larger repositories.

  • implements #214 added support for downloading subrepos in download menu.

  • Added basic API for direct operations on rhodecode via JSON

  • Implemented advanced hook management

fixes

  • fixed file browser bug, when switching into given form revision the url was not changing

  • fixed propagation to error controller on simplehg and simplegit middlewares

  • fixed error when trying to make a download on empty repository

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

  • fixed #99 Unicode errors, on file node paths with non utf-8 characters

  • journal fork fixes

  • removed issue with space inside renamed repository after deletion

  • fixed strange issue on formencode imports

  • fixed #126 Deleting repository on Windows, rename used incompatible chars.

  • #150 fixes for errors on repositories mapped in db but corrupted in filesystem

  • fixed problem with ascendant characters in realm #181

  • fixed problem with sqlite file based database connection pool

  • whoosh indexer and code stats share the same dynamic extensions map

  • fixes #188 - relationship delete of repo_to_perm entry on user removal

  • fixes issue #189 Trending source files shows “show more” when no more exist

  • fixes issue #197 Relative paths for pidlocks

  • fixes issue #198 password will require only 3 chars now for login form

  • fixes issue #199 wrong redirection for non admin users after creating a repository

  • fixes issues #202, bad db constraint made impossible to attach same group more than one time. Affects only mysql/postgres

  • fixes #218 os.kill patch for windows was missing sig param

  • improved rendering of dag (they are not trimmed anymore when number of heads exceeds 5)

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.2.3.tar.gz (2.4 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