Skip to content

Add changelog bundle option for --files#3664

Open
lcawl wants to merge 2 commits into
mainfrom
bundle-file-option
Open

Add changelog bundle option for --files#3664
lcawl wants to merge 2 commits into
mainfrom
bundle-file-option

Conversation

@lcawl

@lcawl lcawl commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a path-list source of truth for changelog bundle / changelog remove (option-mode --files and profile-mode newline-delimited path list), with implicit local sourcing for that filter.

Also adds a profile-friendly --force-local override so ad hoc bundles do not require changelog.yml edits.

Background

We've recently had multiple ad hoc updates to the release notes that (1) were not tied to product releases and (2) did not always have a relevant / useful PR or issue associated with them. Since prs and issues are optional fields in changelogs, this made me realize that we were missing a way to bundle that type of changelog.

Implementation details

Code

  • --files filter on changelog bundle / changelog remove (comma-separated paths, repeated flags, or newline-delimited path list)
  • Profile path lists — same positional slot as PR/issue URL lists; content auto-detected (.yaml/.yml paths vs GitHub URLs)
  • --force-local on bundle (allowed in profile mode) to skip CDN without editing changelog.yml
  • Path-list / --files always forces local entry sourcing
  • rules.bundle still applies after file selection

Tests

Docs

  • Updated cmd-bundle.md, cmd-remove.md, bundle-changelogs.md, configure-changelogs-ref.md

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No
  1. If you answered "Yes" to the previous question, please specify the tool(s) and model(s) used (e.g., Google Gemini, OpenAI ChatGPT-4, etc.).

Tool(s) and model(s) used: Cursor Grok 4.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants