A module which helps managing source control (GIT) for a Drupal website.
updates the site's code to a certain tag using GIT commands.
the site's admin/code maintainer can select a tag name from the available tags in the local Git repository (after fetching the tags from an upstream repository).

Warning

This module updates the code of the web site using GIT.
any change of the code might break the site and make it unavailable... so -
Backup your site before trying this setup.

Installation instructions:

This module is currently used only with Linux/Unix.

0. add to settings.php $conf['gittag_git_user'] = 'username';
set a string value with the username owning the code files (should be a different user than the user who is running the web server process).

1. create a user called gitpull.
this user must have the correct permissions to pull from the Git repository, and to update the site's code files on the web server.

2. add the webserver's user to /etc/sudoers, to allow it to git pull (www-data on Ubuntu Linux)
use the same user name as in settings.php:
example -
www-data ALL=(gitpull) NOPASSWD: /usr/bin/git pull, /usr/bin/git tag -l, /usr/bin/git describe --tags, /usr/bin/git fetch --tags, /usr/bin/git checkout [[\:alpha\:]]*

Downloads

Other releases

Version Downloads Date Links
7.x-1.0-beta5 tar.gz (8.53 KB) | zip (9.12 KB) 2012-Jun-26 Notes
6.x-1.0-beta4 tar.gz (8.31 KB) | zip (8.9 KB) 2012-Apr-02 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (8.54 KB) | zip (9.13 KB) 2012-Jun-27 Notes

Project Information


Maintainers for GIT Tag

  • shaiw - 16 commits
    last: 47 weeks ago, first: 1 year ago
  • konforti - 2 commits
    last: 1 year ago, first: 1 year ago

Issues for GIT Tag

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here