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

Add case insensitive matching for unit names + Mac packaging fixes #726

Merged
merged 4 commits into from
Mar 19, 2023

Conversation

matty0ung
Copy link
Contributor

@matty0ung matty0ung commented Mar 6, 2023

This is for #725

Also a bit more work on the Mac build/packaging trying to fix this library-not-found-even-though-it's-there issue. (Including realised the final step of the Mac packaging was creating an empty .dmg file, which this fixes.)

Also tidied up a few comments.

(I meant this to be two separate PRs, but did things in the wrong order on github.)

NB: I think the changes I've done on looking up unit names slightly change the behaviour when you enter an ambiguous unit name. Eg, if you type '5 gal', there is sometimes no way for us to know whether you mean US gallons or Imperial gallons - eg because you are using the free-standing conversion tool or you have configured a field's default units to be metric. At the moment, if there are no other clues to follow, you get whichever type of gallon the program happens to find first, which might be different than in previous versions of the software. I don't use gallons (of either sort) myself, so, if anyone who does wants to tell me how the behaviour should be different, then I would be very happy to hear it.

@matty0ung matty0ung changed the title Mac packaging fixes Add case insensitive matching for unit names + Mac packaging fixes Mar 8, 2023
@matty0ung matty0ung merged commit ef14cdc into Brewtarget:develop Mar 19, 2023
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.

None yet

1 participant