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
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
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.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
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)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file RhodeCode-1.2.5.tar.gz
.
File metadata
- Download URL: RhodeCode-1.2.5.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9001f2f5916bb15f05a1ccaa5fbb4ee33f86078be5abecbf25d3f019cf464a1a |
|
MD5 | 998873583deafc63de3ff153e1db796a |
|
BLAKE2b-256 | 34241437715468485969281a023dc174814818d4caa064e4221ee37414b4d185 |