Skip to content

Meta: Validate feature renames - #7655

Merged
fregante merged 2 commits into
mainfrom
validate-renames
Aug 7, 2024
Merged

fregante merged 2 commits into
mainfrom
validate-renames

Conversation

@fregante

@fregante fregante commented Aug 3, 2024

Copy link
Copy Markdown
Member

It indeed caught a few issues 😇

@fregante fregante added the meta Related to Refined GitHub itself label Aug 3, 2024

test('Old feature names cannot appear anywhere in the repo', () => {
for (const oldName of oldNames) {
const grep = `rg -l "[^-]${oldName}[^-]" -g !feature-renames.json -g !package-lock.json`;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It requires ripgrep to be installed. 🤷‍♂️

Not required for building the extension, so not a problem. But actually the test passes anyway when it's missing 😅

Comment thread source/options-storage.ts
['set-default-repositories-type-to-sources', 'hide-user-forks'],
['highlight-deleted-and-added-files-in-diffs', 'new-or-deleted-file'],
['enable-file-links-in-compare-view', 'actionable-pr-view-file'],
['use-first-commit-message-for-new-prs', 'pr-first-commit-title`'],

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Mistake!! There's an extra ` at the end

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

Labels

meta Related to Refined GitHub itself

Development

Successfully merging this pull request may close these issues.

1 participant