Commit Graph

15 Commits

Author SHA1 Message Date
flozzone
25180d0909 Make repository clone path configurable via settings.
Signed-off-by: flozzone <flozzone@gmail.com>
2020-05-08 18:25:34 +02:00
Andrew Rogachevich
04d5f405ae Add extra_info to safe_attributes 2017-07-31 18:01:40 +03:00
Alex Dergachev
8516466c19 Fix error message and clarify git version req; fixes #15 2015-06-01 20:46:20 +00:00
Thomas Barthelemy
08b64d80d9 Handle exceptions properly; fixes #13 2015-03-26 21:45:35 +00:00
Alex Dergachev
c1101873f6 Fix syntax error in ruby 1.8; closes #10 2014-12-18 00:29:54 +00:00
Alex Dergachev
0401cff6c6 Added ruby 1.8.7 compatible backport of Open3::capture3; refs #8 2014-12-16 20:17:39 +00:00
Alex Dergachev
a3142b59d8 Minor cleanup 2014-12-12 22:55:49 +00:00
Alex Dergachev
aee9f0eccd Only call add_known_host() if clone_protocol_ssh? 2014-12-12 22:55:27 +00:00
Alex Dergachev
f006709f64 Fix git fetch compatibility with git <1.9; fixes #9
Git 1.8 and 1.7 will treat `git fetch --all --tags` as `git fetch
--tags`, instead of `git fetch --all`. See github issue.
2014-12-12 22:02:50 +00:00
Alex Dergachev
547e7e9cf0 Avoid repoContr#show 404 if "Fetch changesets automatically"; fixes #6 2014-12-08 22:23:05 +00:00
Alex Dergachev
2254155de8 Stop using insecure shell interpolation, fixes #5 2014-12-05 21:54:29 +00:00
Alex Dergachev
81a6fe6b02 Sanitize auto-generated repo identifier; refs #4
Redmine repo identifiers can't have any characters except:
/[a-z0-9_-]/

We scan for this and turn everything else into a '-'
2014-12-03 22:50:37 +00:00
Alex Dergachev
3a7de96736 Change 'git -C PATH' to 'git --git-dir'; fixes #2
For git 1.7 compat. 'git -C' was introduced in 1.8.5
2014-12-03 22:20:06 +00:00
Alex Dergachev
01ac79a899 Vasi code review 2014-11-28 21:35:33 +00:00
Alex Dergachev
0f35ecd942 Renamed GitFetch to GitRemove 2014-11-27 21:07:35 +00:00