namelesscoder / gizzle-typo3-plugins
Gizzle 插件,用于在包含 TYPO3 扩展的存储库上运行各种任务
Requires
- namelesscoder/gizzle: @stable
- namelesscoder/gizzle-git-plugins: @stable
- namelesscoder/typo3-repository-client: @stable
Requires (Dev)
README
为Gizzle提供的插件,用于执行与 TYPO3 软件家族相关的各种任务。
设置
以下 Settings.yml
文件显示了本集合中每个插件的所有可能设置以及示例值。
NamelessCoder\GizzleTYPO3Plugins: NamelessCoder\GizzleTYPO3Plugins\GizzlePlugins\ExtensionRepositoryReleasePlugin: enabled: true directory: /working/directory/path/ credentialsFile: /path/to/.typo3credentials/if/not/in/project/root comment: A short comment text describing the upload. Taken from Payload HEAD's message body if not configured. url: http://my-custom-url.foo/if-not-set-then-github-repository-page.html removeBuild: true gitCommand: `which git` extensionKey: optional_underscored_extensionkey
请注意,该插件支持为 NamelessCoder\GizzleGitPlugins\GizzlePlugins\ClonePlugin
的子插件设置,可用于覆盖 ExtensionRepositoryReleasePlugin
将使用的任何默认值。请参阅 Gizzle 文档了解有关子插件的信息。
extensionKey
参数被特别支持为 $_GET
参数。如果指定,$_GET['extensionKey']
将覆盖设置中定义的任何扩展密钥。如果 neither $_GET
nor settings 文件包含扩展密钥,则插件将尝试使用存储库的名称作为扩展密钥。**如果您的扩展密钥与存储库名称不同,您必须始终在 URL 或设置中提供扩展密钥**。
TYPO3 扩展存储库凭据
ExtensionRepositoryReleasePlugin
需要一个特殊的 .typo3credentials
文件,该文件放置在与您的 .secret
文件相同的目录中(在根项目文件夹中,不在 web/
目录内)或插件选项中配置的位置。此文件的格式必须是 username:password
,其中 username
必须是您的 typo3.org 用户名,而 password
当然是您的 typo3.org 密码,明文。由于此文件包含敏感信息,请确保您不要将其提交到 Github,以免意外泄露您的登录信息。像对待您的 .secret
文件一样,以同样的或更高的谨慎和尊重来对待它!