Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.In #2271365: Move development & issue tracking to github. John Pugh mentions:
If I could make this suggestion, this should be in Aegir core, and should be
refactored to make use of a good symfony-based git php library
If hosting_git makes it into core (which I intend) it's dependencies also drag in provision_git.










Comments
Comment #1
helmo CreditAttribution: helmo commentedThis lib might be something to look at: https://github.com/matteosister/GitElephant/
Comment #2
helmo CreditAttribution: helmo commentedMoving to hosting git together with: #2364135: 7.x code moved to hosting_git repo
Comment #3
helmo CreditAttribution: helmo commentedA suggestion from Jon Pugh in https://www.drupal.org/node/2355157
Comment #4
clemens.tolboomThe usage statistics on packegist.org suggest something different comparing
https://packagist.org/packages/matteosister/GitElephant
https://packagist.org/packages/cpliakas/git-wrapper
https://packagist.org/packages/sebastian/git
Checking for feature set git-wrapper and GitElephant outrun sebastian/git
Based on usage next https://packagist.org/packages/cpliakas/git-wrapper is the better choice.
But I would vote if possible for a git module/drush extension instead of adding this to 'Hosting Git'
Comment #5
helmo CreditAttribution: helmo commentedgit-wrapper looks nice ...
I did a little experiment while working on #2283145: Update git url and branch on verify
Here's some mock code...
Comment #6
helmo CreditAttribution: helmo at Initfour websolutions commentedComment #7
ergonlogichttps://packagist.org/packages/cpliakas/git-wrapper looks like the best choice to me.