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

Infrastructure: mock utf8 for changelog script (fix PTBs) #5821

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

vadi2
Copy link
Member

@vadi2 vadi2 commented Jan 7, 2022

Brief overview of PR changes/additions

The changelog generation script broke as soon as was utf8.patternEscape was merged because it loads StringUtils.lua separately without dragging in LuaGlobal.lua and all of the dependencies that would drag in.

Motivation for adding to Mudlet

Fix PTBs deployment, which rely on Windows builds to be done first. No Windows builds = no other builds either. This shouldn't be so fragile, but it's the best we've got because of how github actions work.

@vadi2 vadi2 requested a review from a team as a code owner January 7, 2022 11:07
@add-deployment-links
Copy link

add-deployment-links bot commented Jan 7, 2022

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2022

Messages
✔️

PR type: Infrastructure

Generated by 🚫 dangerJS against f8eaacc

Copy link
Member

@demonnic demonnic left a comment

Choose a reason for hiding this comment

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

This seems fine to me, but should we consider moving the new function I broke things with to a new file for utf8 stuff, or mock it in the StringUtils.lua file instead?

Any of the solutions seem alright, but those two options leave StringUtils.lua functionally viable on its own

@vadi2 vadi2 merged commit 8c2b08f into development Jan 7, 2022
@vadi2 vadi2 deleted the fix-ptb-deployment branch January 7, 2022 14:36
vadi2 added a commit that referenced this pull request Jan 7, 2022
#### Brief overview of PR changes/additions
Document places StringUtils.lua is used in
#### Motivation for adding to Mudlet
To reduce the likelihood of breaking `generate-ptb-changelog.lua` again.
#### Other info (issues closed, discussion etc)
#5821

Co-authored-by: Damian Monogue <3660+demonnic@users.noreply.github.com>
@vadi2 vadi2 added this to the 4.15.0 milestone Jan 11, 2022
vadi2 added a commit to SlySven/Mudlet that referenced this pull request Jan 17, 2022
vadi2 added a commit to SlySven/Mudlet that referenced this pull request Jan 17, 2022
#### Brief overview of PR changes/additions
Document places StringUtils.lua is used in
#### Motivation for adding to Mudlet
To reduce the likelihood of breaking `generate-ptb-changelog.lua` again.
#### Other info (issues closed, discussion etc)
Mudlet#5821

Co-authored-by: Damian Monogue <3660+demonnic@users.noreply.github.com>
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

2 participants