]> Raphaël G. Git Repositories - blog/commitdiff
Initial import
authorRaphaël Gertz <git@rapsys.eu>
Tue, 1 Aug 2023 06:59:35 +0000 (08:59 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 1 Aug 2023 06:59:35 +0000 (08:59 +0200)
composer.json [new file with mode: 0644]
worldwritabledisabled.patch [new file with mode: 0644]

diff --git a/composer.json b/composer.json
new file mode 100644 (file)
index 0000000..e4d7f73
--- /dev/null
@@ -0,0 +1,203 @@
+{
+    "type": "project",
+    "name": "rapsys/blog",
+    "description": "Rapsys blog system",
+    "license": "AGPL-3.0-or-later",
+    "minimum-stability": "dev",
+    "prefer-stable": true,
+    "require": {
+        "php": ">=8.1",
+        "ext-ctype": "*",
+        "ext-iconv": "*",
+        "doctrine/annotations": "^1.0|^2.0",
+        "doctrine/doctrine-bundle": "^2.8",
+        "doctrine/doctrine-migrations-bundle": "^3.2",
+        "doctrine/orm": "^2.14|^3.0",
+        "phpdocumentor/reflection-docblock": "^5.3",
+        "phpstan/phpdoc-parser": "^1.15",
+        "rapsys/blogbundle": "dev-master",
+        "rapsys/packbundle": "dev-master",
+        "rapsys/userbundle": "dev-master",
+        "symfony/asset": "^6.0",
+        "symfony/console": "^6.0",
+        "symfony/doctrine-messenger": "^6.0",
+        "symfony/dotenv": "^6.0",
+        "symfony/expression-language": "^6.0",
+        "symfony/flex": "^2.0",
+        "symfony/form": "^6.0",
+        "symfony/framework-bundle": "^6.0",
+        "symfony/http-client": "^6.0",
+        "symfony/intl": "^6.0",
+        "symfony/mailer": "^6.0",
+        "symfony/mime": "^6.0",
+        "symfony/monolog-bundle": "^3.0",
+        "symfony/notifier": "^6.0",
+        "symfony/process": "^6.0",
+        "symfony/property-access": "^6.0",
+        "symfony/property-info": "^6.0",
+        "symfony/runtime": "^6.0",
+        "symfony/security-bundle": "^6.0",
+        "symfony/serializer": "^6.0",
+        "symfony/string": "^6.0",
+        "symfony/translation": "^6.0",
+        "symfony/twig-bundle": "^6.0",
+        "symfony/validator": "^6.0",
+        "symfony/web-link": "^6.0",
+        "symfony/yaml": "^6.0",
+        "twig/extra-bundle": "^2.12|^3.0",
+        "twig/twig": "^2.12|^3.0"
+    },
+    "config": {
+        "allow-plugins": {
+            "symfony/flex": true,
+            "symfony/runtime": true
+        },
+        "sort-packages": true
+    },
+    "autoload": {
+        "psr-4": {
+            "App\\": "src/"
+        }
+    },
+    "autoload-dev": {
+        "psr-4": {
+            "App\\Tests\\": "tests/"
+        }
+    },
+    "repositories": [
+        {
+            "type": "package",
+            "package": {
+                "name": "rapsys/packbundle",
+                "version": "dev-master",
+                "source": {
+                    "type": "git",
+                    "url": "https://rapsys@git.rapsys.eu/packbundle",
+                    "reference": "master"
+                },
+                "autoload": {
+                    "psr-4": {
+                        "Rapsys\\PackBundle\\": ""
+                    }
+                },
+                "require": {
+                    "symfony/asset": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/flex": "^1.0|^2.0",
+                    "symfony/framework-bundle": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/process": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/twig-bundle": "^4.0|^5.0|^6.0|^7.0"
+                }
+            }
+        },
+        {
+            "type": "package",
+            "package": {
+                "name": "rapsys/userbundle",
+                "version": "dev-master",
+                "source": {
+                    "type": "git",
+                    "url": "https://rapsys@git.rapsys.eu/userbundle",
+                    "reference": "master"
+                },
+                "autoload": {
+                    "psr-4": {
+                        "Rapsys\\UserBundle\\": ""
+                    }
+                },
+                "require": {
+                    "doctrine/doctrine-bundle": "^1.0|^2.0",
+                    "rapsys/packbundle": "dev-master",
+                    "symfony/flex": "^1.0|^2.0",
+                    "symfony/form": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/framework-bundle": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/security-bundle": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/validator": "^4.0|^5.0|^6.0|^7.0"
+                }
+            }
+        },
+        {
+            "type": "package",
+            "package": {
+                "name": "rapsys/blogbundle",
+                "version": "dev-master",
+                "source": {
+                    "type": "git",
+                    "url": "https://rapsys@git.rapsys.eu/blogbundle",
+                    "reference": "master"
+                },
+                "autoload": {
+                    "psr-4": {
+                        "Rapsys\\BlogBundle\\": ""
+                    }
+                },
+                "require": {
+                    "doctrine/doctrine-bundle": "^1.0|^2.0",
+                    "doctrine/orm": "^2.0|^3.0",
+                    "erusev/parsedown": "^1.0|^2.0",
+                    "rapsys/packbundle": "dev-master",
+                    "rapsys/userbundle": "dev-master",
+                    "symfony/flex": "^1.0|^2.0",
+                    "symfony/form": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/framework-bundle": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/mailer": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/profiler-pack": "^1.0",
+                    "symfony/security-bundle": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/translation": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/twig-bundle": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/validator": "^4.0|^5.0|^6.0|^7.0",
+                    "twig/html-extra": "^2.0|^3.0",
+                    "twig/intl-extra": "^2.0|^3.0"
+                },
+                "require-dev": {
+                    "doctrine/doctrine-fixtures-bundle": "^3.0",
+                    "symfony/browser-kit": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/maker-bundle": "^1.0",
+                    "symfony/phpunit-bridge": "^4.0|^5.0|^6.0|^7.0",
+                    "symfony/web-profiler-bundle": "^4.0|^5.0|^6.0|^7.0"
+                }
+            }
+        }
+    ],
+    "replace": {
+        "symfony/polyfill-ctype": "*",
+        "symfony/polyfill-iconv": "*",
+        "symfony/polyfill-php72": "*",
+        "symfony/polyfill-php73": "*",
+        "symfony/polyfill-php74": "*",
+        "symfony/polyfill-php80": "*",
+        "symfony/polyfill-php81": "*"
+    },
+    "scripts": {
+        "auto-scripts": {
+            "cache:clear": "symfony-cmd",
+            "assets:install %PUBLIC_DIR%": "symfony-cmd"
+        },
+        "post-install-cmd": [
+            "@auto-scripts"
+        ],
+        "post-update-cmd": [
+            "@auto-scripts"
+        ]
+    },
+    "conflict": {
+        "symfony/symfony": "*"
+    },
+    "extra": {
+        "symfony": {
+            "allow-contrib": false,
+            "require": "6.2.*",
+            "docker": false
+        }
+    },
+    "require-dev": {
+        "doctrine/doctrine-fixtures-bundle": "*",
+        "phpunit/phpunit": "^9.5",
+        "symfony/browser-kit": "6.2.*",
+        "symfony/css-selector": "6.2.*",
+        "symfony/debug-bundle": "6.2.*",
+        "symfony/maker-bundle": "^1.0",
+        "symfony/phpunit-bridge": "^6.2",
+        "symfony/stopwatch": "6.2.*",
+        "symfony/web-profiler-bundle": "6.2.*"
+    }
+}
diff --git a/worldwritabledisabled.patch b/worldwritabledisabled.patch
new file mode 100644 (file)
index 0000000..8c8f768
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urNp vendor/symfony/runtime/GenericRuntime.php.orig vendor/symfony/runtime/GenericRuntime.php
+--- vendor/symfony/runtime/GenericRuntime.php.orig     2023-01-13 04:02:34.828549046 +0100
++++ vendor/symfony/runtime/GenericRuntime.php  2023-01-13 04:02:39.328567501 +0100
+@@ -69,7 +69,7 @@ class GenericRuntime implements RuntimeI
+         }
+         if ($debug) {
+-            umask(0000);
++            umask(0022);
+             $_SERVER[$debugKey] = $_ENV[$debugKey] = '1';
+             if (false !== $errorHandler = ($options['error_handler'] ?? BasicErrorHandler::class)) {