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

WebHost: offer combined yaml file on /check if successful #2337

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

Berserker66
Copy link
Member

What is this fixing or adding?

adds a combined yaml file as download to a succesful /check run with multiple files
bonus inclusions:
fixes many guides hitting a redirect
fixes import * in check.py

How was this tested?

on Vivaldi

If this makes graphical changes, please attach screenshots.

image
image
image

@@ -30,7 +31,15 @@ def check():
flash(options)
else:
results, _ = roll_options(options)
return render_template("checkResult.html", results=results)
if len(options) > 1:
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't this be len(files) to not offer download for a single yaml file with --- already in it?

Copy link
Member Author

Choose a reason for hiding this comment

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

I tried uploading a combined yaml and it doesn't offer a download. options is file -> file content and is not yet yaml parsed.

Copy link
Member

Choose a reason for hiding this comment

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

oh, i see. options is actually individual files, not individual options. somehow i didn't expect that

@ScootyPuffJr1 ScootyPuffJr1 added is: enhancement Issues requesting new features or pull requests implementing new features. affects: webhost Issues/PRs that touch webhost and may need additional validation. labels Oct 21, 2023
@Berserker66 Berserker66 merged commit ee31051 into main Oct 22, 2023
21 checks passed
@Berserker66 Berserker66 deleted the webhost_check_combined branch October 22, 2023 00:02
FlySniper pushed a commit to FlySniper/Archipelago that referenced this pull request Nov 14, 2023
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: webhost Issues/PRs that touch webhost and may need additional validation. is: enhancement Issues requesting new features or pull requests implementing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants