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
On submitting the repository creation form, the identifier and `url`
55
55
(filesystem path) fields will be auto-generated (if not explicitly provided).
@@ -71,18 +71,18 @@ automatically" setting at
71
71
and relying on the following cron job as per [Redmine Wiki Instructions](http://www.redmine.org/projects/redmine/wiki/RedmineRepositories):
72
72
73
73
```
74
-
*/5 * * * * cd /home/redmine/redmine && ./script/rails runner Repository.fetch_changesets -e production >> log/cron_rake.log 2>&1
74
+
*/5 * * * * cd /home/redmine/redmine && ./bin/rails runner Repository.fetch_changesets -e production >> log/cron_rake.log 2>&1
75
75
```
76
76
77
77
To trigger fetch manually, run this:
78
78
79
79
```
80
-
cd /home/redmine/redmine && ./script/rails runner "Repository.fetch_changesets" -e production
80
+
cd /home/redmine/redmine && ./bin/rails runner "Repository.fetch_changesets" -e production
81
81
```
82
82
83
83
Notes:
84
84
85
-
* Tested on Redmine 2.6 and ruby 2.1
85
+
* Tested on Redmine 3.4 and ruby 2.3
86
86
* Currently alpha state, use at your own risk. Given possible security risks of shelling out,
87
87
we recommend using this plugin only if all RedMine project admins are trusted users.
88
88
* This plugin doesn't clean-up (delete) cloned repos from the file system when the record
@@ -92,5 +92,5 @@ Notes:
92
92
This snippet should make the error go away:
93
93
94
94
```
95
-
./script/rails runner 'ActiveRecord::Base.connection.execute("UPDATE repositories SET type=\"Repository::Git\" WHERE type = \"Repository::GitRemote\")' -e production
95
+
./bin/rails runner 'ActiveRecord::Base.connection.execute("UPDATE repositories SET type=\"Repository::Git\" WHERE type = \"Repository::GitRemote\")' -e production
0 commit comments