Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make config table optional #169

Merged
merged 2 commits into from
Oct 4, 2024
Merged

Make config table optional #169

merged 2 commits into from
Oct 4, 2024

Conversation

albertkol
Copy link
Contributor

@albertkol albertkol commented Oct 3, 2024

Change description

Allow for the Table config print to be optional.

Default behaviour prints the table, as before.
Set FSD_UTILS_ENABLE_CONFIG_TABLE to "false". To turn it off.

How to test

Not very easy..

  • Set FSD_UTILS_ENABLE_CONFIG_TABLE=false in the docker runner
  • Install this branch version of utils by updating the requirements.txt with
funding-service-design-utils @ git+https://github.com/communitiesuk/funding-service-design-utils@327697124975ac550874448512c1b4a88501b31f
  • The service that uses this version of utils will not print a table

Or...

Take my word for it. 👍

@albertkol albertkol force-pushed the make-config-table-optional branch 2 times, most recently from 3afbddc to d9fe8f5 Compare October 3, 2024 22:14
@albertkol albertkol force-pushed the make-config-table-optional branch from 1241dee to 03d9626 Compare October 3, 2024 22:18
samuelhwilliams
samuelhwilliams previously approved these changes Oct 3, 2024
Copy link
Contributor

@samuelhwilliams samuelhwilliams left a comment

Choose a reason for hiding this comment

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

Technically would prefer this as a 'new feature' than a 'bug fix' version bump but it's all much of a muchness.

Also would prefer some namespace prefix like FS_UTILS_ but again, doesn't matter much.

Copy link
Contributor

@nuwan-samarasinghe nuwan-samarasinghe left a comment

Choose a reason for hiding this comment

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

LGTM

CHANGELOG.md Outdated Show resolved Hide resolved
@albertkol albertkol merged commit 1cdd426 into main Oct 4, 2024
8 checks passed
@albertkol albertkol deleted the make-config-table-optional branch October 4, 2024 15:48
samuelhwilliams added a commit to communitiesuk/funding-service-design-notification that referenced this pull request Dec 24, 2024
This is to pull in the ability to disable the config table from
communitiesuk/funding-service-design-utils#169.

v6 added a breaking change, but it was reverted in 6.0.1 so nothing to
do.
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