Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR standardizes file and import naming to kebab-case across the codebase.
- Renamed numerous module filenames and updated all corresponding import paths to kebab-case
- Updated tests and snapshots to reflect renamed files and new snapshot header URL
- Ensured public APIs (
entrypoint.api.ts,backport-run.ts, CLI files) follow the same convention
Reviewed Changes
Copilot reviewed 136 out of 136 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib/get-commits.ts | Updated imports to match get-commits.ts and related modules |
| src/lib/cherrypickAndCreateTargetPullRequest/wait-for-cherrypick.ts | Renamed commitFormatters import and helper filename |
| src/lib/cherrypickAndCreateTargetPullRequest/get-target-prlabels.ts | Renamed filterEmpty and branch helper imports |
| src/lib/cherrypickAndCreateTargetPullRequest/get-target-prlabels.test.ts | Updated test import to get-target-prlabels |
| src/lib/cherrypickAndCreateTargetPullRequest/get-merge-commit.ts | Renamed fetchCommitBySha import path |
| src/lib/cherrypickAndCreateTargetPullRequest/get-commits-without-backports.ts | Renamed commitFormatters and author fetch imports |
| src/lib/cherrypickAndCreateTargetPullRequest/get-commits-without-backports.test.ts | Updated test imports for author fetch and pull-request states |
| src/lib/cherrypickAndCreateTargetPullRequest/get-backport-branch-name.ts | Renamed commitFormatters import |
| src/lib/cherrypickAndCreateTargetPullRequest/get-backport-branch-name.test.ts | Updated test import to get-backport-branch-name |
| src/lib/cherrypickAndCreateTargetPullRequest/copy-source-pull-request-reviewers-to-target-pull-request.ts | Renamed utility and GitHub v3 helper imports |
| src/lib/cherrypickAndCreateTargetPullRequest/copy-source-pull-request-labels.ts | Renamed GitHub v3 helper imports |
| src/lib/cherrypickAndCreateTargetPullRequest/cherrypick-and-create-target-pull-request.ts | Updated all imports to kebab-case filenames |
| src/lib/cherrypickAndCreateTargetPullRequest/cherrypick-and-create-target-pull-request.test.ts | Updated test imports to kebab-case paths |
| src/lib/cherrypickAndCreateTargetPullRequest/auto-merge-now-or-later.ts | Renamed GitHub v3/v4 helper imports |
| src/lib/cherrypickAndCreateTargetPullRequest/snapshots/cherrypick-and-create-target-pull-request.test.ts.snap | Updated Jest snapshot header URL |
| src/lib/backport-error.ts | Renamed import path for parsing commits |
| src/entrypoint.module.private.test.ts | Renamed private API imports and token helper |
| src/entrypoint.cli.ts | Updated CLI imports to kebab-case |
| src/entrypoint.api.ts | Standardized public API imports and exports |
| src/backport-run.ts | Renamed core runner imports and helpers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR standardizes file and import naming to kebab-case across the codebase.
entrypoint.api.ts,backport-run.ts, CLI files) follow the same convention