akasima / xero_commerce

xe3 에서 사용가능한 e-commerce 플러그인
Other
21 stars 10 forks source link

dev버전 사용중 코어 업데이트시 버전문제 발생 #111

Open darron1217 opened 4 years ago

darron1217 commented 4 years ago

코어업데이트를 실행하던중 에러가 나서 살펴보니 아래와 같은 내용이었습니다.

  Problem 1
    - The requested package xpressengine-plugin/xero_commerce 1.2.1 exists as xpressengine-plugin/xero_commerce[1.0.0, 1.1.21, 1.1.3, 1.2.0] but these are rejected by your constraint.

찾아보니 정식 출시된 버전은 1.2.0 이고 제가 가진 소스의 버전에는 1.2.1로 적혀있어서 발생하는 문제였습니다.

수동으로 고쳐서 해결하긴 했는데 master브랜치에 있는 버전은 아직 출시되지 않은 버전이니 이전버전을 기재하는게 맞다고 생각했는데, 이 부분에 대해서 어떻게 생각하시는지 궁금합니다 :)

버전을 이전버전으로 표시하는 pull-request도 일단 만들어두었습니다 https://github.com/akasima/xero_commerce/pull/110

아래는 에러 전문입니다

Updating Xpressengine.
======================

<warning>Version information:</warning>
 3.0.6 -> 3.0.9
<warning>Clears the cache before the operation run.</warning>
Cache cleared successfully. XE cache has also been cleared.

Clone project.
--------------

  Cloning composer.json: done
  Cloning composer.lock: done
  Cloning storage/app/composer.plugins.json: done
  Cloning vendor: done
  Cloning plugins: done
  Cloning privates: done

Download.
---------

 Downloading v3.0.7: done
 Downloading v3.0.8: done
 Downloading v3.0.9: done

Checking environment for Composer.
----------------------------------

<warning> Checking file permission: </warning>
 /workspace/xe3/storage/app/composer.plugins.json - passed
 /workspace/xe3/storage/app/operations.json - passed
 /workspace/xe3/composer.lock - passed
 /workspace/xe3/plugins/ - passed
 /workspace/xe3/vendor/ - passed
 /workspace/xe3/vendor/composer/installed.json - passed

<warning> Checking COMPOSER_HOME environment variable: </warning>
  passed

Composer update command is running.. It may take up to a few minutes.
---------------------------------------------------------------------

> composer update
GC collected cycles: <warning>0 </warning>
<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
<warning>Could not scan for classes inside "database/seeds" which does not appear to be a file nor a folder</warning>
<warning>Could not scan for classes inside "database/factories" which does not appear to be a file nor a folder</warning>
> Xpressengine\Plugin\Composer\Composer::command
<warning>Could not scan for classes inside "database/seeds" which does not appear to be a file nor a folder</warning>
<warning>Could not scan for classes inside "database/factories" which does not appear to be a file nor a folder</warning>
> Xpressengine\Plugin\Composer\Composer::preUpdateOrInstall
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package xpressengine-plugin/xero_commerce 1.2.1 exists as xpressengine-plugin/xero_commerce[1.0.0, 1.1.21, 1.1.3, 1.2.0] but these are rejected by your constraint.

GC collected cycles: <warning>2731 </warning>
[2020-01-27 23:01:49] production.ERROR: Composer update failed.. {"exception":"[object] (RuntimeException(code: 2): Composer update failed.. at /workspace/xe3/app/Console/Commands/XeUpdate.php:182)
[stacktrace]
#0 [internal function]: App\\Console\\Commands\\XeUpdate->App\\Console\\Commands\\{closure}(Object(Xpressengine\\Foundation\\Operator))
#1 /workspace/xe3/app/Console/Commands/ShouldOperation.php(112): call_user_func(Object(Closure), Object(Xpressengine\\Foundation\\Operator))
#2 /workspace/xe3/app/Console/Commands/ShouldOperation.php(152): App\\Console\\Commands\\ShouldOperation->start('core', Object(Closure), NULL)
#3 /workspace/xe3/app/Console/Commands/XeUpdate.php(208): App\\Console\\Commands\\ShouldOperation->startCore(Object(Closure))
#4 [internal function]: App\\Console\\Commands\\XeUpdate->handle()
#5 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#7 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Xpressengine\\Foundation\\Application), Array, Object(Closure))
#8 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Xpressengine\\Foundation\\Application), Array, Array, NULL)
#9 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\Container\\Container->call(Array)
#10 /workspace/xe3/vendor/symfony/console/Command/Command.php(255): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /workspace/xe3/app/Console/Commands/ShouldOperation.php(82): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(App\\Console\\MultipleOutput))
#13 /workspace/xe3/vendor/symfony/console/Application.php(982): App\\Console\\Commands\\ShouldOperation->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(App\\Console\\MultipleOutput))
#14 /workspace/xe3/vendor/symfony/console/Application.php(255): Symfony\\Component\\Console\\Application->doRunCommand(Object(App\\Console\\Commands\\XeUpdate), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /workspace/xe3/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#16 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#18 /workspace/xe3/app/Console/Kernel.php(126): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#19 /workspace/xe3/artisan(45): App\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#20 {main}
"}