Merge pull request #1844 from acelaya-forks/feature/help-discussion-template

Add discussion template for 'Help wanted'
This commit is contained in:
Alejandro Celaya 2023-07-15 10:59:51 +02:00 committed by GitHub
commit 6d4c232345
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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", "devster/ubench": "^2.1",
"infection/infection": "^0.27", "infection/infection": "^0.27",
"openswoole/ide-helper": "~22.0.0", "openswoole/ide-helper": "~22.0.0",
"phpstan/phpstan": "^1.9", "phpstan/phpstan": "^1.10",
"phpstan/phpstan-doctrine": "^1.3", "phpstan/phpstan-doctrine": "^1.3",
"phpstan/phpstan-phpunit": "^1.3", "phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-symfony": "^1.2", "phpstan/phpstan-symfony": "^1.3",
"phpunit/php-code-coverage": "^10.0", "phpunit/php-code-coverage": "^10.0",
"phpunit/phpunit": "^10.2.0", "phpunit/phpunit": "^10.2.0",
"roave/security-advisories": "dev-master", "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\EntityManager\ExistingEntityManager;
use Doctrine\Migrations\Configuration\Migration\ConfigurationArray; use Doctrine\Migrations\Configuration\Migration\ConfigurationArray;
use Doctrine\Migrations\DependencyFactory; use Doctrine\Migrations\DependencyFactory;
use Doctrine\ORM\EntityManager;
// This file is currently used by doctrine migrations only // This file is currently used by doctrine migrations only
return (static function () { return (static function () {
/** @var EntityManager $em */
$em = include __DIR__ . '/entity-manager.php';
$migrationsConfig = [ $migrationsConfig = [
'migrations_paths' => [ 'migrations_paths' => [
'ShlinkMigrations' => 'data/migrations', 'ShlinkMigrations' => 'data/migrations',
@ -22,6 +18,7 @@ return (static function () {
], ],
'custom_template' => 'data/migrations_template.txt', 'custom_template' => 'data/migrations_template.txt',
]; ];
$em = include __DIR__ . '/entity-manager.php';
return DependencyFactory::fromEntityManager( return DependencyFactory::fromEntityManager(
new ConfigurationArray($migrationsConfig), new ConfigurationArray($migrationsConfig),