{"action":"closed","issue":{"url":"https://api.github.com/repos/Symplify/Symplify/issues/623","repository_url":"https://api.github.com/repos/Symplify/Symplify","labels_url":"https://api.github.com/repos/Symplify/Symplify/issues/623/labels{/name}","comments_url":"https://api.github.com/repos/Symplify/Symplify/issues/623/comments","events_url":"https://api.github.com/repos/Symplify/Symplify/issues/623/events","html_url":"https://github.com/Symplify/Symplify/issues/623","id":294208461,"number":623,"title":"[Monorepo] GitException on build command - index.lock exists","user":{"login":"Miroslav-Stopka","id":35930284,"avatar_url":"https://avatars1.githubusercontent.com/u/35930284?v=4","gravatar_id":"","url":"https://api.github.com/users/Miroslav-Stopka","html_url":"https://github.com/Miroslav-Stopka","followers_url":"https://api.github.com/users/Miroslav-Stopka/followers","following_url":"https://api.github.com/users/Miroslav-Stopka/following{/other_user}","gists_url":"https://api.github.com/users/Miroslav-Stopka/gists{/gist_id}","starred_url":"https://api.github.com/users/Miroslav-Stopka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miroslav-Stopka/subscriptions","organizations_url":"https://api.github.com/users/Miroslav-Stopka/orgs","repos_url":"https://api.github.com/users/Miroslav-Stopka/repos","events_url":"https://api.github.com/users/Miroslav-Stopka/events{/privacy}","received_events_url":"https://api.github.com/users/Miroslav-Stopka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-04T16:11:14Z","updated_at":"2018-02-06T08:58:53Z","closed_at":"2018-02-06T08:58:53Z","author_association":"NONE","body":"Hi Tomas,\r\n\r\nwith the new release of monorepo toll, I managed to create a monorepo that includes both packages and skeleton. However, the creation process ended in error.\r\n\r\n```\r\n[OK] History added                                                                                         \r\n                                                                                                            \r\n\r\n\r\nIn GitProcess.php line 93:\r\n                                                                                                        \r\n  [GitWrapper\\GitException]                                                                             \r\n  fatal: Unable to create '/Users/miroslavstopka/html/prototypemonorepo/.git/index.lock': File exists.  \r\n                                                                                                        \r\n  Another git process seems to be running in this repository, e.g.                                      \r\n  an editor opened by 'git commit'. Please make sure all processes                                      \r\n  are terminated then try again. If it still fails, a git process                                       \r\n  may have crashed in this repository earlier:                                                          \r\n  remove the file manually to continue.                                                                 \r\n                                                                                                        \r\n\r\nException trace:\r\n GitWrapper\\GitProcess->wait() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/process/Process.php:201\r\n Symfony\\Component\\Process\\Process->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/cpliakas/git-wrapper/src/GitWrapper.php:311\r\n GitWrapper\\GitWrapper->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/cpliakas/git-wrapper/src/GitWorkingCopy.php:89\r\n GitWrapper\\GitWorkingCopy->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/cpliakas/git-wrapper/src/GitWorkingCopy.php:370\r\n GitWrapper\\GitWorkingCopy->add() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symplify/monorepo/src/RepositoryToPackageMerger.php:106\r\n Symplify\\Monorepo\\RepositoryToPackageMerger->mergeRepositoryToPackage() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symplify/monorepo/src/Console/Command/BuildCommand.php:67\r\n Symplify\\Monorepo\\Console\\Command\\BuildCommand->execute() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/console/Command/Command.php:252\r\n Symfony\\Component\\Console\\Command\\Command->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/console/Application.php:865\r\n Symfony\\Component\\Console\\Application->doRunCommand() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/console/Application.php:241\r\n Symfony\\Component\\Console\\Application->doRun() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/console/Application.php:143\r\n Symfony\\Component\\Console\\Application->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symplify/monorepo/bin/monorepo:23\r\n\r\nIn GitProcess.php line 89:\r\n                                                                                                        \r\n  [GitWrapper\\GitException]                                                                             \r\n  fatal: Unable to create '/Users/miroslavstopka/html/prototypemonorepo/.git/index.lock': File exists.  \r\n                                                                                                        \r\n  Another git process seems to be running in this repository, e.g.                                      \r\n  an editor opened by 'git commit'. Please make sure all processes                                      \r\n  are terminated then try again. If it still fails, a git process                                       \r\n  may have crashed in this repository earlier:                                                          \r\n  remove the file manually to continue.                                                                 \r\n                                                                                                        \r\n\r\nException trace:\r\n GitWrapper\\GitProcess->wait() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/process/Process.php:201\r\n Symfony\\Component\\Process\\Process->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/cpliakas/git-wrapper/src/GitWrapper.php:311\r\n GitWrapper\\GitWrapper->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/cpliakas/git-wrapper/src/GitWorkingCopy.php:89\r\n GitWrapper\\GitWorkingCopy->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/cpliakas/git-wrapper/src/GitWorkingCopy.php:370\r\n GitWrapper\\GitWorkingCopy->add() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symplify/monorepo/src/RepositoryToPackageMerger.php:106\r\n Symplify\\Monorepo\\RepositoryToPackageMerger->mergeRepositoryToPackage() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symplify/monorepo/src/Console/Command/BuildCommand.php:67\r\n Symplify\\Monorepo\\Console\\Command\\BuildCommand->execute() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/console/Command/Command.php:252\r\n Symfony\\Component\\Console\\Command\\Command->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/console/Application.php:865\r\n Symfony\\Component\\Console\\Application->doRunCommand() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/console/Application.php:241\r\n Symfony\\Component\\Console\\Application->doRun() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symfony/console/Application.php:143\r\n Symfony\\Component\\Console\\Application->run() at /Users/miroslavstopka/html/prorotypmonorepo/vendor/symplify/monorepo/bin/monorepo:23\r\n\r\nbuild <monorepo-directory>\r\n\r\n\r\n```\r\n"}}
{"actor":{"display_login":"TomasVotruba"}}