Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Git Deploy lets you develop on a live site and still satisfy version requirements and get accurate results from the update status system. This makes it easier to contribute to the projects you use.

Version information is added automatically when the Drupal packaging system creates a release. If you check out a contributed project from the Drupal repository with Git, it should not have any version information. Git Deploy gets the missing version information from the project's Git log.

See Tricks for using Composer when developing a contrib module locally for how to install from a Git repository with Composer.

Requirements

Version 2 of Git Deploy requires access to the git command and the ability for PHP to execute shell commands. Version 1 runs entirely in PHP, but requires the glip library.

Similar projects and how they are different

Drush 8

A project’s dev release changes whenever a maintainer updates its branch. To enforce consistency among sites using a dev release, you can lock them to the same release by checking out a specific Git commit. You would not contribute changes from these sites back to the project. Drush 8 can automatically add version information to projects you check out with Git.

  • The drush pm-download command with options --package-handler=git_drupalorg --gitinfofile performs a Git clone and checkout and adds version information to the project info file.
  • The drush make command automatically adds version information to the project info file without additional options.

Composer Deploy

Composer Deploy gets version information from Composer metadata for projects installed with Composer.

Known issue

Git Deploy is unable to provide version info to the Drush 8 update-db command. Since this is the only version of Drush that supports Drupal 7, updates of Drupal 7 modules that have specific version dependencies will fail if any of those dependencies are installed with Git. Moshe Weitzman has refused to accept a fix. You can use a fork of Drush 8 to run updates on Drupal 7.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jul 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
8.x-2.6 Stable Jul 9, 2024
8.x-2.5 Stable Jul 9, 2024