Skip to content

Commit f384527

Browse files
authored
Merge pull request dergachev#38 from shahinam/fix-readme
Update ReadMe and fix broken images.
2 parents e25577c + c76cd25 commit f384527

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ git clone https://github.com/dergachev/redmine_git_remote
1414

1515
Then enable the new GitRemote SCM type in [http://redmine-root/settings?tab=repositories](http://redmine-root/settings?tab=repositories)
1616

17-
![](https://dl.dropbox.com/u/29440342/screenshots/AYKNZDTB-2014.11.27-15-59-06.png)
17+
![](images/available-scm.png)
1818

1919
The plugin shells out to the following binaries, so make sure they're available:
2020
* git 1.7.5+ - a version recent enough to support `get remote add --mirror=fetch origin URL`
@@ -49,7 +49,7 @@ This plugin defines a new repository type, GitRemote, which allows you to associ
4949
a remote repository with your Redmine project. First create a new repository of type
5050
GitRemote, enter the clone URL. The identifier and path will be auto-generated, but can be overriden.
5151

52-
![](https://dl.dropbox.com/u/29440342/screenshots/ATIAQXHG-2014.11.27-15-03-51.png)
52+
![](images/git-remote-config.png)
5353

5454
On submitting the repository creation form, the identifier and `url`
5555
(filesystem path) fields will be auto-generated (if not explicitly provided).
@@ -71,18 +71,18 @@ automatically" setting at
7171
and relying on the following cron job as per [Redmine Wiki Instructions](http://www.redmine.org/projects/redmine/wiki/RedmineRepositories):
7272

7373
```
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
7575
```
7676

7777
To trigger fetch manually, run this:
7878

7979
```
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
8181
```
8282

8383
Notes:
8484

85-
* Tested on Redmine 2.6 and ruby 2.1
85+
* Tested on Redmine 3.4 and ruby 2.3
8686
* Currently alpha state, use at your own risk. Given possible security risks of shelling out,
8787
we recommend using this plugin only if all RedMine project admins are trusted users.
8888
* This plugin doesn't clean-up (delete) cloned repos from the file system when the record
@@ -92,5 +92,5 @@ Notes:
9292
This snippet should make the error go away:
9393

9494
```
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
9696
```

images/available-scm.png

32.4 KB
Loading

images/git-remote-config.png

44.9 KB
Loading

0 commit comments

Comments
 (0)