-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add template #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
📊 Code Coverage Report✅ Coverage: 100.00% (min 70%) — OK Generated by Macpaw Symfony PHP Reusable Workflow |
abilyk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
чи актуально
"php": "8.2"
?
| environment: | ||
| - PHP_SERVER_PORT=${PHP_SERVER_PORT:-8000} | ||
| env_file: | ||
| - .env |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а нащо тут в енвах дублювати PHP_SERVER_PORT якщо він вже є в .env.example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alekseytupichenkov щоб легко змінювати destination port
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну просто як на мене то це лише може збивати то де треба правити порт
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я про те що якщо я зайду в цей файл, виправлю порт на 8123, то він все одно візьме з енву якщо він там вже встановлений
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alekseytupichenkov воно так але я з тим розрахунком робив, щоб правити лише те що не в гіті щоб легко було цим керувати
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Хммм, так я про це я кажу ж наче .env не в гіті, docker-compose.yml в гіті, нащо тут
environment:
- PHP_SERVER_PORT=${PHP_SERVER_PORT:-8000}
| chmod +x scripts/update-package.sh | ||
|
|
||
| # Minimal: only vendor/package (namespace will be derived) | ||
| scripts/update-package.sh acme/cool-bundle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Цей скріпт не запускається в докер кентейнері бо там нема башу
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alekseytupichenkov виправи dockerfile
scripts/update-package.sh
Outdated
| fi | ||
|
|
||
| read -r -p "Proceed with the update? [y/N] " confirm | ||
| confirm=${confirm,,} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
напевно тут помилка
| confirm=${confirm,,} | |
| confirm=${confirm} |
| @@ -0,0 +1,159 @@ | |||
| #!/usr/bin/env bash | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А в чому взагалі ідея цього скріпту?
| @@ -0,0 +1,140 @@ | |||
| <?php | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не зовсім розумію нащо тут index.php якщо це темплейт для пакєтів
| @@ -0,0 +1,145 @@ | |||
| ### Creating a new Symfony package from this template | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А це ж по суті описано в рідмі
📊 Code Coverage Report✅ Coverage: 100.00% (min 70%) — OK Generated by Macpaw Symfony PHP Reusable Workflow |
📊 Code Coverage Report✅ Coverage: 100.00% (min 70%) — OK Generated by Macpaw Symfony PHP Reusable Workflow |
📊 Code Coverage Report✅ Coverage: 100.00% (min 70%) — OK Generated by Macpaw Symfony PHP Reusable Workflow |
📊 Code Coverage Report✅ Coverage: 100.00% (min 70%) — OK Generated by Macpaw Symfony PHP Reusable Workflow |
No description provided.