Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
delivery
delivery
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 355
    • Issues 355
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • GitLab.com
  • GitLab Infrastructure Team
  • deliverydelivery
  • Issues
  • #1371

Closed
Open
Opened Nov 24, 2020 by Yorick Peterse@yorickpeterseMaintainer

Create class for turning commit messages into changelog section entries

For &351 we need a class that takes a list of commits as input, and generates changelog section entries as output. The output should be some sort of list of objects that we can use to update the parsed changelog (#1369).

Each changelog entry is a summary (the commit title), with associated data such as the commit author, the merge request, etc.

The output is an object with two fields:

  • categorized: a Hash in the form { category => [entry, ...] }
  • uncategorized: an Array in the form [entry, ...]

If a commit belongs to a section category (based on the output of #1364 (closed)), it is assigned to the categorized field. If no category is present, it goes in uncategorized.

This output can then be used to update the changelog using #1370.

Edited Nov 24, 2020 by Yorick Peterse
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-com/gl-infra/delivery#1371