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.

[HowTo] SCM Repository Support

Added by Chili Fan at 2012-07-30 05:35 pm

I just created a Project and instantly notices the SCM Repository Tab at Project Settings
For SCM FileSystem can be selected and Root directory should be configured and a selection made for Path encoding

I try to find out how a Repository based on FileSystem can be used and setup
Is it possibel to create some kind of example to show this ?
Is a SCM FileSystem based Repository located a Folder at your hard drive by Files as content or is it database styled

I did search to find out but still have no clue for the SCM FileSystem perspective somebody can shine a light on it would be helpfull

Thanks

ChiliProject Repository (just to show an example)
https://www.chiliproject.org/projects/chiliproject/repository

*What is the plan for "Multiple SCM per project" - old issue in redmine

https://www.chiliproject.org/boards/2/topics/455

RubyDoc Libraries ChiliProject Repository
http://rubydoc.info/github/chiliproject/chiliproject/Repository

-------------------------------------------------------------------------------------------------------------------------------------------------------------
scm-creator scm.yml plugin for repository create but looking for access actually, don't know if it can Access too)
-------------------------------------------------------------------------------------------------------------------------------------------------------------
http://projects.andriylesyuk.com/projects/scm-creator
http://projects.andriylesyuk.com/projects/scm-creator/wiki/Configuration

Webdav
http://www.redmine.org/plugins/redmine_webdav


Replies (6)

RE: [HowTo] SCM Repository Support - Added by Chili Fan at 2012-07-30 06:12 pm

Is it Possible to interface a None listened custom SCM,
by creating a pluginwhich forms the gateway between the custom SCM and CPs Feature Project Repository Tab, Or by changing source files of CP to get a custom SCM displayed and supported at the SCM selection drop down box, the gateway can call a console or DLL to access the custom SCM

In general i think it is possibe due several SCM which are supported
but don't know if it needs a lot of write of ruby to create such Plugin or modify an existing SCM one for test purpose at source files of ChiliProject and which source files are involved then

Best Regards

RE: [HowTo] SCM Repository Support - Added by Chili Fan at 2012-07-31 01:11 pm

Are any "fieldtag" available Within CP which can be used in Any fields ?
(use within own field unallow, but no need to check for this i think... due the fieldtag should reflect itself then)

For example within RootDirectory field a fieldtag_project-name fieldtag_project-id can be handy to "automate" RootDirectory field setup

Maybe create this as an Feature Request (don't if it already exist or can be done)

RE: [HowTo] SCM Repository Support - Added by Chili Fan at 2012-07-31 01:28 pm

I readed here about Repository Filesystem, Don't Know the correct Syntax for setup a Root directory field
i mean is it allowed to configure two paths like (Z:\user1\project, Z:\user2\project) doesn't make sence
due i suppose it can hanle only one instance,

What other path configuration are allowed relative network absolute paths others...

What Path encoding should i select US-ASCII or UTF-8, Now i see default is utf-8 therefore
i guess no selection is needed i give it a try, to setup repository Filesystem


Filesystem
http://www.redmine.org/boards/1/topics/32221?r=32345

Git
http://www.simonecarletti.com/blog/2009/07/configuring-git-repository-with-redmine/

Update
I select Filesystem and path to a folder with Contents to my drive, Repository is created and can be selected at CP, After pressing Create button for repository at CP i see at right side "Users" and "Delete"

Delete
  will remove the repository instance at CP only back to were we start
Users
  "Select or update the ChiliProject user mapped to each username found in the repository log.
  Users with the same ChiliProject and repository username or email are automatically mapped." 

Where can if find this repository log should i create one at repository location or elsewhere? and which log format then?

Does it mean that i look in this log if exist, and maps automatically if cp and repository users names or email do match,
and if the log unexist it maps all users by default ?

Regards

RE: [HowTo] SCM Repository Support - Added by Felix Schäfer at 2012-07-31 09:38 pm

Chili Fan wrote:

I just created a Project and instantly notices the SCM Repository Tab at Project Settings
For SCM FileSystem can be selected and Root directory should be configured and a selection made for Path encoding

I try to find out how a Repository based on FileSystem can be used and setup
Is it possibel to create some kind of example to show this ?
Is a SCM FileSystem based Repository located a Folder at your hard drive by Files as content or is it database styled

I did search to find out but still have no clue for the SCM FileSystem perspective somebody can shine a light on it would be helpfull

A "file system" SCM in ChiliProject just shows the directory you put in the "root directory" setting, the "path encoding" depends on your OS and file system encoding.

RE: [HowTo] SCM Repository Support - Added by Felix Schäfer at 2012-07-31 09:41 pm

Chili Fan wrote:

In general i think it is possibe due several SCM which are supported
but don't know if it needs a lot of write of ruby to create such Plugin or modify an existing SCM one for test purpose at source files of ChiliProject and which source files are involved then

It is possible but needs some ruby knowledge.

RE: [HowTo] SCM Repository Support - Added by Felix Schäfer at 2012-07-31 09:45 pm

Chili Fan wrote:

Where can if find this repository log should i create one at repository location or elsewhere?

The repository log only applies to versioned SCMs, not to the file system one.

(1-6/6)