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

Fix: MFE_HOST check with the new CONFIG_LOADED action #150

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

CodeWithEmad
Copy link
Member

@CodeWithEmad CodeWithEmad commented Oct 1, 2023

As a part of overhangio/tutor#557, we should warn the users if they're not following the apps.LMS_HOST pattern for the MFE_HOST.
This will introduce a new check to see if the MFE_HOST is a subdomain of LMS_HOST or not using the new CONFIG_LOADED action .

@CodeWithEmad CodeWithEmad marked this pull request as draft October 1, 2023 07:04
setup.py Show resolved Hide resolved
This will make sure that MFE_HOST is a subdomain of LMS_HOST, and if not, it will print a warning to notify the user.
since the CONFIG_LOADED action was introduced in the 16.1.2, this version should not be installed in the older versions.
@CodeWithEmad CodeWithEmad marked this pull request as ready for review October 2, 2023 07:31
@regisb regisb assigned CodeWithEmad and arbrandes and unassigned CodeWithEmad Oct 2, 2023
Copy link
Contributor

@regisb regisb left a comment

Choose a reason for hiding this comment

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

LGTM! Can you please just add a changelog entry with scriv create?

@regisb regisb requested a review from arbrandes October 2, 2023 12:36
@CodeWithEmad
Copy link
Member Author

LGTM! Can you please just add a changelog entry with scriv create?

Done.

Copy link
Contributor

@regisb regisb left a comment

Choose a reason for hiding this comment

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

lgtm!

Copy link
Collaborator

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

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

No objections, thanks!

@arbrandes arbrandes merged commit b55bdc0 into overhangio:master Oct 6, 2023
@CodeWithEmad CodeWithEmad deleted the fix/config-loaded-action branch October 6, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants