GithubHelp home page GithubHelp logo

odd-poet / redmine-gitolite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gartz/redmine_git_hosting

4.0 1.0 0.0 1.34 MB

A Redmine plugin which manages your gitolite configuration based on your projects and memberships in Redmine. It's based upon the work done by the root project of redmine-gitosis, just adapted for the differing syntaxes etc.

Shell 0.28% Ruby 99.72%

redmine-gitolite's Introduction

Patches

  • work with gitolite

  • support subproject git repo. (e.g. [email protected]:parent_project/subproject.git)

  • fix bugs.

Redmine Gitolite

A Redmine plugin which manages your gitolite configuration based on your projects and memberships in Redmine. Includes Public Key management views (extracted from plan.io).

This plugin was originally developed by Jan Schulz-Hofen for plan.io. Several updates/fixes were provided by github users untoldwind, tingar and ericpaulbishop. These updates were merged together and expanded upon by Eric Bishop.

In order to use this plugin you must have the following gems installed:

lockfile

inifile

net-ssh

Copyright & License

Copyright © 2009-2010 Jan Schulz-Hofen, ROCKET RENTALS GmbH (www.rocket-rentals.de). MIT License.

Copyright © 2010 Eric Bishop ([email protected]) MIT License.

redmine-gitolite's People

Contributors

odd-poet avatar ericpaulbishop avatar untoldwind avatar dcramer avatar halfhalo avatar framallo avatar ciaranj avatar xdissent avatar mnencia avatar yeah avatar jhogendorn avatar allen13 avatar johnae avatar rocket-rentals avatar slotos avatar takahashim avatar

Stargazers

comtraya avatar Etienne avatar  avatar David Becerril avatar

Watchers

 avatar

redmine-gitolite's Issues

gitoliteIdentityFile not needed anymore / not working?

Apparently the setting 'gitoliteIdentityFile' is completely ignored by redmine-gitolite. The old redmine-gitosis did all sorts of tricks with GIT_SSH that were removed in redmine-gitolite.

With redmine-gitolite, the installation involves creating a redmine user and making passenger use that user, also adding redmine to the git user group, etc.

I suggest you remove the gitoliteIdentityFile option completely for now and maybe create a nice "how to install" instead.

Git daemon

Hi,
first oh all, thank you for great work. It is running as a charm..
Do you think is possible to export a repository though git-daemon.. setting daemon=yes for a particular project through Settings of the project? Would be great have this feature.

Thanks Miloš

Cannot Create/Administer Gitolite Repositories

Hi, Let me start off by thanking you for undertaking this project, it's much needed since gitosis is no longer being maintained (or at least hasn't been update for over a year).

I have managed to successfully install and configure this plugin, and I added a key for my user. However, when I created the repository in redmine, my gitolite configuration was not updated. Also, when I click the repository tab in the project, it displays an error page about the repository not being created yet. I followed the instructions on the page, but since gitolite has not created the repository permissions or my key, the process failed.

It maybe worth mentioning that the gitosis plugin started exhibiting the same behaviour once I made the switch to an sqlite backend.

Log output:
The revision '' has a wrong format
Rendering template within layouts/base
Rendering repositories/git_instructions

uninitialized constant GitolitePublicKeysController::ARCondition

안녕하세요 :)

내계정 -> public key 메뉴에서 아래와 같은 오류가 나네요

NameError in Gitolite public keysController#index

uninitialized constant GitolitePublicKeysController::ARCondition
RAILS_ROOT: /home/redmine/redmine

Application Trace | Framework Trace | Full Trace
/home/redmine/.rvm/gems/ruby-1.8.7-p357/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:131:in const_missing' /home/redmine/redmine/vendor/plugins/redmine-gitolite/app/controllers/gitolite_public_keys_controller.rb:16:inindex'
....
...

아래는 설치된 rvm에 gem list 입니다.

actionmailer (2.3.14, 2.3.5)
actionpack (2.3.14, 2.3.5)
activerecord (2.3.14, 2.3.5)
activeresource (2.3.14, 2.3.5)
activesupport (2.3.14, 2.3.5)
bundler (1.0.21 ruby)
daemon_controller (0.2.6)
fastthread (1.0.7)
inifile (0.4.1)
lockfile (2.1.0)
net-ssh (2.3.0)
passenger (3.0.11)
rack (1.1.3, 1.0.1)
rails (2.3.14, 2.3.5)
rake (0.8.7)
rdoc (2.4.2)
sqlite3 (1.3.5)

Repository Tab still saying the repo does not exists

Hello,

I've cloned the latest redmine-gitolite on a 1.1.1 redmine install.
I think I achieved most of the parts as :

  • I created a user and added SSH keys
  • I created a project, then a Git repository from redmine
  • I followed instructions on the repository tab (add user to the project etc.)
  • I've pushed successfully data to the new project

However, the repository tab still says « Repository does not exist. Create one using the instructions below. »

I've checked in the git git/repositories dir: the myproject.git folder is here.
When I launch a rake gitolite:update_repositories task, I see "Updating repositories for projects MyProject". However, when I launch rake gitolite:fetch_changes it tells me /path/to/git/repositories/myproject.git/ is not a git repository.

I guess I'm missing one point, or maybe it's a but?

Thanks :-)

Repository Tab says repo do not exist for third level sub projects.

Hello,
I have been using Redmine+gitolite for several month without a problem. Project and sub projects works fine, but when I create a sub subproject the Repository Tab says repo do not exist. However the repo is already there because I can clone it using the developers url.

I have been trying to find the problem but I do not know enough Redmine/Ruby to solve it. It think that the problem is that for sub sub projects the expression "@repository.entries(@path, @Rev).blank" of the code below is true, but it should be false.

In file repositories_controller_patch.rb
def show_with_git_instructions
if @repository.is_a?(Repository::Git) and @repository.entries(@path, @Rev).blank?
render :action => 'git_instructions'
else
show_without_git_instructions
end
end

I have no idea of why it works for projects and sub projects, but it do not works for three level subprojects. Could you take a look at this issue?

Thanks in advance!

  • Vicenç

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.