From 1f07a16969a9c4d9d452f7c2676f56ac07e92b5d Mon Sep 17 00:00:00 2001 From: Pavlo Butenko Date: Sat, 20 May 2023 10:44:27 +0200 Subject: [PATCH 1/2] updated readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8dd78e..bd761ac 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ This plugin adds a comment in redmine issue whenever user commits to github with 4. Github -> Repo setting –> webhook –> In event, select "send me everything" or you can select "Let me select individual events" and inside check the checkbox for commit event and then create web hook. -5. For repository, webhook should be created with payload-url as `localhost:3000/github_commits/create_comment.json` where in url replace `localhost:3000` with your host address. +5. Github -> Repo setting –> webhook –> Content type, select "application/json". -6. In Redmine, Go to Administration -> Settings -> General Tab and change text formatting to `Markdown`. This will show the comment message properly. +6. For repository, webhook should be created with payload-url as `localhost:3000/github_commits/create_comment.json` where in url replace `localhost:3000` with your host address. + +7. In Redmine, Go to Administration -> Settings -> General Tab and change text formatting to `Markdown`. This will show the comment message properly. From adca5ae92b90accb40fa068515f19a450ba8433a Mon Sep 17 00:00:00 2001 From: Pavlo Butenko Date: Sat, 20 May 2023 10:44:35 +0200 Subject: [PATCH 2/2] added gitignore --- .gitignore | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f6e7eb1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +*.rbc +.rspec +*.orig + +# Ignore all logfiles and tempfiles. +/log/* +/tmp/* +!/log/.keep +!/tmp/.keep + + +# dotenv, dotenv-rails +# TODO Comment out these rules if environment variables can be committed +.env +.env*.local + +# Ignore IDE files +/.project