Skip to content

Allow components to be associated with projects #837

@thompson-tomo

Description

@thompson-tomo

Is your feature request related to a problem? Please describe.
In OpenTelemetry we use a mono-repo approach for our repos with shared common code/functionality. In the case of the collector we selectively choose components which are bundled into a single release binary and components can be in multiple release bundles. We are wanting to be able to have a changelog for each release binary which is scoped to only the components used.

Describe the solution you'd like
The ability to when defining a project in config to also specify the available components to be included. These project components are a subset of the global components.

When a user is creating a changelog, they

  • select the project or leave it empty
  • select the component which is either the global list if no project was specified or project has no components. Otherwise user selects from project components. If left empty use project name.
  • completes creation of unreleased changelog

The project batch process looks for unreleased changelog where the project matches or project is empty and component matches.

It should not be supported to batch a single project if it contains components.

Describe alternatives you've considered
Making projects an array on the unreleased changelog file but breaking change and very verbose solution.

Additional context
N/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions