Feature #7517

Configurable path of executable for scm adapters

Added by Toshi MARUYAMA almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:2011-02-02
Priority:NormalDue date:
Assignee:Toshi MARUYAMA% Done:

0%

Category:SCM
Target version:1.2.0
Resolution:Fixed


Related issues

Related to Redmine - Feature #7408: Add an application configuration file Closed 2011-01-22
Related to Redmine - Defect #3906: Cannot browse Git repositories in r2898 Closed 2009-09-23
Related to Redmine - Defect #6980: Error in tab Repository Closed 2010-11-25
Related to Redmine - Feature #4273: SCM command availability automatic check in administratio... Closed 2009-11-23
Related to Redmine - Defect #6911: Viewing files or diff with mercurial gives an error Closed 2010-11-16
Related to Redmine - Defect #6713: Git: Not able to Resetting Redmine project respository New 2010-10-20
Related to Redmine - Defect #8825: JRuby + Windows: SCMs do not work on Redmine 1.2 Closed 2011-07-15

Associated revisions

Revision 4795
Added by Toshi MARUYAMA almost 7 years ago

scm: add a feature of configurable path of executable for scm adapters (#7517).

Revision 4796
Added by Toshi MARUYAMA almost 7 years ago

scm: use "e.g." for "for example" at config/configuration.yml.example (#7517).

Revision 4797
Added by Toshi MARUYAMA almost 7 years ago

scm: change key name of configurable command name (#7517, #6159, #7047).

Revision 4798
Added by Toshi MARUYAMA almost 7 years ago

scm: add scm_cvs_command at config/configuration.yml.example (#7517).

I forgot to add it.

Revision 4821
Added by Toshi MARUYAMA almost 7 years ago

scm: use shell quote for scm command at adapter level (#7517, #4273).

"C:\Program Files\TortoiseHg\hg.exe" can be used in config/configuration.yml.

In Ruby 1.9 IO.popen, if cmd is an Array of String,
it will be used as the subprocess‘s argv bypassing a shell.

See http://www.ruby-doc.org/core/classes/IO.html

Revision 6007
Added by Toshi MARUYAMA over 6 years ago

scm: add log message of config/configuration.yml if scm command raise Errno::ENOENT exception (#7517, #4273).

Revision 6447
Added by Toshi MARUYAMA over 6 years ago

scm: add comment that configuration of SCM executable command does not work if contains spaces path to configuration.yml.example (#7517, #8825).

History

#1 Updated by Jean-Philippe Lang almost 7 years ago

Should be configurable through the recently added application configuration file (config/configuration.yml).
Eg.: svn_bin_path, hg_bin_path...

#2 Updated by Toshi MARUYAMA almost 7 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Svn trunk r4795 implemented this feature.

Also available in: Atom PDF