-
Notifications
You must be signed in to change notification settings - Fork 79
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
Remove Flask-Sitemap
package
#1139
Conversation
@@ -44,7 +41,6 @@ | |||
ENCODING_UTF_8 = "utf-8" | |||
FILE_TYPE_HTML = "html" | |||
FILE_TYPE_PLAIN = "plain" | |||
SAVED_UMASK = os.umask(0o077) # Ensure the file is read/write by the creator only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This constant is unused.
@@ -124,23 +123,6 @@ | |||
) | |||
|
|||
|
|||
# Ensure the file is read/write by the creator only | |||
SAVED_UMASK = os.umask(0o077) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This constant is unused.
Flask-Sitemap
package
Sitemap is failing due to the large amount of data we have. It's good to keep it, but we may need to adjust how it's used to actually make it work. Thanks for the extra info, @sea-kelp! |
Description of Changes
AFAIK, we do not seem to be using Sitemap within the application to any meaningful extent. There is no mention of it in the documentation, and it seems to only be loosely used throughout the application. If we are looking to flesh out the API further, I think it's worth removing it and potentially adding it back in a more explicit manner so that it doesn't seem like it's just legacy code.
Documentation: link.
Screenshots (if appropriate)
Tests and Linting
develop
branch.pytest
passes on my local development environment.pre-commit
passes on my local development environment.