承接 alessandro_podo/git-changelog-generator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

alessandro_podo/git-changelog-generator

最新稳定版本:0.0.5

Composer 安装命令:

composer require alessandro_podo/git-changelog-generator

包简介

Es ist möglich aus einem Git Commit anhand von metadaten ein Changelog zu generieren, dass Leserechte hat

README 文档

README

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require alessandro_podo/git-changelog-generator

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    AlessandroPodo\GitChangelogGenerator\GitChangelogGenerator::class => ['all' => true],
];

Step 3: Create Config

# config/packages/git_changelog_generator.yaml

git_changelog_generator:
  validateMapping:
    ROLE_*':
      - <visibility footer>
  scopes:
    - ...

Step 4: Create Controller

Controller

use AlessandroPodo\GitChangelogGenerator\Service\Changelog\Changelog;

#[Route(path: '/changelog')]
public function change(
    Changelog $changelog,
): Response {
   return $this->render('changelog/index.html.twig', ['content'=> $changelog->render()]);
}

TwigTemplate

# extend base Template
{% block body %}
    {{ content|raw }}
{% endblock %}

Einstellungen

# Dateiname kann unten den Optionen angepasst werden. Default ist: plannedChangesFile.yml
composer:
    -
        title: Composer
        description: Composer
        ready: false
        type: refactor

Damit werden geplante Änderungen aufgeführt. Ist das File leer, wird angezeigt, dass keine Änderungen geplant sind. Gibt es das File nicht, wird nichts angezeigt

CommitMessage

  • Wenn im Footer title: enthalten ist, dann wird dieser genutzt
  • Wenn im Footer description: enthalten ist, dann wird dieser genutzt
  • Wenn im Footer visibility:/v: enthalten ist, dann wird dieser genutzt, sonst wird der Default aus dem ConfigFile genutzt

统计信息

  • 总下载量: 3.65k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-18