Add discussion template for 'Help wanted'

This commit is contained in:
Alejandro Celaya 2023-07-15 10:58:24 +02:00
parent 3ea83f5cc3
commit 2d085ad6f4
3 changed files with 54 additions and 6 deletions

View File

@ -0,0 +1,51 @@
title: 'Help wanted'
body:
- type: input
validations:
required: true
attributes:
label: Shlink version
placeholder: x.y.z
- type: input
validations:
required: true
attributes:
label: PHP version
placeholder: x.y.z
- type: dropdown
validations:
required: true
attributes:
label: How do you serve Shlink
options:
- Self-hosted Apache
- Self-hosted nginx
- Self-hosted openswoole
- Self-hosted RoadRunner
- Openswoole Docker image
- RoadRunner Docker image
- Other (explain in summary)
- type: dropdown
validations:
required: true
attributes:
label: Database engine
options:
- MySQL
- MariaDB
- PostgreSQL
- MicrosoftSQL
- SQLite
- type: input
validations:
required: true
attributes:
label: Database version
placeholder: x.y.z
- type: markdown
validations:
required: true
attributes:
label: Summary
value: '<!-- Describe your issue, question or request here. -->'

View File

@ -67,10 +67,10 @@
"devster/ubench": "^2.1",
"infection/infection": "^0.27",
"openswoole/ide-helper": "~22.0.0",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-doctrine": "^1.3",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-symfony": "^1.2",
"phpstan/phpstan-symfony": "^1.3",
"phpunit/php-code-coverage": "^10.0",
"phpunit/phpunit": "^10.2.0",
"roave/security-advisories": "dev-master",

View File

@ -5,14 +5,10 @@ declare(strict_types=1);
use Doctrine\Migrations\Configuration\EntityManager\ExistingEntityManager;
use Doctrine\Migrations\Configuration\Migration\ConfigurationArray;
use Doctrine\Migrations\DependencyFactory;
use Doctrine\ORM\EntityManager;
// This file is currently used by doctrine migrations only
return (static function () {
/** @var EntityManager $em */
$em = include __DIR__ . '/entity-manager.php';
$migrationsConfig = [
'migrations_paths' => [
'ShlinkMigrations' => 'data/migrations',
@ -22,6 +18,7 @@ return (static function () {
],
'custom_template' => 'data/migrations_template.txt',
];
$em = include __DIR__ . '/entity-manager.php';
return DependencyFactory::fromEntityManager(
new ConfigurationArray($migrationsConfig),