Repository navigation
installer_ignore: Entwicklungs- und Test-Artefakte nicht mit ausliefern - #2
Merged
Merged
Conversation
Das Release-ZIP enthielt bisher tests/, phpunit.xml.dist, phpstan.neon.dist und composer.json/lock. Zur Laufzeit wird davon nichts gebraucht - REDAXO autoloadet nur lib/ und vendor/, gelesen wird keine dieser Dateien. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Das Release-ZIP enthielt bisher
tests/,phpunit.xml.dist,phpstan.neon.distundcomposer.json/composer.lock. Zur Laufzeit wird davon nichts gebraucht: REDAXO registriert für den Autoloader ausschließlichlib/undvendor/(rex_package::enlist()), und kein Addon-Code liest diese Dateien.Warum
installer_ignoreund nicht.gitattributesexport-ignoregreift hier nicht: Dieinstaller-actionpackt das ZIP mitarchiverüber einen Glob, nicht mitgit archive–.gitattributeswird dabei sogar selbst aus dem Paket entfernt. Der vorgesehene Weg istinstaller_ignorein derpackage.yml; die Action liest den Key, und REDAXOs eigener Installer wertet ihn ebenfalls aus (api_package_upload.php).README.mdbleibt drin –pages/docs.phprendert es als Doku-Seite im Backend.Geprüft
package.ymlparst sauber,package/versionunverändert.rex_addon::get(contacts)->getProperty(installer_ignore)liefert die 8 Einträge (nachcache:clear).assets,boot.php,fragments,install.php,lang,lib,modules,pages,uninstall.php,update.php,vendor,ytemplates,README.md,CHANGELOG.md,LICENSE.system.log.🤖 Generated with Claude Code