what it does with cvs should be possible with git too.

Comments

jurgenhaas’s picture

Status: Active » Postponed (maintainer needs more info)

great idea

however, I do not have any experience with git at all and wonder if you (or someone else) would be able to help me out with code snippets.

rbayliss’s picture

Subscribe

jurgenhaas’s picture

Title: git support » svn and git support
Project: Drupal Remote Dashboard » Drupal Remote Dashboard Server
Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Postponed (maintainer needs more info) » Postponed

We want to support both technologies - svn and git - in such a way that we can call several functions on remote servers from DRD:

  • status information
  • updates from the repository
  • commits to the repository

Modules should be able to implement hooks that define directories or sets of directories that can be selected in DRD to perform the svn/git actions on.

The unresolved issue so far is that usually we can't call external commands from PHP because the user running the PHP session has no sufficient permissions to run those external commands. A possible solution might be to store shell scripts in a specific directory for each required command and get a crontab to execute all scripts in that directory on a regular basis.

j.slemmer’s picture

should this issue stay open, as we are discussing everything on the DRD module?

jurgenhaas’s picture

Status: Postponed » Fixed

Two things:

1) This issue has now been finally implemented and is working. It is only functional if the PHP installation of the core where DRD is installed is supporting ssh2lib. I will have to write some documentation to explain on how things are working there.

2) Issues for the drd_server modules should probably be raised in the issue queue for the drd module as well. I will look around if I can hide the issue queue for this project and put some comments into the module description.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.