Skip to content

Command 'git branch --end-of-options 2887450-support_views_data_e-patch-temp' failed (exit-code 128). #234

@giuseppe-esposito-87

Description

@giuseppe-esposito-87

Hi,

Trying to apply the patch on this issue of views_data_export:

drupalorg issue:apply 2887450 -vvv

I get the following error:

Box Requirements Checker
========================

 Using PHP 8.1.23
 PHP is using the following php.ini file:
 /etc/php/8.1/cli/php.ini

> Checking Box requirements:
  ✔ The application requires a version matching "^8.1".
  ✔ The application requires the extension "zlib".
  ✔ The application requires the extension "dom".
  ✔ The application requires the extension "json".
  ✔ The package "guzzlehttp/guzzle" requires the extension "json".
  ✔ The package "dg/rss-php" requires the extension "simplexml".
  ✔ The package "symfony/service-contracts" conflicts with the extension "psr".
  
                                                                                                                                                                                                                                        
 [OK] Your system is ready to run the application.                                                                                                                                                                                      
                                                                                                                                                                                                                                        

Creating issue branch for 8.x-1.x
The branch 2887450-support_views_data_e exists! Checking it out
Creating temp branch 2887450-support_views_data_e-patch-temp

In GitRepository.php line 616:
                                                                                                         
  [CzProject\GitPhp\GitException (128)]                                                                  
  Command 'git branch --end-of-options 2887450-support_views_data_e-patch-temp' failed (exit-code 128).  
                                                                                                         

Exception trace:
  at phar:///usr/local/bin/drupalorg/vendor/czproject/git-php/src/GitRepository.php:616
 CzProject\GitPhp\GitRepository->run() at phar:///usr/local/bin/drupalorg/vendor/czproject/git-php/src/GitRepository.php:134
 CzProject\GitPhp\GitRepository->createBranch() at phar:///usr/local/bin/drupalorg/src/Cli/Command/Issue/Apply.php:84
 mglaman\DrupalOrgCli\Command\Issue\Apply->applyWithGit() at phar:///usr/local/bin/drupalorg/src/Cli/Command/Issue/Apply.php:48
 mglaman\DrupalOrgCli\Command\Issue\Apply->execute() at phar:///usr/local/bin/drupalorg/vendor/symfony/console/Command/Command.php:312
 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/drupalorg/vendor/symfony/console/Application.php:1022
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/drupalorg/vendor/symfony/console/Application.php:314
 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/drupalorg/vendor/symfony/console/Application.php:168
 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/drupalorg/drupalorg:17
 require() at /usr/local/bin/drupalorg:14

issue:apply <nid>

However, running the command git branch --end-of-options 2887450-support_views_data_e-patch-temp directly from the console works.

Also, I've just checked that dorgflow works:

dorgflow https://www.drupal.org/node/2887450

successfully creates a new branch, relative to the issue, so I'm thinking this bug is relative to this project and not my local machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions