Skip to content

Test exact commands workflow#4

Closed
k-wall wants to merge 4 commits into
mainfrom
test-exact-commands
Closed

Test exact commands workflow#4
k-wall wants to merge 4 commits into
mainfrom
test-exact-commands

Conversation

@k-wall

@k-wall k-wall commented Apr 28, 2026

Copy link
Copy Markdown
Owner

Test PR to validate the workflow provides exact, copy-pasteable commands.

This proposal has:

  • Filename: xxx-test-exact-commands.md (should be renamed to match PR number)
  • Title: # xxx - Test Exact Commands (should be updated with PR number)

Expected: workflow should provide exact git mv and sed commands that can be copy/pasted.

k-wall added 4 commits April 28, 2026 10:09
This change simplifies the proposal numbering system by using PR numbers
as proposal identifiers, eliminating number collisions and removing the
need for a separate allocation process.

Changes:
- Simplified proposals/README.md to focus on author workflow
  - Removed index tables (directory listing serves as the index)
  - Streamlined instructions for creating and renaming proposals
- Updated proposal template with workflow instructions
  - Require PR number in title format: # <PR#> - <Title>
  - Moved workflow instructions into comment block
- Added GitHub workflow to automatically check proposal numbering
  - Validates both filename and title format
  - Updates PR description when proposal files don't match PR number
  - Provides exact commands to fix naming issues
  - Removes warning once corrected
  - Handles both added and renamed files
  - Runs on all PRs (ready for mandatory status check)
- Added notification script for existing open PRs
  - After merge, run notify-open-prs.sh to ask authors to rebase
  - Workflow will automatically guide them through renaming
  - Updated with all current open proposal PRs (kroxylicious#70, kroxylicious#82, kroxylicious#83, kroxylicious#85,
    kroxylicious#88, kroxylicious#93, kroxylicious#94, kroxylicious#96, kroxylicious#98, kroxylicious#99, kroxylicious#100, kroxylicious#101, kroxylicious#103)

Proposals 001-019 retain their original numbers.

Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Signed-off-by: Keith Wall <kwall@apache.org>
Update the workflow to generate specific fix commands for each proposal:
- Exact git mv command with actual current and expected filenames
- Smart sed command that preserves title text while fixing the number
- Include git commit and git push for complete fix workflow

The sed command handles titles with or without existing number prefixes
(e.g., '# 000 - Title', '# xxx - Title', or '# Title') and automatically
adds the correct PR number while preserving the title text.

Users can now copy/paste the entire command block directly into their
terminal without manual editing.

Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Keith Wall <kwall@apache.org>
Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Keith Wall <kwall@apache.org>
Used the exact commands from the workflow warning.

Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Keith Wall <kwall@apache.org>
@k-wall

k-wall commented Apr 28, 2026

Copy link
Copy Markdown
Owner Author

✅ Test successful!

The workflow now provides exact, copy-pasteable commands:

  • git mv with actual filenames
  • sed command that preserves title text
  • git commit and git push commands

All commands worked correctly and the warning was automatically removed after fixes were applied.

@k-wall k-wall closed this Apr 28, 2026
@k-wall k-wall deleted the test-exact-commands branch April 28, 2026 09:50
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.

1 participant