Giter Site home page Giter Site logo

Comments (4)

koppen avatar koppen commented on July 17, 2024

Redmine GitHub Hook makes no assumptions about permissions, this is all handled by Gits transport(?)layer, in most cases SSH. Basically, if git pull works from the commandline, Redmine Github Hook should work.

Can you not just have multiple deploy keys for the user running Redmine, one for each repository?

Alternatively, you could add a Redmine-specific SSH key to a real GitHub user with access to the repositories.

from redmine_github_hook.

poige avatar poige commented on July 17, 2024

The problem is you can't have same key for different Github's repos.

from redmine_github_hook.

koppen avatar koppen commented on July 17, 2024

Redmine Github Hook does nothing directly with keys or permissions or what restrictions GitHub puts on deployment keys.

What I have done, personally, is to generate a key for my Redmine user, and then add that key as part of my own SSH keys on GitHub. This way the Redmine user has access to all my repositories.

You might be able to use https access rather than ssh, though, and use something like http://git-scm.com/docs/gitcredentials to get around the password prompt, but I am guessing here.

Let me know how it works out for you, sorry I can't be of much help.

from redmine_github_hook.

poige avatar poige commented on July 17, 2024

Once again: you can't have same deployment key for different repos. It means you need a way to load-use proper key when fetching changesets from GitHub. I didn't look into sources of your plugin, but since it's not cofigurable, I don't see how can one make it use different keys.

from redmine_github_hook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.