Skip to content

Add diff to make update-whitelist#1464

Merged
Brian Strauch (brianstrauch) merged 2 commits intomainfrom
whitelist-diff
Oct 12, 2022
Merged

Add diff to make update-whitelist#1464
Brian Strauch (brianstrauch) merged 2 commits intomainfrom
whitelist-diff

Conversation

@brianstrauch

Checklist

  1. [CRUCIAL] Is the change for CP or CCloud functionalities that are already live in prod?
    • yes: ok

What

  • It's nearly impossible to verify what changes have been made to the whitelist during each release. This PR diffs the last two DB migration files and adds it to the description.
  • Added make db-local-reset based on our Slack conversation

Test & Review

Example: https://github.com/confluentinc/cc-cli-service/pull/105

@brianstrauch Brian Strauch (brianstrauch) requested a review from a team as a code owner October 12, 2022 01:10
Copy link
Member

Choose a reason for hiding this comment

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

This should be a nice quality of life increase for record keeping and debugging.:+1:

cd db/migrations/ && \
a=$$(ls | grep up | tail -n 2 | head -n 1) && \
b=$$(ls | grep up | tail -n 1) && \
sed -i "" "s/v[0-9]*\.[0-9]*\.[0-9]*/$(BUMPED_VERSION)/" $$a && \

Choose a reason for hiding this comment

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

Is this line to prevent the version difference from showing up in the diff? Not quite sure what this one is doing.

Choose a reason for hiding this comment

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

Yep, exactly. Without it, every line would differ.

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.

2 participants