ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Minimize Redmine.pm for authorization code reuse (Feature #177)
Authorization for SVN repositories is done in a separate perl module Redmine.pm. This perl script is mostly a rewrite of ChiliProject's internal authentication mechanism, which is a bad case of code duplication.
Because of this, changes to ChiliProject's authentication mechanism (e.g. new authentication sources) always have to be written once in ruby and a second time in this perl script.
It would be nice if the amount of code in Redmine.pm could be minimized and in such a way that the perl script only asks ChiliProject if access using the supplied credentials is granted or not.
FYI I already have code
I implemented a new
ChiliProject.pm module which fully uses the Chiliproject authentication sources. As I'd like some testing before we merge this into master (as a full replacement for Redmine.pm), I'd target this for 3.5.0.
- Status changed from Open to Ready for review
The pull request is at https://github.com/chiliproject/chiliproject/pull/229
- Target version set to 3.8.0