Skip to content

Prefix the package branches with their package number - #18

Merged
oblomov-dev merged 2 commits into
mainfrom
claude/stack-branch-naming-i5t0r3
Aug 13, 2026
Merged

Prefix the package branches with their package number#18
oblomov-dev merged 2 commits into
mainfrom
claude/stack-branch-naming-i5t0r3

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

The per-package branches carried the topic alone, so the abapGit branch dropdown listed them alphabetically — amc-apc, business-events, launchpad, … — which has nothing to do with the reading order the packages have in the README. Every branch now carries its package number, so the dropdown sorts the same way the package table does.

old new
odata 01-odata
smart-controls 02-smart-controls
rap 03-rap
rap-draft 04-rap-draft
business-events 05-business-events
stateful-locks 06-stateful-locks
amc-apc 07-amc-apc
mime 08-mime
launchpad 09-launchpad

What changed

  • .github/packages.json — the source create-package-branches builds the branches from
  • README.md — the branch table, plus one sentence saying what the number means
  • src/01src/09/README.md — the Branch: line of each package

Two leftovers from the samples-ext rename

Both sit in the path this change takes, and the first one would have made it a no-op:

  • create-package-branches.yaml — the push step was gated on github.repository == 'abap2UI5/samples-ext', so it never pushed a branch in samples-stack. The nine branches currently on GitHub are therefore stands from before the rename, and the numbered ones would never have been created.
  • build-package-branch.mjs, src/package.devc.xml, z2ui5_cl_smpe_app_00 — the generated branch READMEs linked back to the old repository, and the package description, the class description and the shell title of the overview app still read samples-ext on an installed system. Text only, no ABAP logic touched.

Checks

check-overview.mjs passes, and build-package-branch.mjs 03-rap was run against a copy of the tree — it builds the reduced tree correctly and rejects the old names. abaplint could not run in this environment (npm registry unreachable) and runs in CI.

After the merge

The nine old, unnumbered branches stay behind — create-package-branches only creates the new ones, it does not delete what it no longer knows about. They should be deleted, otherwise the abapGit dropdown shows 18 entries, half of them stale.


Generated by Claude Code

claude added 2 commits August 13, 2026 07:05
The per-package branches carried the topic alone (odata, rap, mime), so
the abapGit branch dropdown listed them alphabetically - unrelated to the
reading order the packages have in the README. Every branch now carries
its package number (01-odata, 02-smart-controls, ...), so the dropdown
sorts the same way the package table does.

Also fixes two leftovers from the samples-ext rename that this touches:
the push step of create-package-branches was gated on the old repository
name, so it never pushed a branch in samples-stack, and the generated
branch READMEs linked back to the old repository.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ACqzsYFC5dRLvi1eMnnbtZ
The repository description, the overview class description and the shell
title of the overview app still carried the old repository name, so an
installed system showed samples-ext while every link pointed at
samples-stack. Text only - no ABAP logic is touched.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ACqzsYFC5dRLvi1eMnnbtZ
Copilot AI lite review requested due to automatic review settings August 13, 2026 07:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@oblomov-dev
oblomov-dev merged commit ede8e71 into main Aug 13, 2026
15 checks passed
@oblomov-dev
oblomov-dev deleted the claude/stack-branch-naming-i5t0r3 branch August 13, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants