You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin shells out to the following binaries, so make sure they're available:
20
+
* git
21
+
* ssh-keyscan
22
+
* ssh-keygen
23
+
19
24
## Supporting private repos
20
25
21
26
For security sake, we don't support cloning over HTTPS with username password, but only via SSH.
@@ -77,7 +82,15 @@ cd /home/redmine/redmine && ./script/rails runner "Repository.fetch_changesets"
77
82
78
83
Notes:
79
84
80
-
* Tested on Redmine 2.6.
81
-
* Currently alpha level, use at your own risk.
82
-
* Currently insecure, only install if all redmine project admins are trusted.
83
-
* This plugin doesn't clean-up (delete) cloned repos from the file system when the record is deleted from Redmine.
85
+
* Tested on Redmine 2.6 and ruby 2.1
86
+
* Currently alpha state, use at your own risk. Given possible security risks of shelling out,
87
+
we recommend using this plugin only if all RedMine project admins are trusted users.
88
+
* This plugin doesn't clean-up (delete) cloned repos from the file system when the record
89
+
is deleted from Redmine.
90
+
* Currently Redmine will crash if this plugin is uninstalled, as rails can't
91
+
seem to handle model classes disappearing while db records reference them.
92
+
This snippet should make the error go away:
93
+
94
+
```
95
+
./script/rails runner 'ActiveRecord::Base.connection.execute("UPDATE repositories SET type=\"Repository::Git\" WHERE type = \"Repository::GitRemote\")' -e production
0 commit comments