Comments (9)
Quite frankly, I don't remember. If the current incarnation of GitHubs Redmine integration works with Redmines sys/fetch_changesets, this project can be deprecated.
It didn't use to work and Redmine Github Hook has worked perfectly for my use, but I'd love to hear your experiences using the "proper" integration.
from redmine_github_hook.
@koppen thanks for the reply. Here's the GitHub Redmine hook for reference.
I wouldn't rush to deprecate this, as so far I'm unable to get GitHub's hook working, see github/github-services/issues/1051 - but in the long run it might make sense to consolidate efforts?
My experience so far:
feature | koppen/redmine_github_hook |
github-services/redmine |
---|---|---|
Fetch commits from GitHub on push | yes | not working |
Update issues in Redmine by processing references in commit messages | not working | not working |
from redmine_github_hook.
Thanks for investigating. I've been looking into this a bit as well.
As far as I can tell, the standard Redmine sys/fetch_changesets
way of doing things assumes the local repository has already been updated with changes from the remote repository. It investigates the local repository, importing the revisions there into the database.
Using GitHubs Redmine integration means this import into the database happens in the background, otherwise Redmine will perform the import whenever someone visits the repository page. Updating issues from commit messages probably also happens as part of this import.
What Redmine Github Hook does is actually fetch changes from the remote repository into the local one. It then triggers the import, which should trigger issues updating.
Does this sound about right?
from redmine_github_hook.
Thanks for looking into this @koppen. That does sound about right. I guess the problem I am having is that despite using both integrations, I'm not seeing git commits show up on the issue page, even when refs #{some issue}
or fixes #{some issue}
is used. And using the fix/fixes
keyword doesn't actually close an issue. Is that the behavior you expect? I'm on Redmine 3.0.2 if that makes a difference.
from redmine_github_hook.
As far as I can tell, that should be handled by Redmine. Redmine Github Hook is just a dumb git pull && import changesets
.
For what it's worth, it works fine for us, albeit on Redmine 2.x. I don't remember if I had to do anything to make it work, but there are some configuration settings under Administration > Settings > Repositories that you might want to check looks correct.
from redmine_github_hook.
@koppen
Works for us in Redmine 2.5.x too (and thanks so much for making this!!). We're looking to move to Redmine 3.1.x shortly and wondering if you intend on testing and supporting that any time soon?
from redmine_github_hook.
We're looking to move to Redmine 3.1.x shortly and wondering if you intend on testing and supporting that any time soon?
@genachka, I have yet to move to 3.x myself, but I see no reason Github Hook 2.2 shouldn't work with Redmine 3.x. A quick test shows that it works just fine, at least on the surface.
The plan is definitely to support the Redmine 3.x series as well, feel free to open any issues if you encounter them.
from redmine_github_hook.
@kostajh Do you need more from this issue, or can we close it?
from redmine_github_hook.
yes, thanks @koppen!
from redmine_github_hook.
Related Issues (20)
- support redmine 5.x ? HOT 3
- I implement this plugin but got an error HOT 1
- Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights. HOT 2
- Redmine 3.1.0 issues
- RoutingError with sub-uri HOT 4
- Bi-directional issue tracker sync? HOT 1
- "Could not create directory '/home/SYSTEM/.ssh" Error on request HOT 6
- Refusing to fetch into current branch refs/heads/master of non-bare repository HOT 2
- 500 Internal Server Error HOT 1
- Use Github hook with daemon running Redmine HOT 2
- ActiveRecord::RecordNotUnique when git has hash-collision(?) HOT 1
- Please provide a tag for the latest version... HOT 1
- Error: undefined method `skip_before_filter' for GithubHookController:Class HOT 4
- Commits are not getting reflected on redmine portal HOT 2
- Github redirects to login page HOT 3
- The release tag is not set after Ver.2.2.0. HOT 2
- Tags deleted in the remote repository are not deleted from the local repository HOT 4
- Maintainers wanted HOT 2
- Support for Redmine 4.x HOT 6
- Cannot run rake command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_github_hook.